Join Our Discord

Learn Moreย ย ๐Ÿ‘‡

caret down
caret up
discord-logo

Join our Discord

1,000s of Fiveable Community students are already finding study help, meeting new friends, and sharing tons of opportunities among other students around the world! Don't miss out!ย  ๐ŸŽ‰

group of students
group of students

๐Ÿ“Šย ap stats

ย ย >ย ย 

โš–๏ธย Unit 6

ย ย โ€ขย ย โฑ๏ธ4 min read

6.8 Confidence Intervals for the Difference of Two Proportions

Josh Argo

josh argo

โฑ๏ธ June 5, 2020

๐Ÿ“…โŒจ๏ธ

When Can I Use 2 Prop Z Interval?

Have you ever seen two athletes and wondered how much better one was than the other? Maybe a basketball player who is REALLY good at three pointers and another who seems to be just as good. How can you tell if one is actually better than the other?

One way to look at that is to determine what the difference in their shot percentage is by using a confidence interval. A confidence interval will give us a range of numbers that the difference in their percentages will be within.

Necessary Conditions

As with any forms of inference, we have some necessary conditions to check. These are essential anytime we are using a sample to make an inference about a population.

๐ŸŒŸRandom

Probably the most important condition is that we need to be sure that both of our samples come from random samples. If we don't take a random sample from our population, then our findings suffer from sampling bias and we are stuck and we can't generalize our findings to our population. ๐Ÿ˜ž

๐ŸŒŸIndependence

To check that our sample is independent, we need to make sure that both of our populations are at least 10 times that of our samples. Also, if we are dealing with a randomized experiment, the random assignment of treatments classifies our samples as independently selected.

๐ŸŒŸNormal

When dealing with proportions, we always check our normal condition by using the Large Counts Condition, which states that our expected successes and failures is at least 10. Since we have two samples in this type of test, we have to check this condition for both samples. In other words,

https://firebasestorage.googleapis.com/v0/b/fiveable-92889.appspot.com/o/images%2FScreen%20Shot%202020-04-22%20at%205.12-H8hRLQ96RDVo.png?alt=media&token=556059cc-53f3-45cc-bbf7-9e6c53d5502f

This verifies that our confidence interval is based off of a normal sampling distribution.

How Do I Calculate?

As I am sure you remember from Unit 6.2, a confidence interval is based on two aspects: a point estimate and a margin of error. A confidence interval for the difference of two population proportions is no different.

Point Estimate

In the case of a confidence interval for two proportions, the point estimate is the difference in our two sample proportions. We can find this by simply subtracting the two sample proportions, or p-hats.

Margin of Error

As before, our margin of error is the buffer zone that we add and subtract to our point estimate to be sure that our interval encompasses our true population proportion difference. This is based off of two things: our critical value (z-score) and our standard error.

Total Formula

Our total formula as found on the AP Statistics Course Exam Description looks like this:

https://firebasestorage.googleapis.com/v0/b/fiveable-92889.appspot.com/o/images%2FScreen%20Shot%202020-04-22%20at%205.17-Kso6BHnGY5yd.png?alt=media&token=06949e5f-5e5d-4484-908e-f27e24291e73

image courtesy of: apcentral.collegeboard.org

Using a Calculator

A much more efficient way of calculating a confidence interval for the difference of two population proportions is to use some form of technology such as a graphing calculator. On most common calculators, you will select "2 Prop Z Interval" from the Stats/Tests menu.

Example

The age old argument of MJ vs. Lebron has risen again. In an effort to prove your point, you take their two career shots made percentages to see if they are REALLY different. To test this claim, you decide to construct a confidence interval for the difference in their proportion of shots. We take a sample of MJ shots and Lebron's shots from their first season in NBA. According to basketball-reference.com, MJ attempted 1623 field goals his first season, making 836 of them. Lebron attempted 1493 field goals, making 622 of his shots. Construct and interpret a 95% confidence interval to determine their difference in proportions of shots made.

Conditions

  • Random: Since the problem looked at their first season, we will assume they were "randomly chosen". Sometimes problems don't specify that it was randomly selected so we have to assume they were and proceed.

  • Independent: Since it is reasonable to believe that MJ took at least 16,230 shots in his career and Lebron has taken at least 14,930 shots, we will say they are independent samples.

  • Normal: Both MJ and Lebron had at least 10 makes and misses from their samples, so we can use a normal approximation for the sampling distribution of the difference in their proportion of shots made.

Do Calculations

Using a calculator for our calculations, we entered our data into "2 Prop Z Interval"

https://firebasestorage.googleapis.com/v0/b/fiveable-92889.appspot.com/o/images%2FScreen%20Shot%202020-04-23%20at%2010.42-wbHJEPkh38Nl.png?alt=media&token=22c959bf-0e95-40e2-8fdc-8530d66b0db1

Which gives us the following interval:

https://firebasestorage.googleapis.com/v0/b/fiveable-92889.appspot.com/o/images%2FScreen%20Shot%202020-04-23%20at%2010.43-eVDEEwjPy6Nj.png?alt=media&token=b198928f-f125-4727-8ff0-f1d530eaecd5

To find out more about how to interpret this interval, click ahead to Unit 6.9...

๐ŸŽฅWatch: AP Stats - Inference: Confidence Intervals for Proportions

A tent in the woods with a fire

Get your ap stats survival pack!

Download our ap stats survival pack and get access to every resource you need to get a 5.

ap stats study guides

โœŒ๏ธย  Unit 2: Exploring Two-Variable Data

โš–๏ธย  Unit 6: Inference for Categorical Data: Proportions

๐Ÿ˜ผย  Unit 7: Inference for Qualitative Data: Means

โœณ๏ธย  Unit 8: Inference for Categorical Data: Chi-Square

๐Ÿ“ˆย  Unit 9: Inference for Quantitative Data: Slopes

๐Ÿงย  Multiple Choice Questions (MCQs)

continue learning

Slide 1 of 13
Fiveable

Join Our Discord

discord-logo

Fiveable Community students are already meeting new friends, starting study groups, and sharing tons of opportunities for other high schoolers. Soon the Fiveable Community will be on a totally new platform where you can share, save, and organize your learning links and lead study groups among other students!๐ŸŽ‰

*apยฎ and advanced placementยฎ are registered trademarks of the college board, which was not involved in the production of, and does not endorse, this product.

ยฉ fiveable 2021 | all rights reserved.

2550 north lake drive
suite 2
milwaukee, wi 53211