AP Statistics · Unit 3 · Inference for Categorical Data: Proportions
3.7 Carrying out a test for a proportion
Carry out a test for a proportion, decide whether to reject the null hypothesis, and state the conclusion in context.
1/5A test follows four steps from hypotheses to conclusion
- A test follows four steps from hypotheses to conclusion
- The z statistic measures distance from the null value in standard deviations
- Comparing the p-value with the significance level gives the decision
- A conclusion in context links the decision to the population proportion
- A decision gives evidence about the population, not proof
- Check your recall
- Practice: 10 questions
Part 1 of 5: A test follows four steps from hypotheses to conclusion
You can now set up a test and interpret a p-value. Next, combine those skills into one routine. Every test of a proportion follows the same four steps. Keeping them in order prevents most careless errors.
- State the hypotheses, defining in context.
- Check the conditions for a normal model.
- Calculate the test statistic and the p-value.
- Compare the p-value with , then conclude in context.
A test statistic turns the sample result into one number. For a proportion it is a z-score, which counts standard deviations from the null value.
Key term
test statistic
A test statistic is a value computed from sample data that measures how far the result lies from the null hypothesis value.
Part 2 of 5: The z statistic measures distance from the null value in standard deviations
Start with the idea. The difference between the sample proportion and the null value shows how far the result is from the claim. Dividing by the typical size of sampling variation standardizes that difference.
That gives . The denominator uses , because the test assumes the null hypothesis is true. A z value near 0 means the result is close to the claim. A z value far from 0 means it is not.
The p-value is the area beyond in the direction of . For , double the one-tail area.
Worked example
Finding z and the p-value
- Conditions: the sample is random, 200 is less than 10% of 5,000, and and are at least 10.
- Sample proportion: .
- Standard deviation: .
- Test statistic: .
- The alternative is lower, so the p-value is the lower-tail area below -1.85, which is about 0.032.
Answer: and the p-value is about 0.032.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: C · Worked explanation
Part 3 of 5: Comparing the p-value with the significance level gives the decision
Now make the decision. The significance level is the cutoff chosen before the data are seen. The rule has two outcomes, and each has its own wording.
- If the p-value is at or below , reject the null hypothesis. The data give convincing evidence for the alternative.
- If the p-value is above , fail to reject the null hypothesis. The data do not give convincing evidence for the alternative.
In the renewal example, 0.032 is below , so we reject .
Key terms · tap one for its definition
reject the null hypothesis
To reject the null hypothesis is to decide that the p-value is at or below and the data give convincing evidence against it.
fail to reject the null hypothesis
To fail to reject the null hypothesis is to decide that the p-value is above , so the data do not give convincing evidence against it.
Part 4 of 5: A conclusion in context links the decision to the population proportion
Next, write the conclusion. It connects the p-value, the decision, and the population. A complete answer has three parts.
- Compare: the p-value of 0.032 is less than .
- Decide: we reject .
- Conclude: there is convincing evidence that the proportion of all customers who renew is less than 0.30.
A conclusion about the sample alone earns no credit. The claim concerns the population, so the sentence must name it.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: A · Worked explanation
Part 5 of 5: A decision gives evidence about the population, not proof
Finally, consider what each decision means. Neither one proves anything, and the wording must reflect that.
What each decision means
- Decision
- Reject
- What it means
- Data are unlikely under the null; convincing evidence for
- What it does not mean
- is proven, or the null is impossible
- Decision
- Fail to reject
- What it means
- Data are consistent with the null; no convincing evidence for
- What it does not mean
- The null is true, or equals
When you reject , a small chance remains that random sampling misled you. When you fail to reject, the null value is only one plausible value among many. A random sample lets you carry either conclusion to the whole population.
Suppose the p-value is 0.20 for . The correct statement is that there is not convincing evidence that the proportion differs from 0.50. It is not a statement that the proportion equals 0.50.
Check your recall[12 marks]
5 written questions. Answer each one in your head or on paper, then open the mark scheme.
- 1.Calculate[3 marks]
A random sample of 150 customers, fewer than 10% of all customers, has 57 who prefer a new product. Calculate the z statistic for testing .
Show mark schemeHide mark scheme
Model answer
. The standard deviation is . Then .
- 1 mark for calculating
- 1 mark for calculating the standard deviation 0.04 using
- 1 mark for obtaining
- 2.Determine[2 marks]
Determine whether to reject when the p-value is 0.032 and .
Show mark schemeHide mark scheme
Model answer
Do not reject. The p-value of 0.032 is greater than 0.01, so we fail to reject .
- 1 mark for comparing 0.032 with 0.01
- 1 mark for concluding that we fail to reject
- 3.Justify[3 marks]
A test of against about the proportion of all voters in a county who support a measure gives a p-value of 0.20, with . Justify the decision and give the conclusion in context.
Show mark schemeHide mark scheme
Model answer
The p-value of 0.20 is greater than 0.05, so we fail to reject . There is not convincing evidence that the proportion of all voters in the county who support the measure differs from 0.50.
- 1 mark for comparing 0.20 with 0.05 and deciding to fail to reject
- 1 mark for stating that there is not convincing evidence for the alternative
- 1 mark for giving the conclusion about the proportion of all voters in the county
- 4.Explain[2 marks]
Explain why failing to reject the null hypothesis does not show that the null hypothesis is true.
Show mark schemeHide mark scheme
Model answer
A large p-value means the data are consistent with the null value but do not prove it. Many other values of the proportion could also be consistent with the data.
- 1 mark for stating that the data are consistent with the null but do not prove it
- 1 mark for noting that other values of the proportion could also fit the data
- 5.Describe[2 marks]
Describe what it means to reject the null hypothesis.
Show mark schemeHide mark scheme
Model answer
The p-value is at or below . The data give convincing evidence against the null hypothesis and for the alternative.
- 1 mark for stating that the p-value is at or below
- 1 mark for stating that there is convincing evidence for the alternative

Practice this topic
10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)
0 right0 of 10 answered
Includes the 2 quick checks in the note above.
EasyIdentify[1 mark]
Show answer and explanation
Answer: D · Worked explanation
Medium[1 mark]
Show answer and explanation
Answer: A · Worked explanation
Medium[1 mark]
Show answer and explanation
Answer: B · Worked explanation
Medium[1 mark]
Show answer and explanation
Answer: A · Worked explanation
Medium[1 mark]
Show answer and explanation
Answer: C · Worked explanation
Hard[2 marks]
Show answer and explanation
Answer: A · Worked explanation
Hard[2 marks]
Show answer and explanation
Answer: D · Worked explanation
Hard[2 marks]
Show answer and explanation
Answer: B · Worked explanation