12.2 (13.2) Comparing Two Proportions. The Sampling Distribution of.

Slides:



Advertisements
Similar presentations
Comparing Two Proportions
Advertisements

Testing a Claim about a Proportion Assumptions 1.The sample was a simple random sample 2.The conditions for a binomial distribution are satisfied 3.Both.
AP Statistics Section 11.2 B. A 95% confidence interval captures the true value of in 95% of all samples. If we are 95% confident that the true lies in.
9.2a Tests about a Population Proportion Target Goal: I can check the conditions for carrying out a test about a population proportion. I can perform a.
Chapter 9 Tests of Significance Target Goal: I can perform a significance test to support the alternative hypothesis. I can interpret P values in context.
Chapter 10 Section 2 Hypothesis Tests for a Population Mean
5-1 Introduction 5-2 Inference on the Means of Two Populations, Variances Known Assumptions.
Business Statistics - QBM117
8-3 Testing a Claim about a Proportion
Significance Tests for Proportions Presentation 9.2.
Significance Tests and Two Proportions
Comparing Two Population Parameters Comparing two- population proportions.
Chapter 9 Testing a Claim
June 18, 2008Stat Lecture 11 - Confidence Intervals 1 Introduction to Inference Sampling Distributions, Confidence Intervals and Hypothesis Testing.
+ Chapter 9 Summary. + Section 9.1 Significance Tests: The Basics After this section, you should be able to… STATE correct hypotheses for a significance.
CHAPTER 20: Inference About a Population Proportion ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture.
Tests About a Population Proportion
Maximum Likelihood Estimator of Proportion Let {s 1,s 2,…,s n } be a set of independent outcomes from a Bernoulli experiment with unknown probability.
The Practice of Statistics Third Edition Chapter 13: Comparing Two Population Parameters Copyright © 2008 by W. H. Freeman & Company Daniel S. Yates.
Confidence intervals are one of the two most common types of statistical inference. Use a confidence interval when your goal is to estimate a population.
CHAPTER 20: Inference About a Population Proportion
CHAPTER 17: Tests of Significance: The Basics
AP Statistics Section 13.2 B. An observed difference between two sample proportions can reflect a difference in the populations or it may just be due.
1 Section 8.3 Testing a claim about a Proportion Objective For a population with proportion p, use a sample (with a sample proportion) to test a claim.
CHAPTER 9 Testing a Claim
Section 9.2 Tests About a Population Proportion. Section 9.2 Tests About a Population Proportion After this section, you should be able to… CHECK conditions.
+ Chapter 12: Inference for Proportions Section 12.1 Inference for a Population Proportion.
Chapter 9: Testing a Claim Section 9.2 Tests About a Population Proportion.
CHAPTER 20: Inference About a Population Proportion ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture.
Section 3.3: The Story of Statistical Inference Section 4.1: Testing Where a Proportion Is.
BPS - 3rd Ed. Chapter 141 Tests of significance: the basics.
Slide Slide 1 Section 8-4 Testing a Claim About a Mean:  Known.
2 sample interval proportions sample Shown with two examples.
Tests with Fixed Significance Level Target Goal: I can reject or fail to reject the null hypothesis at different significant levels. I can determine how.
AP Statistics.  Has been about the distribution of sample means  and the distribution of the difference of sample means.  and the distribution of sample.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
Inference for Proportions Section Starter Do dogs who are house pets have higher cholesterol than dogs who live in a research clinic? A.
+ Chapter 9 Testing a Claim 9.1Significance Tests: The Basics 9.2Tests about a Population Proportion 9.3Tests about a Population Mean.
Section 10.2: Tests of Significance Hypothesis Testing Null and Alternative Hypothesis P-value Statistically Significant.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 9 Testing a Claim 9.2 Tests About a Population.
Chapter 12 Inference for Proportions AP Statistics 12.2 – Comparing Two Population Proportions.
Statistics for Business and Economics Module 1:Probability Theory and Statistical Inference Spring 2010 Lecture 8: Tests of significance and confidence.
Hypothesis Tests Hypothesis Tests Large Sample 1- Proportion z-test.
Essential Statistics Chapter 191 Comparing Two Proportions.
+ Chapter 9 Testing a Claim 9.1Significance Tests: The Basics 9.2Tests about a Population Proportion 9.3Tests about a Population Mean.
Chapter 9: Testing a Claim
Chapter 9: Testing a Claim
P-values.
Chapter 9: Testing a Claim
Significance Tests: A Four-Step Process
Chapter Review Problems
CHAPTER 20: Inference About a Population Proportion
Hypothesis Testing.
Tests About a Population Proportion
Chapter 9: Testing a Claim
Chapter 9: Testing a Claim
Chapter 9: Testing a Claim
CHAPTER 9 Testing a Claim
CHAPTER 9 Testing a Claim
Chapter 12 Inference for Proportions
Chapter 9: Testing a Claim
Chapter 9: Testing a Claim
Chapter 9: Testing a Claim
Chapter 9: Testing a Claim
Chapter 9: Testing a Claim
Unit 5: Hypothesis Testing
Chapter 9: Testing a Claim
Significance Tests: The Basics
Presentation transcript:

12.2 (13.2) Comparing Two Proportions

The Sampling Distribution of

The Sampling distribution of

Example The movie A Civil Action tells the story of a major legal battle that took place in the small town of Woburn, Massachusetts. A town well that supplied water to East Woburn residents was contaminated by industrial chemicals. During the period that the residents drank the water from this well, a sample of 414 births showed 16 birth defects. On the West side of Woburn a sample of 228 babies born during the same period revealed 3 birth defects. The plaintiffs suing the companies responsible for the contamination claimed that these data show that the rate of birth defects was significantly higher in East Woburn, where the contaminated well water was in use. How strong is the evidence supporting this claim? What should the judge for this case conclude?

Example continued Construct a 95% confidence interval for ρ 1 – ρ 2. Step 1 We want to compare the difference between rates of birth defects in East and West Woburn. –Populations of interest: Population of babies born in East Woburn in the time period in questions. The second population is the babies born in West Woburn in the same time period. –Parameter of interest: ρ 1 = The proportion of all East Woburn babies born with birth defects. ρ 2 = The proportion of all West Woburn babies born with birth defects. H 0 : ρ 1 = ρ 2 H a : ρ 1 > ρ 2

Example Step 2 SRS – We do not have enough information on how the babies in the sample where selected. We will assume the two samples are SRSs. Normality We may have a problem with n 2 ρ 2 since we would like to have at least 5 successes. Ideally we would increase the sample size to 379 to achieve 5 failures. We will note the problem and proceed with caution. Independence – The two samples are independent. In the time period the number of births could be ten times larger than the sample size.

Example Step 3 From table C, Z* = 1.96

Example Step 4 Step 4 Interpretation We are 95% confident that the difference between the birth defects rates for East and West Woburn is between 0.17% and 4.9%. The interval does not include the difference of 0, so we reject H 0. There may be some evidence for a positive difference between the birth defect rates supporting the plaintiffs case. However, the normality of the sampling distribution may impact on the strength of the evidence.

Example Using the previous problem A Civil Action, we will perform a significance test for comparing the two proportions. Step 1 We want to compare the difference between rates of birth defects in East and West Woburn. –Populations of interest: Population of babies born in East Woburn in the time period in questions. The second population is the babies born in West Woburn in the same time period. –Parameter of interest: ρ 1 = The proportion of all East Woburn babies born with birth defects. ρ 2 = The proportion of all West Woburn babies born with birth defects. H 0 : ρ 1 = ρ 2 H a : ρ 1 > ρ 2

Example Step 2 SRS – We do not have enough information on how the babies in the sample where selected. We will assume the two samples are SRSs. Normality Since all values are larger than 5 we are safe to use a Normal approximation. Independence – The two samples are independent. In the time period the number of births could be ten times larger than the sample size.

Example Step 3 Calculations Test Statistic: P-value Right side tail test. Use Table A P-value = P(1 – P(Z < 1.82) =

Example Step 4 Interpretation – The P-value is smaller than α = 0.05 which means that it is unlikely that we would obtain a difference in sample proportions as large as we did if the null hypothesis is true. The judge would probably conclude that the companies who contaminated the well were responsible for the higher proportion of birth defects in East Woburn.