1 / 16

Confidence Intervals for Comparing Two Proportions

Confidence Intervals for Comparing Two Proportions. Section 6.1. Section 6.1 CI for Two Proportions. We are interested in confidence intervals for the difference p 1 – p 2 between the unknown values of two population proportions. WARMUP.

wsmith
Download Presentation

Confidence Intervals for Comparing Two Proportions

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. Confidence Intervals for Comparing Two Proportions Section 6.1

  2. Section 6.1CI for Two Proportions We are interested in confidence intervals for the difference p1 – p2 between the unknown values of two population proportions

  3. WARMUP Do NFL Teams With Domes Have an Unfair Advantage? Do NFL teams that play their home games in a dome have an advantage over teams that do not play their home games in a dome?

  4. x ˆ = p 1 1 n 1 Point Estimator of p1 – p2 : • Two random samples are drawn from two populations. • The number of successes in each sample is recorded. • The sample proportions are computed. Sample 1 Sample size n1 Number of successes x1 Sample proportion Sample 2 Sample size n2 Number of successes x2 Sample proportion

  5. Sampling distribution of

  6. Large-sample CI for two proportions For two independent samples of sizes n1 and n2 with sample proportion of successes 1 and 2 respectively, an approximate level C confidence interval for p1 – p2is C is the area under the standard normal curve between −z* and z*. Use this method when

  7. Example: confidence interval for p1 – p2 • Estimating the cost of life saved • Two drugs are used to treat heart attack victims: • Streptokinase (available since 1959, costs $460) • t-PA (genetically engineered, costs $2900). • The maker of t-PA claims that its drug outperforms the traditional treatment using Streptokinase. • An clinical trial was conducted in 15 countries. • 20,500 patients were given t-PA • 20,500 patients were given Streptokinase • The number of subsequent deaths by heart attacks was recorded.

  8. Example: confidence interval for p1 – p2(cont.) • Experiment results • A total of 1497 patients treated with Streptokinase died. • A total of 1292 patients treated with t-PA died. • Estimate the difference in the death rates when using Streptokinase and when using t-PA.

  9. Example: confidence interval for p1 – p2(cont.) • Solution • The problem objective: Compare the outcomes of two treatments. • The data are nominal (a patient lived or died) • The parameter to be estimated is p1 – p2. • p1 = death rate with Streptokinase • p2 = death rate with t-PA

  10. Example: confidence interval for p1 – p2(cont.) • Compute: Manually • Sample proportions: • The 95% confidence interval estimate is

  11. Example: confidence interval for p1 – p2(cont.) • p1 = death rate with Streptokinase • p2 = death rate with t-PA • Interpretation • The interval (.0051, .0149) for p1 – p2 does not contain 0; it is entirely positive, which indicates that p1, the death rate for streptokinase, is greater than p2, the death rate for t-PA. • We estimate that the death rate for streptokinase is between .51% and 1.49% higher than the death rate for t-PA.

  12. Example: 95% confidence interval for p1 – p2 The age at which a woman gives birth to her first child may be an important factor in the risk of later developing breast cancer. An international study conducted by WHO selected women with at least one birth and recorded if they had breast cancer or not and whether they had their first child before their 30th birthday or after. • The parameter to be estimated is p1 – p2. • p1 = cancer rate when age at 1st birth >30 • p2 = cancer rate when age at 1st birth <=30 We estimate that the cancer rate when age at first birth > 30 is between .05 and .082 higher than when age <= 30.

  13. Beware!! Common Mistake !!! A common mistake is to calculate a one-sample confidence interval for p1, a one-sample confidence interval for p2, and to then conclude that p1and p2 are equal if the confidence intervals overlap. This is WRONG because the variability in the sampling distribution for from two independent samples is more complex and must take into account variability coming from both samples. Hence the more complex formula for the standard error.

  14. INCORRECT Two single-sample 95% confidence intervals: The confidence interval for the rightie BA and the confidence interval for the leftie BA overlap, suggesting no significant difference between Ryan Howard’s ABILITY to hit right-handed pitchers and his ABILITY to hit left-handed pitchers. Rightie interval: (0.274, 0.366) Leftie interval: (0.170, 0.280) 0 .095 .023 .167

  15. Reason for Contradictory Result

  16. Do NFL teams that play their home games in a dome have an advantage over teams that do not play their home games in a dome? Do NFL Teams With Domes Have an Unfair Advantage? The parameter to be estimated is p1 – p2. p1 = home win rate for dome teams p2 = home win rate for non-dome teams Since the confidence interval contains 0, there is no significant difference between the home win rate for dome teams and the home win rate for non-dome teams.

More Related