1 / 21

8.4: two-proportion inference tests

8.4: two-proportion inference tests. Objective: To test claims about inferences for two proportions, under specific conditions. The standard deviation of the difference between two proportions.

danil
Télécharger la présentation

8.4: two-proportion inference 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. 8.4: two-proportion inference tests Objective:To test claims about inferences for two proportions, under specific conditions

  2. 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 +

  3. Assumptions & 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.

  4. Assumptions & conditions • 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.

  5. 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.

  6. 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.

  7. 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.

  8. Two-proportion z-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.

  9. Two-proportion z-interval example (cont.)

  10. Pooling P • 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.

  11. Pooling P (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.)

  12. Pooling P (cont.) • We then put this pooled value into the formula, substituting it for both sample proportions in the standard error formula: • 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).

  13. 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

  14. 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.

  15. 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.

  16. 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 t-model, and calculate your P-value.

  17. Steps for two-proportion z-tests (cont.) • Make your conclusion.

  18. Calculator tips • Stat  TESTS • 6: 2-PropZTest • Enter values • Calculate

  19. Two-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?

  20. Two-proportion z-test example (cont.)

  21. Assignments • Day 1: 8.4 Book Page # 1, 7, 9, 18 • Day 2: 8.4 Book Page # 3, 10, 20, 22

More Related