Ch06 Hypothesis Testing.

Slides:



Advertisements
Similar presentations
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Advertisements

Chapter 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
1 1 Slide © 2009 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
1 1 Slide MA4704Gerry Golding Developing Null and Alternative Hypotheses Hypothesis testing can be used to determine whether Hypothesis testing can be.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
1 1 Slide Hypothesis Testing Chapter 9 BA Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population.
1/55 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 10 Hypothesis Testing.
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 9-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Chapter 8 Introduction to Hypothesis Testing
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 8 Introduction to Hypothesis Testing.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Basic Business Statistics.
1 1 Slide © 2006 Thomson/South-Western Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Chapter 9 Hypothesis Testing.
Chapter 8 Introduction to Hypothesis Testing
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 TUTORIAL 6 Chapter 10 Hypothesis Testing.
Statistics for Managers Using Microsoft® Excel 5th Edition
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 9 Hypothesis Testing.
Chapter 10 Hypothesis Testing
Confidence Intervals and Hypothesis Testing - II
CHAPTER 2 Statistical Inference 2.1 Estimation  Confidence Interval Estimation for Mean and Proportion  Determining Sample Size 2.2 Hypothesis Testing:
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Business Statistics,
1 1 Slide © 2005 Thomson/South-Western Chapter 9, Part A Hypothesis Tests Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses.
Fundamentals of Hypothesis Testing: One-Sample Tests
Section 9.1 Introduction to Statistical Tests 9.1 / 1 Hypothesis testing is used to make decisions concerning the value of a parameter.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson Introduction to Hypothesis Testing.
Chapter 9 Hypothesis Testing: Single Population
1 Power and Sample Size in Testing One Mean. 2 Type I & Type II Error Type I Error: reject the null hypothesis when it is true. The probability of a Type.
Chapter 10 Hypothesis Testing
1 Introduction to Hypothesis Testing. 2 What is a Hypothesis? A hypothesis is a claim A hypothesis is a claim (assumption) about a population parameter:
Lecture 7 Introduction to Hypothesis Testing. Lecture Goals After completing this lecture, you should be able to: Formulate null and alternative hypotheses.
STA Statistical Inference
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
Hypothesis and Test Procedures A statistical test of hypothesis consist of : 1. The Null hypothesis, 2. The Alternative hypothesis, 3. The test statistic.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
Chap 8-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 8 Introduction to Hypothesis.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
Chapter 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
Example The strength of concrete depends, to some extent on the method used for drying it. Two different drying methods were tested independently on specimens.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
+ Homework 9.1:1-8, 21 & 22 Reading Guide 9.2 Section 9.1 Significance Tests: The Basics.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Chapter Nine Hypothesis Testing.
Chapter 9 -Hypothesis Testing
Slides by JOHN LOUCKS St. Edward’s University.
Statistics for Managers Using Microsoft® Excel 5th Edition
Chapter 7 Hypothesis Testing with One Sample.
Testing the Difference Between Means (Large Independent Samples)
Chapter 7 Hypothesis Testing with One Sample.
Chapters 20, 21 Hypothesis Testing-- Determining if a Result is Different from Expected.
Statistics for Business and Economics (13e)
Introduction to Inference
Hypothesis Tests for a Population Mean in Practice
Chapter 9 Hypothesis Testing.
Hypothesis Testing – Introduction
Chapter 9 Hypothesis Testing.
Introduction to Inference
Elementary Statistics: Picturing The World
LESSON 20: HYPOTHESIS TESTING
HYPOTHESIS TESTS ABOUT THE MEAN AND PROPORTION
CHAPTER EIGHT TESTS OF HYPOTHESES
EQT 272 PROBABILITY AND STATISTICS ROHANA BINTI ABDUL HAMID
Chapter 9 Hypothesis Testing: Single Population
Presentation transcript:

Ch06 Hypothesis Testing

CHAPTER CONTENTS CHAPTER CONTENTS 6.1 Introduction ................................................................................................... 312 6.2 The Neyman-Pearson Lemma ....................................................................... 323 6.3 Likelihood Ratio Tests .................................................................................... 328 6.4 Hypotheses for a Single Parameter ............................................................... 333 6.5 Testing of Hypotheses for Two Samples ........................................................ 345 6.6 Chapter Summary ......................................................................................... 359 6.7 Computer Examples ...................................................................................... 360 Projects for Chapter 6 ......................................................................................... 368

6.1 Introduction

THE ELEMENTS OF A STATISTICAL HYPOTHESIS 1. The null hypothesis, denoted by H0, is usually the nullification of a claim. Unless evidence from the data indicates otherwise, the null hypothesis is assumed to be true. 2. The alternate hypothesis, denoted by Ha (or sometimes denoted by H1), is customarily the claim itself. (alternate or alternative) 3. The test statistic, denoted by TS, is a function of the sample measurements upon which the statistical decision, to reject or not reject the null hypothesis, will be based. 4. A rejection region (or a critical region) is the region (denoted by RR) that specifies the values of the observed test statistic for which the null hypothesis will be rejected. This is the range of values of the test statistic that corresponds to the rejection of H0 at some fixed level of significance, a, which will be explained later. 5. Conclusion: If the value of the observed test statistic falls in the rejection region, the null hypothesis is rejected and we will conclude that there is enough evidence to decide that the alternative hypothesis is true. If the TS do not fall in the rejection region, we conclude that we cannot reject the null hypothesis.

GENERAL METHOD FOR HYPOTHESIS TESTING 1. From the (word) problem, determine the appropriate null hypothesis, H0, and the alternative, Ha. 2. Identify the appropriate test statistics and calculate the observed test statistic from the data. 3. Find the rejection region by looking up the critical value in the appropriate table. 4. Draw the conclusion: Reject or fail to reject the null hypothesis, H0. 5. Interpret the results: State in words what the conclusion means to the problem we started with.

One-tailed and two-tailed H0 Ha  = 0  ≠ 0 Two-tailed (Two-sided)  ≥ 0  < 0 One-tailed (One-sided)  ≤ 0  > 0 X_bar α/2 µ0 α/2 X_bar H0: u < a  Wrong Reject H0 Accept H0 X_bar µ0 α X_bar

Definition 6.1.1 A hypothesis is said to be a simple hypothesis if that hypothesis uniquely specifies the distribution from which the sample is taken. Any hypothesis that is not simple is called a composite hypothesis.

Type I error = Rejecting a true null hypothesis. Type II error = Accepting a false null hypothesis. Definition 6.1.2 (a) A type I error is made if H0 is rejected when in fact H0 is true. The probability of type I error is denoted by a. That is, P(rejecting H0  H0 is true) = . The probability of type I error, , is called the level of significance. (b) A type II error is made if H0 is accepted when in fact Ha is true. The probability of a type II error is denoted by . That is, P(not rejecting H0H0 is false) = . It is desirable that a test should have a?b?0 (this can be achieved only in trivial cases), or at least we prefer to use a test that minimizes both types of errors.

Power of test power significance level

6.2 The Neyman-Pearson Lemma

6.3 Likelihood Ratio Tests

6.4 Hypotheses for a Single Parameter

6.4.1 THE p-VALUE Definition 6.4.1 Corresponding to an observed value of a test statistic, the p-value (or attained significance level) is the lowest level of significance at which the null hypothesis would have been rejected.

The p-value can be thought of as a measure of support for the null hypothesis: The lower its value, the lower the support. Typically one decides that the support for H0 is insufficient when the p-value drops below a particular threshold, which is the significance level of the test.

p  [0, 1]. 1  (p-value) : an index of the strength of the evidence against the null hypothesis provided by the data. 1  (p-value) provides a sense of the strength of the evidence against the null hypothesis. The higher the 1  (p-value), the stronger the evidence. If the p-value is 0.02, the value of index is 0.98, supporting the rejection of the null hypothesis. Thus, in any test, reporting the p-value of the test is a good practice.

EXAMPLE 6.4.2 The management of a local health club claims that its members lose on the average 15 pounds or more within the first 3 months after joining the club. To check this claim, a consumer agency took a random sample of 45 members of this health club and found that they lost an average of 13.8 pounds within the first 3 months of membership, with a sample standard deviation of 4.2 pounds. (a) Find the p-value for this test. (b) Based on the p-value in (a), would you reject the null hypothesis at  = 0.01?

STEPS IN ANY HYPOTHESIS TESTING PROBLEM 1. State the alternative hypothesis, Ha (what is believed to be true). 2. State the null hypothesis, H0 (what is doubted to be true). 3. Decide on a level of significance α. 4. Choose appropriate TS and compute the observed test statistic. 5. Using the distribution of TS and α, determine the rejection region(s) (RR). 6. Conclusion: If the observed test statistic falls in the RR, reject H0 and conclude that based on the sample information, we are (1  α)100% confident that Ha is true. Otherwise, conclude that there is not sufficient evidence to reject H0. In all the applied problems, interpret the meaning of your decision. 7. State any assumptions you made in testing the given hypothesis. 8. Compute the p-value from the null distribution of the test statistic and interpret it.

6.4.2 HYPOTHESIS TESTING FOR A SINGLE PARAMETER

EXAMPLE 6.4.3 It is claimed that sports-car owners drive on the average 18,000 miles per year. A consumer firm believes that the average mileage is probably lower. To check, the consumer firm obtained information from 40 randomly selected sports-car owners that resulted in a sample mean of 17,463 miles with a sample standard deviation of 1348 miles. What can we conclude about this claim? Use α = 0.01. What is the p-value?

EXAMPLE 6.4.4 In a frequently traveled stretch of the I-75 highway, where the posted speed is 70 mph, it is thought that people travel on the average of at least 70 mph. To check this claim, the following radar measurements of the speeds (in mph) are obtained for 10 vehicles traveling on this stretch of the interstate highway 66 74 79 80 69 77 78 65 79 81 Do the data provide sufficient evidence to indicate that the mean speed at which people travel on this stretch of highway is at least 70 mph (the posted speed limit)? Test the appropriate hypothesis using α = 0.01. Draw a box plot and normal plot for this data, and comment.

EXAMPLE 6.4.5 In attempting to control the strength of the wastes discharged into a nearby river, an industrial firm has taken a number of restorative measures. The firm believes that they have lowered the oxygen consuming power of their wastes from a previous mean of 450 manganate in parts per million. To test this belief, readings are taken on n = 20 successive days. A sample mean of 312.5 and the sample standard deviation 106.23 are obtained. Assume that these 20 values can be treated as a random sample from a normal population. Test the appropriate hypothesis. Use α = 0.05. (manganate: The anionic divalent group MnO4 or a salt containing it.)

EXAMPLE 6.4.6 A machine is considered to be unsatisfactory if it produces more than 8% defectives. It is suspected that the machine is unsatisfactory. A random sample of 120 items produced by the machine contains 14 defectives. Does the sample evidence support the claim that the machine is unsatisfactory? Use α = 0.01.

EXAMPLE 6.4.7 A physician claims that the variance in cholesterol levels of adult men in a certain laboratory is at least 100 mg/dL. A random sample of 25 adult males from this laboratory produced a sample standard deviation of cholesterol levels as 12 mg/dL. Test the physician’s claim at 5% level of significance.

6.5 Testing of Hypotheses for Two Samples You are a statistician working for a pharmerceutical company. Type I error = Rejecting a true null hypothesis. Type II error = Failing to reject a false null hypothesis.

6.5.1 INDEPENDENT SAMPLES 12, 22 N1, n2 12 = 22 ? Known Unknown > 30 < 30 = 

6.5.2 DEPENDENT SAMPLES

6.6 Chapter Summary

6.7 Computer Examples

Projects for Chapter 5