Dove's LibraryDove's Library

3.7 - Carrying Out a Test for a Population Proportion

Overview

Topic 3.5 set up a test for a population proportion (hypotheses and conditions), and Topic 3.6 explained what a pp-value means. Now you finish the job: calculate the test statistic and pp-value, compare the pp-value to a significance level, and write a conclusion in context. Together, these steps make up the one-sample zz-test for a population proportion, which shows up on the AP exam in both multiple-choice and free-response questions.

The test statistic

The test statistic for a population proportion is
z=p^−p0p0(1−p0)nz = \frac{\hat{p} - p_0}{\sqrt{\dfrac{p_0(1 - p_0)}{n}}}
where p^\hat{p} is the sample proportion, p0p_0 is the null value from H0H_0, and nn is the sample size.
  • What it measures: how many standard deviations the sample proportion is from the null value. It matches the general form on the AP formula sheet: standardized test statistic =statistic−parameterstandard deviation of statistic= \frac{\text{statistic} - \text{parameter}}{\text{standard deviation of statistic}}.
  • Why p0p_0 is in the denominator: a test assumes H0H_0 is true, so it uses the standard deviation the sampling distribution of p^\hat{p} would have if p=p0p = p_0. (A confidence interval uses p^\hat{p} instead, because there's no null value to assume.)
  • What the sign tells you: a positive zz means p^\hat{p} is above p0p_0, and a negative zz means it's below.
When the null hypothesis is true, the zz-statistic has a standard normal distribution (approximately, once the conditions are met).

The null distribution as a normal model

The null distribution (the distribution of the test statistic when H0H_0 is true) can be approximated by a probability model such as the standard normal distribution. Here's why: when the conditions hold, the sampling distribution of p^\hat{p} is approximately normal with mean p0p_0 and standard deviation p0(1−p0)/n\sqrt{p_0(1 - p_0)/n} (Topic 3.2). Standardizing turns it into the standard normal distribution, N(0,1)N(0, 1). So once you have zz, the pp-value is just an area under the standard normal curve.

Finding the pp-value

Find the pp-value from the standard normal distribution, using a table or technology:
  • Normal table: the table gives the area to the left of zz. For a right tail, subtract from 1. For a two-sided test, double the tail area.
  • normalcdf: on a TI-84, normalcdf(lower, upper, 0, 1) gives the area between two zz-values. Use -1E99 or 1E99 for a tail.
  • The whole test at once: STAT, TESTS, 1-PropZTest. Enter p0p_0, xx (the number of successes), nn, and the direction of HaH_a. It reports zz, the pp-value, and p^\hat{p}.
If you use the calculator on the AP exam, name the procedure in words ("one-sample zz-test for a population proportion"). Calculator syntax like 1-PropZTest doesn't count as naming it. Writing the formula with the numbers plugged in is the safest way to show your work.

The significance level

The significance level of a test, written α\alpha, is the probability of rejecting the null hypothesis when it is actually true. It's chosen before the data are collected, either given in the problem or set by the researcher. Common choices are 0.050.05, 0.010.01, and 0.100.10. If a problem doesn't give one, use α=0.05\alpha = 0.05 and say so.
A result is statistically significant at level α\alpha when its pp-value is less than or equal to α\alpha. The comparison between the pp-value and α\alpha is what decides it.

Making the decision

A formal decision compares the pp-value to α\alpha out loud:
Comparison
Decision
What it means
pp-value ≤α\leq \alpha
Reject H0 ⁣:p=p0H_0\colon p = p_0
There is convincing statistical evidence for HaH_a.
pp-value >α> \alpha
Fail to reject H0H_0
There is not convincing statistical evidence for HaH_a.
A test can reject H0H_0 or fail to reject it, but it can never prove that H0H_0 is true. A lack of evidence for the alternative is not the same as evidence for the null. That's why you write "fail to reject H0H_0" and never "accept H0H_0."

Writing the conclusion

The conclusion is stated in context, in terms of the alternative hypothesis, with non-definitive language ("convincing evidence that," not "proves that"). It names the parameter and the population. Use these templates:
  • If pp-value ≤α\leq \alpha: "Because the pp-value of ___ is less than α=\alpha = ___, we reject H0H_0. There is convincing evidence that the true proportion of [population] who [response] is [greater than / less than / different from] p0p_0."
  • If pp-value >α> \alpha: "Because the pp-value of ___ is greater than α=\alpha = ___, we fail to reject H0H_0. There is not convincing evidence that the true proportion of [population] who [response] is [greater than / less than / different from] p0p_0."
The conclusion is also your answer to the study's investigative question. If the question was "Is the satisfaction rate lower than the company claims?", the test's conclusion is the statistical reasoning behind your yes or no.

The four steps

AP free-response inference questions are scored on these four steps, and every significance test in Units 3 and 4 uses them:
  1. State: the hypotheses, with the parameter defined in context, and the significance level α\alpha.
  1. Plan: name the procedure (here, a one-sample zz-test for a population proportion) and check each condition in context: randomization, 10%, and normality (Topic 3.5).
  1. Do: calculate the test statistic and the pp-value, showing the formula with your numbers plugged in.
  1. Conclude: compare the pp-value to α\alpha, make the decision, and state the conclusion in context, in terms of HaH_a.

Example 1: Customer satisfaction (AP-style)

A phone company advertises that 80% of its customers are satisfied with their service. A consumer group thinks the true proportion is lower. The group selects a random sample of 400 of the company's more than 50,000 customers and finds that 302 are satisfied. Do the data give convincing evidence at α=0.05\alpha = 0.05 that less than 80% of all the company's customers are satisfied?
State:
H0 ⁣:p=0.80Ha ⁣:p<0.80H_0\colon p = 0.80 \qquad H_a\colon p < 0.80
where pp is the true proportion of all the company's customers who are satisfied. Use α=0.05\alpha = 0.05.
Plan: One-sample zz-test for a population proportion. Check the conditions:
  • Randomization: the data come from a random sample of 400 customers.
  • 10%: 400≤10%400 \leq 10\% of all customers, since 10% of 50,000 is 5,000.
  • Normality: np0=400(0.80)=320≥10np_0 = 400(0.80) = 320 \geq 10 and n(1−p0)=400(0.20)=80≥10n(1 - p_0) = 400(0.20) = 80 \geq 10.
Do: The sample proportion is p^=302400=0.755\hat{p} = \frac{302}{400} = 0.755.
z=0.755−0.800.80(0.20)400=−0.0450.02=−2.25z = \frac{0.755 - 0.80}{\sqrt{\dfrac{0.80(0.20)}{400}}} = \frac{-0.045}{0.02} = -2.25p-value=P(z≤−2.25)=0.0122p\text{-value} = P(z \leq -2.25) = 0.0122
3.7 - Carrying Out a Test for a Population Proportion
The graph shows the null distribution: the sampling distribution of p^\hat{p} if 80% of customers were satisfied. The observed p^=0.755\hat{p} = 0.755 is 2.252.25 standard deviations below 0.800.80, and the pp-value is the tiny shaded area to its left.
Conclude: Because the pp-value of 0.01220.0122 is less than α=0.05\alpha = 0.05, we reject H0H_0. There is convincing evidence that the true proportion of all the company's customers who are satisfied is less than 0.800.80.
Calculator check: 1-PropZTest with p0=0.8p_0 = 0.8, x=302x = 302, n=400n = 400, and prop<p0\text{prop} < p_0 gives z=−2.25z = -2.25 and p=0.0122p = 0.0122.

Example 2: Has support changed? (two-sided)

Last year, 45% of the residents of a large city supported building a new stadium. This year, a reporter wants to know whether support has changed. She surveys a random sample of 250 residents, and 122 of them support the stadium. Use α=0.05\alpha = 0.05.
State:
H0 ⁣:p=0.45Ha ⁣:p≠0.45H_0\colon p = 0.45 \qquad H_a\colon p \neq 0.45
where pp is the true proportion of all the city's residents who support the new stadium this year. Use α=0.05\alpha = 0.05. The alternative is two-sided because the question asks whether support has changed, in either direction.
Plan: One-sample zz-test for a population proportion.
  • Randomization: random sample of 250 residents.
  • 10%: 250 is less than 10% of the residents of a large city.
  • Normality: 250(0.45)=112.5≥10250(0.45) = 112.5 \geq 10 and 250(0.55)=137.5≥10250(0.55) = 137.5 \geq 10.
Do: p^=122250=0.488\hat{p} = \frac{122}{250} = 0.488.
z=0.488−0.450.45(0.55)250=0.0380.0315≈1.21z = \frac{0.488 - 0.45}{\sqrt{\dfrac{0.45(0.55)}{250}}} = \frac{0.038}{0.0315} \approx 1.21p-value=P(z≤−1.21)+P(z≥1.21)≈2(0.1136)≈0.227p\text{-value} = P(z \leq -1.21) + P(z \geq 1.21) \approx 2(0.1136) \approx 0.227
3.7 - Carrying Out a Test for a Population Proportion
Conclude: Because the pp-value of 0.2270.227 is greater than α=0.05\alpha = 0.05, we fail to reject H0H_0. There is not convincing evidence that the true proportion of all the city's residents who support the new stadium has changed from 0.450.45.
This does not show that support is still exactly 45%. A sample proportion of 0.4880.488 is consistent with p=0.45p = 0.45, but it's also consistent with p=0.48p = 0.48 or p=0.50p = 0.50. (A 95% confidence interval from this sample, about 0.4260.426 to 0.5500.550, contains all three.)

Example 3: Finishing the bus test from Topic 3.5

In Topic 3.5, Example 2, a transportation planner set up a test about a school district's claim that 25% of its high school students ride the bus. In her random sample of 200 of the district's 6,500 high school students, 64 ride the bus. No significance level was given, so use α=0.05\alpha = 0.05.
State: H0 ⁣:p=0.25H_0\colon p = 0.25 and Ha ⁣:p>0.25H_a\colon p > 0.25, where pp is the true proportion of all high school students in the district who ride the bus to school, with α=0.05\alpha = 0.05.
Plan: One-sample zz-test for a population proportion. Topic 3.5 checked the conditions: a random sample, 200≤10%(6,500)=650200 \leq 10\%(6{,}500) = 650, and np0=50np_0 = 50 and n(1−p0)=150n(1 - p_0) = 150, both at least 10.
Do: p^=64200=0.32\hat{p} = \frac{64}{200} = 0.32.
z=0.32−0.250.25(0.75)200=0.070.0306≈2.29p-value=P(z≥2.29)≈0.011z = \frac{0.32 - 0.25}{\sqrt{\dfrac{0.25(0.75)}{200}}} = \frac{0.07}{0.0306} \approx 2.29 \qquad p\text{-value} = P(z \geq 2.29) \approx 0.011
Conclude: Because the pp-value of 0.0110.011 is less than α=0.05\alpha = 0.05, we reject H0H_0. There is convincing evidence that the true proportion of all high school students in the district who ride the bus to school is greater than 0.250.25.

Common mistakes

  • Using p^\hat{p} in the standard deviation of the test statistic. A test assumes H0H_0, so it uses p0p_0.
  • Writing hypotheses or conclusions about p^\hat{p}. Hypotheses and conclusions are about the parameter pp, the true proportion for the whole population.
  • Saying "accept H0H_0" or "this proves HaH_a." Use "fail to reject H0H_0" and "convincing evidence."
  • Comparing zz to α\alpha. Compare the pp-value to α\alpha.
  • A conclusion with no context or no link to the pp-value. Say how the pp-value compares to α\alpha, then state the conclusion about the population in the problem's words.
  • Picking α\alpha after seeing the pp-value. The significance level is set before the data are collected.

AP® is a registered trademark of the College Board, which is not affiliated with Dove's Library and was not involved in the production of, and does not endorse, this website.

Providing free, high-quality AP notes to help students succeed, earn college credit, and reach their educational goals, ensuring everyone has access to the resources they need.

© 2026 Standard Learning Group, Inc., which operates Dove's Library. All rights reserved.