AP Statistics · Unit 3 · Inference for Categorical Data: Proportions
3.5 Setting up a test for a proportion
State hypotheses for a population proportion, check the conditions for a test, and choose the correct procedure for a proportion scenario.
1/5A significance test checks a claim using sample data
- A significance test checks a claim using sample data
- Hypotheses describe the population proportion, not the sample
- The question’s wording decides the form of the alternative
- Three conditions must hold before a normal model is used
- The data type and question decide which test to use
- Check your recall
- Practice: 10 questions
Part 1 of 5: A significance test checks a claim using sample data
Earlier, an interval was used to judge a claim. A test judges a claim more directly, with a clear rule for when the evidence is strong. Suppose a company says that 30% of its customers renew each year. You sample customers and see a lower renewal rate in the sample.
A significance test asks whether that gap is bigger than random sampling alone would usually produce. It begins by setting up two competing statements about the population. No calculation happens until the setup is correct. A weak setup cannot be repaired later by careful arithmetic.
Key term
significance test
A significance test is a procedure that uses sample data to judge a claim about a population proportion by measuring evidence against it.
Part 2 of 5: Hypotheses describe the population proportion, not the sample
Now state the two competing claims. The null hypothesis, written , says the population proportion equals one specific value. The alternative hypothesis, written , says the proportion differs from that value.
Let be the population proportion and the claimed value, called the null value. The sample proportion, , is the fraction of the sample with the trait. The null hypothesis is then .
Key terms · tap one for its definition
null hypothesis
The null hypothesis is the claim tested by a significance test, stating that the population proportion equals a specific value, .
alternative hypothesis
The alternative hypothesis is the claim that the population proportion differs from the null value, which the data are used to support.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: A · Worked explanation
Part 3 of 5: The question’s wording decides the form of the alternative
Next, decide the direction. Read the question for the researcher’s suspicion before looking at any data. Two forms are possible, and the choice affects how the evidence is judged later.
- A one-sided alternative, or , names a direction such as lower or greater.
- A two-sided alternative, , allows a difference in either direction.
Worked example
Writing hypotheses
- Define the parameter: is the proportion of all customers who order a drink with milk.
- The null value comes from the claim, so .
- The manager suspects a lower proportion, so the alternative is one-sided: .
Answer: and , where is the proportion of all customers who order a drink with milk.
The null value comes from the claim, and the direction comes from the suspicion. The sample result plays no part in either choice. Choosing the direction after seeing the data would bias the test.
Key terms · tap one for its definition
one-sided alternative
A one-sided alternative is an alternative hypothesis that states the population proportion differs from the null value in one specified direction.
two-sided alternative
A two-sided alternative is an alternative hypothesis that states the population proportion differs from the null value in either direction.
Part 4 of 5: Three conditions must hold before a normal model is used
Once the hypotheses are set, check that the test is valid. These checks let you model the possible sample proportions with a normal curve. If a check fails, the test results may not be reliable. Let be the sample size.
- The sample is random, or the data come from a randomized experiment.
- The 10% condition holds: the sample is no more than 10% of the population, so observations are nearly independent.
- The large counts condition holds: and .
Worked example
Checking conditions
- Random: the sample is random, as given.
- 10%: 10% of 5,000 is 500, and 150 is less than 500.
- Large counts: and , and both are at least 10.
Answer: All three conditions are met, so a normal model is appropriate.
Key terms · tap one for its definition
10% condition
The 10% condition requires that a sample taken without replacement be no more than 10% of the population, so observations are nearly independent.
large counts condition
The large counts condition requires that the expected successes and failures are both at least 10.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: C · Worked explanation
Part 5 of 5: The data type and question decide which test to use
Finally, choose the procedure. Ask what kind of data you have and what the question needs. The answers narrow the choices quickly.
A one-sample z-test for a proportion tests a claimed proportion. It uses one random sample and a categorical variable with two outcomes. Its name refers to the z statistic. This statistic counts how many standard deviations the sample proportion lies from the claimed value.
Matching a scenario to a procedure
- Scenario
- One sample, two outcomes, a claimed proportion
- Procedure
- One-sample z-test for a proportion
- Scenario
- Estimate a proportion with no claim to test
- Procedure
- Confidence interval for a proportion
- Scenario
- Quantitative data, such as heights
- Procedure
- A test for a mean, not a proportion
Key term
one-sample z-test for a proportion
A one-sample z-test for a proportion is a significance test of a claimed population proportion that uses a z statistic from one random sample.
Check your recall[12 marks]
5 written questions. Answer each one in your head or on paper, then open the mark scheme.
- 1.Identify[3 marks]
A bakery claims that 25% of its customers buy a pastry. The owner believes the true proportion is higher. Identify the null and alternative hypotheses, defining the parameter.
Show mark schemeHide mark scheme
Model answer
Let be the proportion of all customers who buy a pastry. and .
- 1 mark for defining as the proportion of all customers who buy a pastry
- 1 mark for writing
- 1 mark for writing
- 2.Explain[2 marks]
Explain why hypotheses are written about the population proportion rather than the sample proportion.
Show mark schemeHide mark scheme
Model answer
A test judges a claim about the whole population. The sample proportion is only the evidence collected, so it is not part of the claim.
- 1 mark for stating that the claim concerns the population
- 1 mark for stating that the sample proportion is the evidence, not part of the claim
- 3.Determine[2 marks]
Determine whether the large counts condition is met for a random sample of 60 when .
Show mark schemeHide mark scheme
Model answer
and . The expected number of successes, 6, is less than 10, so the condition is not met.
- 1 mark for calculating both expected counts, 6 and 54
- 1 mark for concluding that the condition is not met because 6 is less than 10
- 4.Justify[2 marks]
A random sample of 200 voters is asked a yes or no question to test a claim that 55% of all voters in a city agree. Justify the choice of a one-sample z-test for a proportion.
Show mark schemeHide mark scheme
Model answer
There is one random sample and one categorical variable with two outcomes. The question compares the proportion with a claimed value.
- 1 mark for identifying one random sample with a two-outcome categorical variable
- 1 mark for linking the test to comparing a proportion with a claimed value
- 5.Describe[3 marks]
Describe the three conditions to check before using a one-sample z-test for a proportion.
Show mark schemeHide mark scheme
Model answer
The sample must be random. The sample must be no more than 10% of the population. Both and must be at least 10.
- 1 mark for stating that the sample is random
- 1 mark for stating the 10% condition
- 1 mark for stating that and are both at least 10

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: B · Worked explanation
Medium[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: C · Worked explanation
MediumIdentify[1 mark]
Show answer and explanation
Answer: B · Worked explanation
Hard[2 marks]
Show answer and explanation
Answer: D · Worked explanation
Hard[2 marks]
Show answer and explanation
Answer: A · Worked explanation
Hard[2 marks]
Show answer and explanation
Answer: C · Worked explanation