Inference for categorical data: proportions practice problems AP Statistics, Unit 3
Confidence intervals and significance tests for one proportion and for the difference of two proportions, with their conditions and interpretation. Try each question before you look: use the hint if you are stuck, then reveal the worked solution one step at a time.
On this page
Key equations for inference for categorical data: proportions
| p̂ = x / n | sample proportion |
|---|---|
| √(p̂(1 − p̂)/n) | standard error of p̂ |
| p̂ ± z* × SE | confidence interval |
| z = (p̂ − p0) / √(p0(1 − p0)/n) | one-proportion z test |
The formulas and tables are provided in the exam. Answers within 2.5% are marked correct (5% for probabilities), so values from a table or a calculator both count. The full sheet is in our AP Statistics formula sheet.
Warm-up questions
Quick checks on the core ideas. If these feel easy, go straight to the exam-style questions.
Hint
p̂ = successes/sample size.
Worked solution
- p̂ = 45/150 = 0.3.
Hint
SE = √(p̂(1 − p̂)/n).
Worked solution
- SE = √(0.3 × 0.7/150) = √0.0014.
- SE = 0.0374.
Hint
This is the Large Counts condition.
Worked solution
- At least 10 successes and 10 failures make the normal approximation reasonable.
- The answer is C. A and B are the Random and 10% conditions.
Exam-style questions
Questions at the level of the AP Statistics exam. The ones marked Challenge combine more than one idea.
Hint
Margin = z* × SE, with z* = 1.96.
Worked solution
- SE = 0.0374.
- Margin = 1.96 × 0.0374 = 0.0733.
Hint
Use p0 = 0.5 in the standard error, not p̂.
Worked solution
- p̂ = 0.56. SE = √(0.5 × 0.5/200) = 0.0354.
- z = (0.56 − 0.5)/0.0354 = 1.70.
Hint
The p-value is the area to the right of the test statistic.
Worked solution
- P(Z > 1.70).
- p-value = 0.045.
Hint
A p-value is calculated assuming H0 is true.
Worked solution
- The p-value is the probability, assuming H0, of a statistic at least as extreme as the one observed.
- The answer is C.
Hint
Use the pooled proportion in the standard error.
Worked solution
- Pooled p̂ = (60 + 45)/200 = 0.525.
- SE = √(0.525 × 0.475 × (1/100 + 1/100)) = 0.0706.
- z = (0.60 − 0.45)/0.0706 = 2.12.
Free-response practice
One original question in the style of the exam's free-response section. Answer it in full, with working, before you open the scoring guide.
Inference for proportions style · 10 points · about 22 minutes
A town council claims that 40% of residents support a new cycle lane. A local newspaper takes a random sample of 250 residents and finds that 118 support it. Does the sample give convincing evidence that more than 40% support the cycle lane?
- (a) State the hypotheses, defining the parameter.
- (b) Check the conditions for the test.
- (c) Calculate the test statistic and p-value.
- (d) State a conclusion in context, at the 5% level.
Write your full answer on paper first, then open the scoring guide and tick each point you earned.
Scoring guide and model answer
Part (a)
p = the proportion of all town residents who support the cycle lane. H0: p = 0.40; Ha: p > 0.40.
Part (b)
Random: random sample. 10%: 250 is less than 10% of the town's residents. Large Counts: 250(0.4) = 100 and 250(0.6) = 150, both at least 10.
Part (c)
p̂ = 0.472. z = (0.472 − 0.40)/√(0.4 × 0.6/250) = 0.072/0.0310 = 2.32. p-value = P(Z > 2.32) = 0.010.
Part (d)
Since 0.010 < 0.05, reject H0. There is convincing evidence that more than 40% of residents support the cycle lane.
Your mark: 0 of 10
Common mistakes in inference for categorical data: proportions
- Using p̂ instead of p0 in the standard error for a significance test.
- Writing hypotheses about p̂ instead of the population parameter p.
- Saying “accept H0” instead of “fail to reject H0”.
- Interpreting a 95% confidence interval as a 95% chance that p is in this particular interval.
Keep going
Revise the ideas behind these questions:
Then try real exam questions: AP Statistics past papers, with official scoring guidelines. · All AP Statistics units