Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 1 Chapter Hypothesis Testing with Two Samples 8.

Similar presentations


Presentation on theme: "Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 1 Chapter Hypothesis Testing with Two Samples 8."— Presentation transcript:

1 Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 1 Chapter Hypothesis Testing with Two Samples 8

2 Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 2 Chapter Outline 8.1 Testing the Difference Between Means (Independent Samples,  1 and  2 Known) 8.2 Testing the Difference Between Means (Independent Samples,  1 and  2 Unknown) 8.3 Testing the Difference Between Means (Dependent Samples) 8.4 Testing the Difference Between Proportions.

3 Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 3 Section 8.4 Testing the Difference Between Proportions.

4 Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 4 Section 8.4 Objectives How to perform a two-sample z-test for the difference between two population proportions p 1 and p 2.

5 Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 5 Two-Sample z-Test for Proportions Used to test the difference between two population proportions, p 1 and p 2. Three conditions are required to conduct the test. 1.The samples must be randomly selected. 2.The samples must be independent. 3.The samples must be large enough to use a normal sampling distribution. That is, n 1 p 1  5, n 1 q 1  5, n 2 p 2  5, and n 2 q 2  5..

6 Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 6 Two-Sample z-Test for the Difference Between Proportions If these conditions are met, then the sampling distribution for is a normal distribution Mean: A weighted estimate of p 1 and p 2 can be found by using Standard error:.

7 Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 7 Two-Sample z-Test for the Difference Between Proportions The test statistic is The standardized test statistic is where.

8 Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 8 Two-Sample z-Test for the Difference Between Proportions 1.Verify that the samples are random and independent.. 2.Find the weighted estimate of p 1 and p 2. Verify that are at least 5. 3.State the claim. Identify the null and alternative hypotheses. 4.Specify the level of significance. State H 0 and H a. Identify . In WordsIn Symbols.

9 Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 9 Two-Sample z-Test for the Difference Between Proportions 5.Determine the critical value(s). 6.Determine the rejection region(s). 7.Find the standardized test statistic and sketch the sampling distribution. Identify . Use Table 4 in Appendix B. In WordsIn Symbols.

10 Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 10 Two-Sample z-Test for the Difference Between Proportions 8.Make a decision to reject or fail to reject the null hypothesis. 9.Interpret the decision in the context of the original claim. If z is in the rejection region, reject H 0. Otherwise, fail to reject H 0. In WordsIn Symbols.

11 Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 11 Example: Two - Sample z - Test for the Difference Between Proportions In a study of 150 randomly selected occupants in passenger cars and 200 randomly selected occupants in pickup trucks, 86% of occupants in passenger cars and 74% of occupants in pickup trucks wear seat belts. At α = 0.10 can you reject the claim that the proportion of occupants who wear seat belts is the same for passenger cars and pickup trucks? (Adapted from National Highway Traffic Safety Administration) Solution: 1 = Passenger cars2 = Pickup trucks.

12 Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 12 Solution: Two - Sample z - Test for the Difference Between Means H 0 : H a :   n 1 =, n 2 = Rejection Region: Test Statistic: 0.10 150 200 p 1 = p 2 p 1 ≠ p 2 Decision:.

13 Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 13 Solution: Two - Sample z - Test for the Difference Between Means.

14 Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 14 Solution: Two - Sample z - Test for the Difference Between Means.

15 Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 15 Solution: Two - Sample z - Test for the Difference Between Means H 0 : H a :   n 1 =, n 2 = Rejection Region: Test Statistic: 0.10 150 200 p 1 = p 2 p 1 ≠ p 2 Decision: At the 10% level of significance, there is enough evidence to reject the claim that the proportion of occupants who wear seat belts is the same for passenger cars and pickup trucks. Reject H 0.

16 Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 16 Example: Two - Sample z - Test for the Difference Between Proportions A medical research team conducted a study to test the effect of a cholesterol reducing medication. At the end of the study, the researchers found that of the 4700 randomly selected subjects who took the medication, 301 died of heart disease. Of the 4300 randomly selected subjects who took a placebo, 357 died of heart disease. At α = 0.01 can you conclude that the death rate due to heart disease is lower for those who took the medication than for those who took the placebo? (Adapted from New England Journal of Medicine) Solution: 1 = Medication2 = Placebo.

17 Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 17 z 0-2.33 0.01 Solution: Two - Sample z - Test for the Difference Between Means H 0 : H a :   n 1 =, n 2 = Rejection Region: Test Statistic: 0.01 4700 4300 p 1 ≥ p 2 p 1 < p 2 Decision:.

18 Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 18 Solution: Two - Sample z - Test for the Difference Between Means.

19 Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 19 Solution: Two - Sample z - Test for the Difference Between Means.

20 Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 20 z 0-2.33 0.01 Solution: Two - Sample z - Test for the Difference Between Means H 0 : H a :   n 1 =, n 2 = Rejection Region: Test Statistic: 0.01 4700 4300 p 1 ≥ p 2 p 1 < p 2 -2.33 -3.46 Decision: At the 1% level of significance, there is enough evidence to conclude that the death rate due to heart disease is lower for those who took the medication than for those who took the placebo. Reject H 0.

21 Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 21 Section 8.4 Summary Performed a two-sample z-test for the difference between two population proportions p 1 and p 2.


Download ppt "Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 1 Chapter Hypothesis Testing with Two Samples 8."

Similar presentations


Ads by Google