Join Our Discord

Learn Moreย ย ๐Ÿ‘‡

caret down
caret up

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

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

6.11 Carrying Out a Test for the Difference of Two Population Proportions

Josh Argo

josh argo

โฑ๏ธ June 11, 2020


Calculating Values

There are two important values that we need to calculate in order to carry out a test for the difference in two population proportions. We need to calculate a z-score and a p-value. Both need to be included in our response to receive full credit.


The z-score for our test is our critical value. We can calculate it by using the formula for any z-score:

That formula looks pretty ๐Ÿคข, so luckily if we run our test on a calculator, the z-score is part of our calculator output.


As with any p-value, we are using the normal curve and our z-score to calculate the probability of obtaining such a value (or one less than/greater than) that value. Also, using a calculator here is much easier than doing it by hand.

Concluding Test

Once we have our p-value and z-score, we can then make a judgment to either reject or fail to reject our null hypothesis.

Using P-Value

If we are using our p-value, we are inspecting if it is lower than our given significance level (0.05 if not specified). If our p-value is really low, this means that it was an extremely rare occurrence (WOW value!) and we have reason to believe our null hypothesis (center of our sampling distribution) wasn't accurate.

Therefore, if the p is low, reject the Ho.

Using Z-Score

If you are using the z-score, you are going to use the empirical rule of a normal distribution to check if our z-score represents an extremely rare value on our sampling distribution. Any z-score higher than 2 or 3 gives us reason to reject the Ho.

Continued Example

Let's continue our example of MJ vs. Lebron to see if we can verify our conclusion from Unit 6.9. Recall that Michael Jordan made 836/1623 shots and Lebron James made 622/1493 shots. We are seeing if our data gives significant statistical evidence that Michael Jordan is actually better than Lebron.


To avoid the lengthy and cumbersome formulas above, we are going to use a graphing calculator and the appropriate "2 Prop Z Test" to test our hypothesis:

The two big values that we need to write down from our output is our z-score and p-value.


To conclude our test, we can look at how low our p-value is, or how high our z-score is.


Our p-value is the best way to conclude. In this problem, we can see that our p-value is essentially 0. Therefore, we can say:

"Since our p-value is less than 0.05 (~0<0.05), we reject our Ho. We have convincing evidence that the true population proportion of shots made by MJ is higher than the true population proportion of shots made by Lebron."

Notice that this supports our conclusion from the confidence interval.


If not given the data to calculate a p-value or if only given the z-score, we can still make a judgment on the null hypothesis. In the example above, we end up with a z-score of 5.5, which is pretty extreme. Therefore, we can conclude that we can reject our null hypothesis in favor of our alternate hypothesis.

๐ŸŽฅWatch: AP Stats - Inference: Hypothesis Tests 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

Join Our Discord


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