Statistics 8.4 8.4 Testing the Difference Between Proportions Statistics Mrs. Spitz Spring 2009.

Slides:



Advertisements
Similar presentations
Testing the Difference Between Means (Large Independent Samples)
Advertisements

8.3 T- TEST FOR A MEAN. T- TEST The t test is a statistical test for the mean of a population and is used when the population is normally or approximately.
Testing the Difference Between Means (Dependent Samples)
7.4 Hypothesis Testing for Proportions
Two Sample Hypothesis Testing for Proportions
© 2010 Pearson Prentice Hall. All rights reserved Hypothesis Testing Using a Single Sample.
1 Test for the Population Proportion. 2 When we have a qualitative variable in the population we might like to know about the population proportion of.
Testing the Difference Between Means (Small Independent Samples)
Section 7-2 Hypothesis Testing for the Mean (n  30)
7.3 Hypothesis Testing for the Mean (Small Samples) Statistics Mrs. Spitz Spring 2009.
8.2 Testing the Difference Between Means (Small, Independent Samples)
8.1 Testing the Difference Between Means (Large Independent Samples)
7.2 Hypothesis Testing for the Mean (Large Samples Statistics Mrs. Spitz Spring 2009.
Hypothesis Testing with Two Samples
Section 10.1 ~ t Distribution for Inferences about a Mean Introduction to Probability and Statistics Ms. Young.
+ Section 10.1 Comparing Two Proportions After this section, you should be able to… DETERMINE whether the conditions for performing inference are met.
Hypothesis Testing for Proportions 1 Section 7.4.
Section 7.2 Hypothesis Testing for the Mean (Large Samples) Larson/Farber 4th ed.
Hypothesis Testing for Proportions
Hypothesis Testing for the Mean (Large Samples)
Chapter 8 Hypothesis Testing with Two Samples 1. Chapter Outline 8.1 Testing the Difference Between Means (Large Independent Samples) 8.2 Testing the.
Hypothesis Testing for the Mean ( Known)
7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009.
Hypothesis Testing with Two Samples
Chapter Hypothesis Testing with Two Samples 1 of 70 8 © 2012 Pearson Education, Inc. All rights reserved.
STEP BY STEP Critical Value Approach to Hypothesis Testing 1- State H o and H 1 2- Choose level of significance, α Choose the sample size, n 3- Determine.
Comparing Two Variances
Section 9.3 ~ Hypothesis Tests for Population Proportions Introduction to Probability and Statistics Ms. Young.
Section 8.3 Testing the Difference Between Means (Dependent Samples)
SECTION 7.2 Hypothesis Testing for the Mean (Large Samples) 1 Larson/Farber 4th ed.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Section 9-1 Review and Preview.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
1 Math 4030 – 10b Inferences Concerning Proportions.
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 1 Chapter Hypothesis Testing with Two Samples 8.
Welcome to MM207 Unit 7 Seminar Dr. Bob Hypothesis Testing and Excel 1.
1 Section 8.4 Testing a claim about a mean (σ known) Objective For a population with mean µ (with σ known), use a sample (with a sample mean) to test a.
Level of Significance Level of significance Your maximum allowable probability of making a type I error. – Denoted by , the lowercase Greek letter alpha.
Section 7.2 Hypothesis Testing for the Mean (Large Samples) © 2012 Pearson Education, Inc. All rights reserved. 1 of 101.
Section 7.4 Hypothesis Testing for Proportions © 2012 Pearson Education, Inc. All rights reserved. 1 of 101.
Section 7.4 Hypothesis Testing for Proportions © 2012 Pearson Education, Inc. All rights reserved. 1 of 14.
Comparing Two Proportions Chapter 21. In a two-sample problem, we want to compare two populations or the responses to two treatments based on two independent.
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
Hypothesis Testing with Two Samples
Testing the Difference Between Proportions
Hypothesis Testing for Proportions
Chapter 7 Hypothesis Testing with One Sample.
8.1 Testing the Difference Between Means (Large Independent Samples)
Testing the Difference Between Means (Large Independent Samples)
10 Chapter Chi-Square Tests and the F-Distribution Chapter 10
Chapter 8 Hypothesis Testing with Two Samples.
Chapter 10: Comparing Two Populations or Groups
Elementary Statistics: Picturing The World
The average life span of Galapagos tortoises is 111 years, with a standard deviation of 29.5 years. You have done research on the average life spans of.
Unit 6 - Comparing Two Populations or Groups
Inferences on Two Samples Summary
Section 12.2: Tests about a Population Proportion
Elementary Statistics: Picturing The World
Hypothesis Tests for Proportions
Chapter 10: Comparing Two Populations or Groups
Chapter 10: Comparing Two Populations or Groups
Hypothesis Testing for Proportions
Chapter 10: Comparing Two Populations or Groups
Chapter 10: Comparing Two Populations or Groups
Chapter 10: Comparing Two Populations or Groups
Chapter 10: Comparing Two Populations or Groups
Chapter 10: Comparing Two Populations or Groups
Hypothesis Testing for Proportions
Chapter 10: Comparing Two Populations or Groups
Chapter 10: Comparing Two Populations or Groups
Presentation transcript:

Statistics Testing the Difference Between Proportions Statistics Mrs. Spitz Spring 2009

Statistics 8.4 Objectives/Assignment How to perform a z-test for the difference between two population proportions p 1 and p 2. Assignment: pp #1-12

Statistics 8.4

Two Sample z-Test for the Difference Between Proportions In this section, you will learn how to use a z- test to test the difference between two population proportions p 1 and p 2 using a sample proportion from each population. For instance, suppose you want to determine whether the proportion of female college students who earn a bachelor’s degree in four years is different from the proportion of male college students who earn a bachelor’s degree in four years.

Statistics 8.4 Two Sample z-Test for the Difference Between Proportions To use a z-test to test such a difference, the following conditions are necessary: 1. The samples must be independent. 2. 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, n 2 q 2 ≥ 5

Statistics 8.4 Two Sample z-Test for the Difference Between Proportions If these conditions are met, then the sampling distribution for the difference between the sample proportions, is a normal distribution with mean: And a standard error

Statistics 8.4 Two sample z-test for difference between proportions Notice that you need to know the population proportions to calculate the standard error. Because a hypothesis test for p 1 - p 2 is based on the condition of equality that p 1 = p 2, you can calculate a weighted estimate of p using: and where

Statistics 8.4 Two-Sample z-Test for the Difference Between Proportions Using the weighted estimate, the standard error of the sampling distribution for is: where Also, when determining whether the z-test can be used for the difference between proportions, you should use in place of p 1 and p 2 and in place of q 1 and q 2

Statistics 8.4 Two Sample z-Test for the Difference Between Proportions If the sampling distribution for is normal, you can use a two-sample z-test to test the difference between two population proportions, and

Statistics 8.4 If the null hypothesis states that p 1 = p 2, then the expression, p 1 - p 2 is equal to 0 in the preceding test.

Statistics 8.4 Ex. 1: A Two-Sample z-Test for the Difference Between Proportions In a study of 200 adult female and 250 adult male Internet users, 30% of the females and 38% of the males said that they plan to shop online at least once during the next month. At  = 0.10, test the claim that there is a difference in the proportion of female Internet users who plan to shop online and the proportion of male Internet users who plan to shop online.

Statistics 8.4 Solution You want to determine whether there is a difference in the proportions. So, the null and alternative hypotheses are: H o : p 1 = p 2 and p 1  p 2 (claim) Because the test is two-tailed and the level of significance is  = 0.10, the critical values are  The rejection regions are z

Statistics 8.4 Solution The weighted estimate of the population proportion is: And. Because 200(0.344), 200(0.656), 250(0.344) and 250)0.656 are at least 5, you can use the two-sample z-test.

Statistics 8.4 Solution The standardized test statistic is:

Statistics 8.4 Solution The graph shows the location of the rejection regions and the standardized test statistic. Because z is in the rejection region, you should decide to reject the null hypothesis. You have enough evidence at the 10% level to conclude there is a difference in the proportion of female and the proportion of male Internet users who plan to shop online.

Statistics 8.4 Ex. 2: 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 subjects who took the medication, 301 died of heart disease. Of the 4300 subjects who took a placebo, 357 died of heart disease. At  = 0.01, can you conclude that the death rate is lower for those who took the medication than for those who took the placebo?

Statistics 8.4 Solution You want to determine whether there is a difference in the proportions. So, the null and alternative hypotheses are: H o : p 1 ≥ p 2 and p 1 < p 2 (claim) Because the test is left-tailed and the level of significance is  = 0.01, the critical value is The rejection region is z < -2.33

Statistics 8.4 Solution The weighted estimate of the population proportion is: And. Because 4700(0.073), 4700(0.927), 4300(0.073) and 4300)0.927 are at least 5, you can use the two-sample z-test.

Statistics 8.4 Solution The standardized test statistic is:

Statistics 8.4 Solution The graph shows the location of the rejection region and the standardized test statistic. Because z is in the rejection region, you should decide to reject the null hypothesis. At the 1% level, there is enough evidence to conclude that the death rate is lower for those who took the medication than for those who took the placebo.