20. Comparing two proportions

Slides:



Advertisements
Similar presentations
Comparing Two Proportions
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.
Chapter 22 Comparing 2 Proportions © 2006 W.H. Freeman and Company.
Comparing Two Proportions
Lecture 11/7. Inference for Proportions 8.2 Comparing Two Proportions © 2012 W.H. Freeman and Company.
Statistical Inference: Confidence Intervals
Point and Confidence Interval Estimation of a Population Proportion, p
Inference (CI / Tests) for Comparing 2 Proportions.
Warm-up An experiment on the side effects of pain relievers assigned arthritis patients to one of several over-the-counter pain medications. Of the 440.
Inference for proportions - Comparing 2 proportions IPS chapter 8.2 © 2006 W.H. Freeman and Company.
+ Unit 6 - Comparing Two Populations or Groups Comparing Two Proportions 11.2Comparing Two Means.
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
+ 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
Section 5.2 Designing Experiments AP Statistics
Lecture 5 Two population tests of Means and Proportions.
Chapter 22: Comparing Two Proportions
The Practice of Statistics Third Edition Chapter 13: Comparing Two Population Parameters Copyright © 2008 by W. H. Freeman & Company Daniel S. Yates.
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
Two-sample Proportions Section Starter One-sample procedures for proportions can also be used in matched pairs experiments. Here is an.
Comparing 2 Proportions © 2006 W.H. Freeman and Company.
+ 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.
Chapter 5.2 Designing experiments. Terminology The individuals on which the experiment is done are the experiment units. When the units are human beings.
HS 1679B: Comparing Proportions1 9B: Comparing two proportions.
Section 5.2 Designing Experiments AP Statistics October 27 th, 2014.
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.
Class Seven Turn In: Chapter 18: 32, 34, 36 Chapter 19: 26, 34, 44 Quiz 3 For Class Eight: Chapter 20: 18, 20, 24 Chapter 22: 34, 36 Read Chapters 23 &
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.
Class Six Turn In: Chapter 15: 30, 32, 38, 44, 48, 50 Chapter 17: 28, 38, 44 For Class Seven: Chapter 18: 32, 34, 36 Chapter 19: 26, 34, 44 Quiz 3 Read.
Chapter 7 Confidence Intervals for 2 Proportions and 2 Means © 2006 W.H. Freeman and Company.
Warm-up An experiment on the side effects of pain relievers assigned arthritis patients to one of several over-the-counter pain medications. Of the 440.
Chapter 10: Comparing Two Populations or Groups
AP Statistics Comparing Two Proportions
AP Stats Check In Where we’ve been…
Chapter 8: Inference for Proportions
Chapter 10: Comparing Two Populations or Groups
Chapter 8 Inference for Proportions
The Practice of Statistics in the Life Sciences Fourth Edition
Unit 6 - Comparing Two Populations or Groups
Baseline characteristics of HPS participants by prior diabetes
DRILL If you needed to select 5 students from a group of 6250, how could you use the table of random digits to carry out the selection process. Starting.
Chapter 10: Comparing Two Populations or Groups
Chapter 10: Comparing Two Populations or Groups
In a simple random sample of 300 elderly men, 65% were married while in an independent simple random sample of 400 elderly women, 48% were married. Determine.
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
Presentation transcript:

20. Comparing two proportions The Practice of Statistics in the Life Sciences Third Edition © 2014 W.H. Freeman and Company

Objectives (PSLS Chapter 20) Comparing two proportions Comparing 2 independent samples Confidence interval for 2 proportion Large sample method Plus four method Test of statistical significance Treatment and risk reduction

Comparing 2 independent samples We often need to compare 2 treatments with 2 independent samples. For large enough samples, the sampling distribution of is approximately Normal. However, neither p1 nor p2 are known.

Large-sample CI for 2 proportions For 2 independent SRSs of sizes n1 and n2 with sample proportions of successes p̂1 and p̂2 respectively, an approximate level C confidence interval for p1 – p2 is C is the area under the standard Normal curve between -z* and z*. Use this method when the number of successes and the number of failures are each at least 10 in each sample.

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 2 random samples of middle-aged men taking either the drug or a placebo. Standard error of the difference p̂1 – p̂2 : H. attack n p̂ Drug 56 2051 2.73% Placebo 84 2030 4.14% So the 90% CI is (0.0414-0.0273) ± 1.645*0.0057 = 0.014 ± 0.009 We are 90% confident that the percent of middle-age men who suffer a heart attack is 0.5 to 2.3% percentage points lower when taking the cholesterol-lowering drug than when taking a placebo.

“Plus four” CI for 2 proportions The “plus 4” method again produces more accurate confidence intervals. We act as if we had 4 additional observations: 1 success and 1 failure in each of the 2 samples. The new combined sample size is n1 + n2 + 4 and the proportions of successes are: An approximate level C confidence interval is: Use this when C is at least 90% and both sample sizes are at least 5.

Researchers compared oral health in 46 young adult males wearing a tongue piercing (TP) and a control group of 46 young adult males without tongue piercing. They found that 38 individuals in the TP group and 26 in the control group had enamel cracks. We want to estimate with 95% confidence the difference between the proportions of individuals with enamel cracks among young adult males with and without TP. One count is too low for the large sample method, so we use the plus-four method. The lowest count is 8, which is too low for the large sample method. We are 95% confident that the percent of young adult males with a tongue piercing who have enamel cracks is about 7 to 43 percentage points greater than the percent with enamel cracks among young adult males without a tongue piercing.

Test of significance We test: H0: p1 = p2 = p If H0 is true, we are sampling twice from the same population and we can pool the information from both samples to estimate p. =0 Appropriate when all counts (successes and failures in each sample) are 5 or more.

H0: pgf = pplacebo Ha: pgf > pplacebo Gastric Freezing Gastric freezing was once a treatment for ulcers. Patients would swallow a deflated balloon with tubes to cool the stomach for an hour in hope of reducing acid production and relieving ulcer pain. The treatment was shown to be safe and 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. H0: pgf = pplacebo Ha: pgf > pplacebo

H0: pgf = pplacebo Ha: pgf > pplacebo Results: 28 of the 82 patients subjected to gastric freezing improved 30 of the 78 patients in the control group improved H0: pgf = pplacebo Ha: pgf > pplacebo The P-value is greater than 50%...  Gastric freezing was not significantly better than a placebo (P-value > 0.1), and this treatment was abandoned. ALWAYS USE A CONTROL!!!

Treatment and risk reduction In the health sciences, we often compare a given health risk in the treatment group with the same risk in the control group. One measure of this is the Relative Risk Reduction (RRR) which indicates how better off you would be relative to receiving a placebo or control treatment.

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. H. attack No H.A. n p̂ Drug 56 1995 2051 2.73% Placebo 84 1946 2030 4.14% The drug Gemfibrozil reduces the risk of a heart attack in middle-aged men by about 34% over a 5-year period of continuous treatment, compared with middle-aged men taking a placebo (RRR = 34%). That is, the risk of a heart attack over that period is 34% smaller in the Gemfibrozil group than in the placebo group.

The Absolute Risk Reduction (ARR) is simply the absolute difference in outcome rates between the control and treatment groups: The Number Needed to Treat (NNT) is the number of patients that would need to be treated to prevent one additional negative outcome. NNT = 1 / ARR ARR and NNT are better indicators of treatment efficacy than RRR.

H. attack No H.A. n p̂ Drug 56 1995 2051 2.73% Placebo 84 1946 2030 4.14% The group taking Gemfibrozil had a rate of heart attack 1.4 percentage point lower than that of the placebo group (ARR = 1.4%). Pharmaceutical companies typically report the “relative risk reduction,” which makes the treatment effect appear much more impressive… There is growing recognition that NNT is the more intuitive summary of the three. The website www.thennet.com offers lots of examples. On average, we need to treat 71 men for 5 years with Gemfibrozil to avoid 1 heart attack (NNT = 71).