1 / 18

Two Proportion z-Interval and z-Tests

Two Proportion z-Interval and z-Tests. Small differences. Recall from Random Variables. If X and Y are two independent Random Variables from Normal distributions, we can combine them to get a new Random Variable that is also from a Normal distribution. Mean: Standard Deviation:.

Download Presentation

Two Proportion z-Interval and z-Tests

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Two Proportion z-Interval and z-Tests Small differences.

  2. Recall from Random Variables • If X and Y are two independent Random Variables from Normal distributions, we can combine them to get a new Random Variable that is also from a Normal distribution. Mean: Standard Deviation:

  3. Differences between two proportions • We can create a confidence interval for the difference between the two proportions. • Conditions: • Randomization • Independence: Independence between the two groups • 10% Condition: check for both groups • Success/Failure: check for both groups separately, use and All conditions have been met to use a Normal model for the differences in two proportions.

  4. Two-proportion z-interval • Since the Normal model is being used we need a mean and standard deviation(error). • Mean: • Standard Error: • CI: • Be very careful with the conclusion.

  5. Example: Gender and Binge Drinking • College students were randomly selected and asked about how much alcohol they consumed on a weekly basis. Over a certain amount of alcohol consumed was considered binge drinking and those individuals were labeled frequent binge drinkers. The following table shows the number of men and women who were frequent binge drinkers. What is the difference in the proportions of male and female binge drinkers?

  6. Conditions: • Randomization: Stated as random samples • Independence: It is safe to assume that men and women are independent of each other. • 10% Condition: 5348 male college students is less than 10% of all male college students 8471 female college students is less than 10% of all female college students • Success/Failure: All conditions have been met to use a Normal model for the differences of two proportions.

  7. Two-proportion z-interval at 95% confidence CI: =(0.039, 0.069) We are 95% confident that the true proportion of men who are frequent binge drinkers is between 3.9% to 6.9% higher than the proportion of women who are frequent binge drinkers.

  8. Comparing 2 Group Proportions • Three possibilities: • The two proportions are the same. • The two proportions are different. • One proportion is larger than the other. The null hypothesis would be that they are the same. We’ll then run a test to see if there are different(two-tail) or one is larger than the other(one-tail)

  9. Hypotheses • The null should be that there is no difference between the two proportions or that they are equal. H0: p1 = p2 • But we have no probability model for this situation. • Since both proportions come from independent(we hope) Normal distributions, the difference of the two would be a new Normal distribution. H0: p1 – p2 = 0 • We can test against this null hypothesis now.

  10. Alternative Hypothesis • The alternative hypotheses are then: • p1 – p2 < 0 The proportion of group 1 is lower than group 2 • p1 – p2 > 0 The proportion of group 1 is higher than group 2 • p1 – p2 ≠ 0 The proportion of group 1 is not the same as group 2

  11. Conditions • Randomization • Independence: Independence between the two groups • 10% Condition: check for both groups • Success/Failure: check for both groups separately All conditions have been met to use a Normal model for the difference of two proportions

  12. Mechanics • We need to calculate a pooled proportion from the two we are given. • The assumption is that they are equal, so given: • The pooled proportion is: • This will is used to calculate a standard deviation for the two proprotions.

  13. Pooled Standard Deviation: • Test Statistic: • P-Value = P(z <,> ___)

  14. Conclusion • Compare P-Value to stated alpha. • Talks about difference between the two proportions only, not the values of the individual proportions.

  15. Example: Binge Drinkers Is there evidence that male college students have a higher proportion of frequent binge drinking than female college students? Hypothesis: H0: p1 – p2 = 0 The proportion of male and female college students that are frequent binge drinkers is the same. HA: p1 – p2 > 0 The proportion of male college students that are frequent binge drinkers is more than female college students.

  16. Conditions: • Randomization: Stated as random samples • Independence: It is safe to assume that men and women are independent of each other. • 10% Condition: 5348 male college students is less than 10% of all male college students 8471 female college students is less than 10% of all female college students • Success/Failure: All conditions have been met to use a Normal model for the differences of two proportions.

  17. Mechanics:

  18. Conclusion: Since the P-Value is so much smaller than alpha (8.66 x 10-14 < 0.05), we reject the null hypothesis. There is statistically significant evidence that the proportion of male college students who are frequent binge drinkers is more than female college students.

More Related