Chapter 22: Comparing Two Proportions

Slides:



Advertisements
Similar presentations
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 22 Comparing Two Proportions.
Advertisements

Objective: To test claims about inferences for two proportions, under specific conditions Chapter 22.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 21, Slide 1 Chapter 21 Comparing Two Proportions.
Comparing Two Proportions
Confidence Interval and Hypothesis Testing for:
Copyright © 2010 Pearson Education, Inc. Chapter 24 Comparing Means.
Chapter 19: Confidence Intervals for Proportions
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.
+ 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.
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
Copyright © 2010 Pearson Education, Inc. Chapter 22 Comparing Two Proportions.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 23, Slide 1 Chapter 23 Comparing Means.
+ Section 10.1 Comparing Two Proportions After this section, you should be able to… DETERMINE whether the conditions for performing inference are met.
Comparing Two Proportions
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 24 Comparing Means.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 24 Comparing Means.
Chapter 10: Comparing Two Populations or Groups
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Chapter 22: Comparing Two Proportions. Yet Another Standard Deviation (YASD) Standard deviation of the sampling distribution The variance of the sum or.
Copyright © 2010 Pearson Education, Inc. Slide Beware: Lots of hidden slides!
Copyright © 2010 Pearson Education, Inc. Chapter 22 Comparing Two Proportions.
Chapter 20 Testing Hypothesis about proportions
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 22 Comparing Two Proportions.
Chapter 10: Comparing Two Populations or Groups
AP Statistics Chapter 24 Comparing Means.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 24 Comparing Means.
+ 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.
Comparing Means Chapter 24. Plot the Data The natural display for comparing two groups is boxplots of the data for the two groups, placed side-by-side.
Chapter 22 Comparing Two Proportions.  Comparisons between two percentages are much more common than questions about isolated percentages.  We often.
Chapter 22 Comparing two proportions Math2200. Are men more intelligent? Gallup poll A random sample of 520 women and 506 men 28% of the men thought men.
Chapter 22 Comparing Two Proportions. Comparing 2 Proportions How do the two groups differ? Did a treatment work better than the placebo control? Are.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide Next Time: Make sure to cover only pooling in TI-84 and note.
Chapter 22: Comparing Two Proportions AP Statistics.
AP STATISTICS COMPARING TWO PROPORTIONS Chapter 22.
Statistics 24 Comparing Means. Plot the Data The natural display for comparing two groups is boxplots of the data for the two groups, placed side-by-side.
Copyright © 2009 Pearson Education, Inc. Chapter 22 Comparing Two Proportions.
Statistics 22 Comparing Two Proportions. Comparisons between two percentages are much more common than questions about isolated percentages. And they.
Chapter 10 Comparing Two Populations or Groups Sect 10.1 Comparing two proportions.
Chapter 11 Lesson 11.3b Comparing Two Populations or Treatments 11.3: Inferences Concerning the Difference Between 2 Population or Treatment Proportions.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Comparing Two Proportions
Comparing Two Proportions
Chapter 10: Comparing Two Populations or Groups
Chapter 23 Comparing Means.
AP Statistics Comparing Two Proportions
Comparing Two Proportions
AP Stats Check In Where we’ve been…
Chapter 10: Comparing Two Populations or Groups
Comparing Two Proportions
Unit 6 - Comparing Two Populations or Groups
Hypothesis Testing Two Proportions
Comparing Two Proportions
Chapter 24 Comparing Means Copyright © 2009 Pearson Education, Inc.
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:

Chapter 22: Comparing Two Proportions Unit 5 AP Statistics

Comparing Two Proportions Comparisons between two percentages are much more common than questions about isolated percentages. And they are more interesting. We often want to know how two groups differ, whether a treatment is better than a placebo control, or whether this year’s results are better than last year’s.

Another Ruler In order to examine the difference between two proportions, we need another ruler—the standard deviation of the sampling distribution model for the difference between two proportions. Recall that standard deviations don’t add, but variances do. In fact, the variance of the sum or difference of two independent random quantities is the sum of their individual variances.

The Standard Deviation of the Difference Between Two Proportions Proportions observed in independent random samples are independent. Thus, we can add their variances. So… The standard deviation of the difference between two sample proportions is Thus, the standard error is Remember it’s always a +

Assumptions and Conditions Independence Assumptions: Randomization Condition: The data in each group should be drawn independently and at random from a homogeneous population or generated by a randomized comparative experiment. The 10% Condition: If the data are sampled without replacement, the sample should not exceed 10% of the population. Independent Groups Assumption: The two groups we’re comparing must be independent of each other.

Assumptions and Conditions (cont.) Sample Size Assumption: Each of the groups must be big enough… Success/Failure Condition: Both groups are big enough that at least 10 successes and at least 10 failures have been observed in each.

The Sampling Distribution We already know that for large enough samples, each of our proportions has an approximately Normal sampling distribution. The same is true of their difference.

The Sampling Distribution (cont.) Provided that the sampled values are independent, the samples are independent, and the samples sizes are large enough, the sampling distribution of is modeled by a Normal model with Mean: Standard deviation:

Two-Proportion z-Interval When the conditions are met, we are ready to find the confidence interval for the difference of two proportions: The confidence interval is where The critical value z* depends on the particular confidence level, C, that you specify.

Steps for two-proportion z-interval Check Conditions and show that you have checked these! Randomization Condition: The data in each group should be drawn independently and at random from a homogeneous population or generated by a randomized comparative experiment. The 10% Condition: If the data are sampled without replacement, the sample should not exceed 10% of the population. Independent Groups Assumption: The two groups we’re comparing must be independent of each other. Success/Failure Condition: Both groups are big enough that at least 10 successes and at least 10 failures have been observed in each. 𝒏 𝟏 𝒑 𝟏 ≥𝟏𝟎 𝒏 𝟐 𝒑 𝟐 ≥𝟏𝟎 𝒏 𝟏 𝒒 𝟏 ≥𝟏𝟎 𝒏 𝟐 𝒒 𝟐 ≥𝟏𝟎

Steps for TWO PROPORTION Z-interval (cont.) State the test you are about to conduct Ex) Two-Proportion z-Interval Calculate your z-interval ( 𝒑 𝟏 − 𝒑 𝟐 )± 𝒛 ∗ × 𝒑 𝟏 𝒒 𝟏 𝒏 𝟏 + 𝒑 𝟐 𝒒 𝟐 𝒏 𝟐 State your conclusion IN CONTEXT. We are 95% confident that the support group program could raise the proportion of smokers who manage to quit using the parch by between 2 and 22 percentage points.

2-Proportion Confidence Interval Example The table below describes the effect of preschool on later use of social services: Set up a 95% confidences interval. Interpret your results. Population Population description Sample size Sample proportion 1 Control 𝑛 1 =61 𝑝 1 =0.803 2 Preschool 𝑛 2 =62 𝑝 2 =0.613

Everyone into the Pool The typical hypothesis test for the difference in two proportions is the one of no difference (when they are equal). In symbols, H0: p1 – p2 = 0. Since we are hypothesizing that there is no difference between the two proportions, that means that the standard deviations for each proportion are the same. Since this is the case, we combine (pool) the counts to get one overall proportion.

Everyone into the Pool (cont.) The pooled proportion is where and If the numbers of successes are not whole numbers, round them first. (This is the only time you should round values in the middle of a calculation.)

Everyone into the Pool (cont.) We then put this pooled value into the formula, substituting it for both sample proportions in the standard error formula:

Compared to What? We’ll reject our null hypothesis if we see a large enough difference in the two proportions. How can we decide whether the difference we see is large? Just compare it with its standard deviation. Unlike previous hypothesis testing situations, the null hypothesis doesn’t provide a standard deviation, so we’ll use a standard error (here, pooled).

Two-Proportion z-Test The conditions for the two-proportion z-test are the same as for the two-proportion z-interval. We are testing the hypothesis H0: p1 – p2 = 0, or, equivalently, H0: p1 = p2. Because we hypothesize that the proportions are equal, we pool them to find

Steps for two-proportion z-tests Check Conditions and show that you have checked these! Randomization Condition: The data in each group should be drawn independently and at random from a homogeneous population or generated by a randomized comparative experiment. The 10% Condition: If the data are sampled without replacement, the sample should not exceed 10% of the population. Independent Groups Assumption: The two groups we’re comparing must be independent of each other. Success/Failure Condition: Both groups are big enough that at least 10 successes and at least 10 failures have been observed in each. 𝒏 𝟏 𝒑 𝒑𝒐𝒐𝒍𝒆𝒅 ≥𝟏𝟎 𝒏 𝟐 𝒑 𝒑𝒐𝒐𝒍𝒆𝒅 ≥𝟏𝟎 𝒏 𝟏 𝒒 𝒑𝒐𝒐𝒍𝒆𝒅 ≥𝟏𝟎 𝒏 𝟐 𝒒 𝒑𝒐𝒐𝒍𝒆𝒅 ≥𝟏𝟎

Steps for two-proportion z-tests (cont.) State the test you are about to conduct Ex) Two-proportion z-test Set up your hypotheses H0: HA: Calculate your test statistic 𝒛= 𝒑 𝟏 − 𝒑 𝟐 −𝟎 𝒑 𝒑𝒐𝒐𝒍𝒆𝒅 ∙ 𝒒 𝒑𝒐𝒐𝒍𝒆𝒅 𝒏 𝟏 + 𝒑 𝒑𝒐𝒐𝒍𝒆𝒅 ∙ 𝒒 𝒑𝒐𝒐𝒍𝒆𝒅 𝒏 𝟐 Draw a picture of your desired area under the Normal model, and calculate your P-value.

Steps for two-proportion z-tests (cont.) Make your conclusion. P-Value Action Conclusion Low Reject H0 The sample mean is sufficient evidence to conclude HA in context. High Fail to reject H0 The sample mean does not provide us with sufficient evidence to conclude HA in context.

2-Proportion z-Test Example High levels of cholesterol in the blood are associated with higher risk of heart attacks. Will using a drug to lower blood cholesterol reduce heart attacks? The Helsinki Heart Study looked at this question. Middle-aged men were assigned at random to one of two treatments: 2051 men took the drug gemfibrozil to reduce their cholesterol levels, and a control group of 2030 men took a placebo. During the next five years, 56 men in the gemfibrozil group and 84 men in the placebo group had heart attacks. What are the proportions and is the benefit of the drug statistically significant?

Calculator Tips Stat  TESTS 6: 2-PropZTest Enter values Calculate

What Can Go Wrong? Don’t use two-sample proportion methods when the samples aren’t independent. These methods give wrong answers when the independence assumption is violated. Don’t apply inference methods when there was no randomization. Our data must come from representative random samples or from a properly randomized experiment. Don’t interpret a significant difference in proportions causally. Be careful not to jump to conclusions about causality.

Recap We’ve now looked at inference for the difference in two proportions. Perhaps the most important thing to remember is that the concepts and interpretations are essentially the same—only the mechanics have changed slightly.

Recap (cont.) Hypothesis tests and confidence intervals for the difference in two proportions are based on Normal models. Both require us to find the standard error of the difference in two proportions. We do that by adding the variances of the two sample proportions, assuming our two groups are independent. When we test a hypothesis that the two proportions are equal, we pool the sample data; for confidence intervals we don’t pool.

Assignments: pp. 519 – 522 Day 1: # 1, 7, 9, 18 Day 2: # 3, 10, 20, 22