Comparing 2 Proportions © 2006 W.H. Freeman and Company.

Slides:



Advertisements
Similar presentations
1 Selected Sections of Chapters 22 and 24 Confidence Intervals for p 1 - p 2 and µ 1 - µ 2.
Advertisements

Chapter 22 Comparing 2 Proportions © 2006 W.H. Freeman and Company.
Inference for Proportions Inference for a Single Proportion
Objective: To test claims about inferences for two proportions, under specific conditions Chapter 22.
Sampling: Final and Initial Sample Size Determination
Chapter 22 Comparing 2 Proportions © 2006 W.H. Freeman and Company.
Lecture 11/7. Inference for Proportions 8.2 Comparing Two Proportions © 2012 W.H. Freeman and Company.
Chapter 25 Asking and Answering Questions About the Difference Between Two Population Means: Paired Samples.
Hypothesis Testing – Examples and Case Studies
Inference for proportions - Comparing 2 proportions IPS chapter 8.2 © 2006 W.H. Freeman and Company.
Comparing Two Population Parameters Comparing two- population proportions.
Ch 10 Comparing Two Proportions Target Goal: I can determine the significance of a two sample proportion. 10.1b h.w: pg 623: 15, 17, 21, 23.
Inference for proportions - Comparing 2 proportions IPS chapter 8.2 © 2006 W.H. Freeman and Company.
Comparing 2 proportions BPS chapter 21 © 2006 W. H. Freeman and Company These PowerPoint files were developed by Brigitte Baldi at the University of California,
Inferences Based on Two Samples
Example 1: a) Describe the shape, center, and spread of the sampling distribution of. Because n 1 p 1 = 100(0.7) = 70, n 1 (1 − p 1 ) = 100(0.3) = 30,
Chapter 12: Inference for Proportions
Chapter 8 Inference for Proportions
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 2 – Slide 1 of 25 Chapter 11 Section 2 Inference about Two Means: Independent.
+ Section 10.1 Comparing Two Proportions After this section, you should be able to… DETERMINE whether the conditions for performing inference are met.
8.1 Inference for a Single Proportion
Confidence Intervals and Hypothesis Tests for the Difference between Two Population Means µ 1 - µ 2 : Independent Samples Inference for  1  2 1.
Inference for distributions: - Comparing two means IPS chapter 7.2 © 2006 W.H. Freeman and Company.
Lecture 5 Two population tests of Means and Proportions.
STA291 Statistical Methods Lecture 24. Comparing Two Proportions Sample of 25, year-olds: Men: 84.9% diploma rate Women: 88.1% diploma rate Are.
Chapter 22: Comparing Two Proportions
Objectives (BPS chapter 20) Inference for a population proportion  The sample proportion  The sampling distribution of  Large sample confidence interval.
Chapter 10: Comparing Two Populations or Groups
Jeopardy Statistics Edition. Terms Calculator Commands Sampling Distributions Confidence Intervals Hypothesis Tests: Proportions Hypothesis Tests: Means.
Hypothesis and Test Procedures A statistical test of hypothesis consist of : 1. The Null hypothesis, 2. The Alternative hypothesis, 3. The test statistic.
Introduction to Inferece BPS chapter 14 © 2010 W.H. Freeman and Company.
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
Two-sample Proportions Section Starter One-sample procedures for proportions can also be used in matched pairs experiments. Here is an.
10.1 Comparing Two Proportions. Section 10.1 Comparing Two Proportions After this section, you should be able to… DETERMINE whether the conditions for.
Chapter 10: Comparing Two Populations or Groups
1 Confidence Intervals for Two Proportions Section 6.1.
Section 11.3: Large-Sample Inferences Concerning a Difference Between Two Population or Treatment Proportions.
Confidence Intervals for µ 1 - µ 2 and p 1 - p 2 1.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 10: Comparing Two Populations or Groups Section 10.1 Comparing Two Proportions.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 10 Comparing Two Groups Section 10.1 Categorical Response: Comparing Two Proportions.
* Chapter 8 – we were estimating with confidence about a population * Chapter 9 – we were testing a claim about a population * Chapter 10 – we are comparing.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 3 – Slide 1 of 27 Chapter 11 Section 3 Inference about Two Population Proportions.
HS 1679B: Comparing Proportions1 9B: Comparing two proportions.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 10 Comparing Two Groups Section 10.3 Other Ways of Comparing Means and Comparing Proportions.
Statistics for Business and Economics Module 1:Probability Theory and Statistical Inference Spring 2010 Lecture 8: Tests of significance and confidence.
AP STATISTICS COMPARING TWO PROPORTIONS Chapter 22.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 7 Inferences Concerning Means.
Objectives (Chapter 20) Comparing two proportions  Comparing 2 independent samples  Confidence interval for 2 proportion  Large sample method  Plus.
Chapter 10 Comparing Two Populations or Groups Sect 10.1 Comparing two proportions.
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.
Comparing Means: Confidence Intervals and Hypotheses Tests for the Difference between Two Population Means µ 1 - µ 2 Chapter 22 Part 2 CI HT for m 1 -
Chapter 7 Confidence Intervals for 2 Proportions and 2 Means © 2006 W.H. Freeman and Company.
20. Comparing two proportions
Chapter 10: Comparing Two Populations or Groups
Comparing Two Proportions
Chapter 8: Inference 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
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
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
Presentation transcript:

Comparing 2 Proportions © 2006 W.H. Freeman and Company

Objectives Comparing two proportions  Comparing two independent samples  Large-sample CI for two proportions  Test of statistical significance

3 Sample 1 Sample size n 1 Number of successes x 1 Sample proportion Sample 1 Sample size n 1 Number of successes x 1 Sample proportion  Two random samples are drawn from two populations.  The number of successes in each sample is recorded.  The sample proportions are computed. Sample 2 Sample size n 2 Number of successes x 2 Sample proportion Sample 2 Sample size n 2 Number of successes x 2 Sample proportion x n 1 1 ˆ  p 1 Point Estimator of p 1 – p 2 :

Comparing two independent samples We often need to estimate the difference p 1 – p 2 between two unknown population proportions based on independent samples. We can compute the difference between the two sample proportions and compare it to the corresponding, approximately normal sampling distribution for

Large-sample CI for two proportions For two independent SRSs of sizes n 1 and n 2 with sample proportion of successes 1 and 2 respectively, an approximate level C confidence interval for p 1 – p 2 is Use this method when C is the area under the standard normal curve between −z* and z*.

Cholesterol and heart attacks How much does the cholesterol-lowering drug Gemfibrozil help reduce the risk of heart attack? We compare the incidence of heart attack over a 5-year period for two random samples of middle-aged men taking either the drug or a placebo. So the 90% CI is ( − ) ± 1.645* = ± = (0.016, ) We are 90% confident that the interval 0.16% to 2.66% captures the true percentage difference in heart attack rates for middle-aged men when taking a placebo and the cholesterol-lowering drug. Standard error of the difference p 1 − p 2 : H. attackn Drug p % Placebo p %

7 Example: 95% confidence interval for p 1 – p 2 The age at which a woman gives birth to her first child may be an important factor in the risk of later developing breast cancer. An international study conducted by WHO selected women with at least one birth and recorded if they had breast cancer or not and whether they had their first child before their 30 th birthday or after. CancerSample Size Age at First Birth > % Age at First Birth <= , % The parameter to be estimated is p1 – p2. p1 = cancer rate when age at 1 st birth >30 p2 = cancer rate when age at 1 st birth <=30 We estimate that the cancer rate when age at first birth > 30 is between.05 and.082 higher than when age <= 30.

Beware!! Common Mistake !!! A common mistake is to calculate a one-sample confidence interval for p   a one-sample confidence interval for p   and to then conclude that p  and p  are equal if the confidence intervals overlap. This is WRONG because the variability in the sampling distribution for from two independent samples is more complex and must take into account variability coming from both samples. Hence the more complex formula for the standard error.

INCORRECT Two single-sample 95% confidence intervals: The confidence interval for the rightie BA and the confidence interval for the leftie BA overlap, suggesting no significant difference between Ryan Howard’s ABILITY to hit right- handed pitchers and his ABILITY to hit left-handed pitchers. Rightie interval: (0.274, 0.366) HitsABphat(BA) Rightie Leftie Leftie interval: (0.170, 0.280)

Reason for Contradictory Result 10

If the null hypothesis is true, then we can rely on the properties of the sampling distribution of to estimate the probability of selecting 2 samples with proportions HypothesisTests for p 1 – p 2 This test is appropriate when =0

12 Do NFL Teams With Domes Have an Unfair Advantage? Do NFL teams that play their home games in a dome have an advantage over teams that do not play their home games in a dome? Home Wins Home Games Home field is dome Home field is not dome The parameter to be estimated is p1 – p2. p1 = home win rate for dome teams p2 = home win rate for non-dome teams Do not reject H 0 :p 1 – p 2 = 0. There is no significant difference between the home win rate for dome teams and the home win rate for non-dome teams.

Gastric Freezing Gastric freezing was once a treatment for ulcers. Patients would swallow a deflated balloon with tubes, and a cold liquid would be pumped for an hour to cool the stomach and reduce acid production, thus relieving ulcer pain. The treatment was shown to be safe, significantly reducing ulcer pain, and was widely used for years. A randomized comparative experiment later compared the outcome of gastric freezing with that of a placebo: 28 of the 82 patients subjected to gastric freezing improved, while 30 of the 78 in the control group improved. Conclusion: The gastric freezing was no better than a placebo (P-value 0.69), and this treatment was abandoned. ALWAYS USE A CONTROL! H 0 : p gf - p placebo = 0 H a : p gf - p placebo > 0 p gf = proportion that receive relief from gastric freezing p placebo = proportion that receive relief using a placebo