Download presentation

Presentation is loading. Please wait.

Published byLawrence Castell Modified over 3 years ago

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

2
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 22- 2 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 years results are better than last years.

3
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 22- 3 Another Ruler In order to examine the difference between two proportions, we need another rulerthe standard deviation of the sampling distribution model for the difference between two proportions. Recall that standard deviations dont 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.

4
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 22- 4 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

5
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 22- 5 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 were comparing must be independent of each other.

6
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 22- 6 Assumptions and Conditions (cont.) Sample Size Condition: 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.

7
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 22- 7 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.

8
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 22- 8 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:

9
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 22- 9 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.

10
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Example – Two Proportion Z Interval The Gallup Poll selected a random sample of 520 women and 506 men and asked who is more intelligent, men or women? 28% of men and 14% of women thought that men were more intelligent. Is there a gender gap in opinions about which sex is smarter? Slide 22- 10

11
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 2 Proportion Confidence Intervals STAT TESTS – B: 2-PropZInt X1 – men who think they are more intelligent N1 – total men in sample X2 – women who think they are more intelligent N2 – total women in sample C-Level - confidence interval Slide 22- 11

12
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 22- 12 Everyone into the Pool The typical hypothesis test for the difference in two proportions is the one of no difference. In symbols, H 0 : p 1 – p 2 = 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.

13
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 22- 13 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.)

14
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 22- 14 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:

15
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 22- 15 Compared to What? Well 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 doesnt provide a standard deviation, so well use a standard error (here, pooled).

16
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 22- 16 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 H 0 : p 1 = p 2. Because we hypothesize that the proportions are equal, we pool them to find

17
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 22- 17 Two-Proportion z-Test (cont.) We use the pooled value to estimate the standard error: Now we find the test statistic: When the conditions are met and the null hypothesis is true, this statistic follows the standard Normal model, so we can use that model to obtain a P-value.

18
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley EX: Two-Proportion Z-Test The National Sleep Foundation asked a random sample of 1010 US adults questions about their sleep habits. Of the 995 respondents, 37% of adults reported that they snored at least a few nights a week during the past year. Would you expect that percentage to be the same for all age groups? 26% of the 187 people under 30 snored, compared to the 39% of the 811 in the older group. Is this difference of 13% real, or due only to natural fluctuations in the sample weve chosen? Slide 22- 18

19
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Calculator – 2 Proportion Z Test STAT TESTS 6:2-Prop Z Test X1 N1 X2 N2 > < Slide 22- 19

20
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 22- 20 What Can Go Wrong? Dont use two-sample proportion methods when the samples arent independent. These methods give wrong answers when the independence assumption is violated. Dont apply inference methods when there was no randomization. Our data must come from representative random samples or from a properly randomized experiment. Dont interpret a significant difference in proportions causally.

21
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 22- 21 What have we learned? Weve now looked at the difference in two proportions. Perhaps the most important thing to remember is that the concepts and interpretations are essentially the sameonly the mechanics have changed slightly.

22
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 22- 22 What have we learned? 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 dont pool.

Similar presentations

OK

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. Comparisons between two percentages are much more common than questions about isolated percentages. We often.

© 2018 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on sports day at school Ppt on physical properties of metals and nonmetals Ppt on automobile related topics such Maths ppt on surface area and volume Download ppt on turbo generator construction Ppt on group decision making Ppt on conservation of momentum video Ppt on series and parallel circuits video Ppt on paintings and photographs related to colonial period Ppt on intelligent manufacturing system