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,

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.
Lecture 11/7. Inference for Proportions 8.2 Comparing Two Proportions © 2012 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.
1 Chapter 20 Two Categorical Variables: The Chi-Square Test.
AP Statistics Section 13.1 A. Which of two popular drugs, Lipitor or Pravachol, helps lower bad cholesterol more? 4000 people with heart disease were.
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.
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 21: Comparing Two 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
Lecture 5 Two population tests of Means and Proportions.
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
AP Statistics Section 13.1 A. Which of two popular drugs, Lipitor or Pravachol, helps lower bad cholesterol more? 4000 people with heart disease were.
Two-sample Proportions Section Starter One-sample procedures for proportions can also be used in matched pairs experiments. Here is an.
BPS - 5th Ed. Chapter 221 Two Categorical Variables: The Chi-Square Test.
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
Comparing 2 Proportions © 2006 W.H. Freeman and Company.
Section 11.3: Large-Sample Inferences Concerning a Difference Between Two Population or Treatment Proportions.
+ 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.
+ Section 10.1 Comparing Two Proportions After this section, you should be able to… DETERMINE whether the conditions for performing inference are met.
1 Math 4030 – 10b Inferences Concerning 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.
Objectives (PSLS Chapter 19) Inference for a population proportion  Conditions for inference on proportions  The sample proportion (p hat )  The sampling.
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.
Chapter 7 Confidence Intervals for 2 Proportions and 2 Means © 2006 W.H. Freeman and Company.
20. Comparing two 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.
Chapter 10: Comparing Two Populations or Groups
AP Statistics Comparing Two Proportions
Comparing Two Proportions
Chapter 8: Inference for Proportions
Chapter 10: Comparing Two Populations or Groups
The Practice of Statistics in the Life Sciences Fourth Edition
Unit 6 - Comparing Two Populations or Groups
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 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 BPS chapter 21 © 2006 W. H. Freeman and Company These PowerPoint files were developed by Brigitte Baldi at the University of California, Irvine and were revised by Ellen Gundlach at Purdue University and Marcus Pendergrass at Hampden-Sydney College.

Objectives (BPS chapter 21) Comparing two proportions  The sampling distribution of a difference between proportions  Large Sample confidence intervals for comparing two proportions  Using technology  Accurate confidence intervals for comparing two proportions  Significance tests for comparing proportions

Comparing two independent samples We often need to compare two treatments used 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 and respectively, an approximate level C confidence interval for p 1 – p 2 is: Use this method only when the populations are at least 10 times larger than the samples and the number of successes and the number of failures are each at least 10 in each sample. 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 (0.0414−0.0273) ± 1.645* = ± We are 90% confident that the percentage of middle-aged men who suffer a heart attack is 0.16% to 2.7% lower when taking the cholesterol-lowering drug. Standard error of the difference p 1 − p 2 : H. attackn Drug % Placebo %

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

Cholesterol and heart attacks Let’s now calculate the plus four CI for the difference in percentage middle-aged men who suffer a heart attack (placebo – drug). The confidence interval is ( p ̃ 1 − p ̃ 2 ) ± z*SE  ( − ) ± 1.645* = ± We are 90% confident that the percentage of middle-aged men who suffer a heart attack is 0.46% to 2.34% lower when taking the cholesterol-lowering drug. Standard error of the population difference p 1 − p 2 : H. attackn p̃p̃ Drug % Placebo %

If the null hypothesis is true, then we can rely on the properties of the sampling distribution to estimate the probability of drawing two samples with proportions and at random. Test of significance This test is appropriate when all counts are at least 5 (number of successes and number of failures in each sample). =0

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 so 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 H a : p gf > p placebo