Inference for Categorical Data: Proportions — AP Statistics Study Guide
For: AP Statistics candidates sitting AP Statistics.
Covers: AP Statistics Unit 6 — confidence intervals for one and two proportions, hypothesis tests (1-sample z and 2-sample z), assumption checks, Type I/II errors, power.
You should already know: Sampling distributions (Unit 5), probability (Unit 4).
A note on the practice questions: All worked questions in the "Practice Questions" section below are original problems written by us in the AP Statistics style for educational use. They are not reproductions of past College Board papers.
1. Why Inference for Proportions Matters
Unit 6 is the first inference unit — you finally use sampling distributions (Unit 5) to draw conclusions about populations from samples. About 12-15% of AP Stats covers Unit 6 directly. The two-sample test of proportions is one of the most-tested FRQ scenarios.
The unifying logic: take a sample, compute a statistic, ask "how likely is this statistic if the null hypothesis is true?" — and use the answer to support or reject claims about the population proportion.
2. Confidence interval for one proportion
When estimating an unknown population proportion :
Where is the sample proportion, is sample size, is the critical value (1.96 for 95%, 1.645 for 90%, 2.576 for 99%).
Conditions (always state and check on FRQ):
- Random sample.
- 10% condition: .
- Large Counts: AND .
Interpretation of a 95% CI: "We are 95% confident that the true population proportion is between [lower] and [upper]." Wrong: "There is a 95% probability that is in this interval" — once computed, is fixed, the interval is what's random.
3. Hypothesis test for one proportion
Setup:
- (null hypothesis, status quo).
- , , or (alternative).
- Significance level (usually 0.05).
Test statistic (1-sample z):
Note: standard error uses (null value), not .
Conditions same as for CI but with Large Counts using : AND .
P-value: probability of observing a test statistic as extreme as if is true.
- Two-sided: .
- Right-tail: .
- Left-tail: .
Decision: reject if . Otherwise fail to reject.
Conclusion in context: "We have/do not have evidence at the 5% level that the true proportion of [context] differs from [claim]."
4. Two-sample inference for proportions
Estimating difference (CI):
Conditions: each sample random, each independent, each , both samples meet Large Counts.
Hypothesis test: (equivalent to ).
where the pooled proportion . Under , both populations have the same proportion, so we pool the data for a better estimate.
5. Type I and Type II errors
| Reality | Decision: Reject | Decision: Fail to reject |
|---|---|---|
| true | Type I (false positive). Probability = . | Correct |
| false | Correct ("Power" = ) | Type II (false negative). Probability = . |
Power = probability of correctly rejecting a false . Increased by:
- Larger sample size .
- Larger effect (true farther from ).
- Larger (but this raises Type I risk too).
6. Worked Example
A medical study claims that 60% of patients respond to a new drug. A trial of 200 patients shows 105 respond. Test at the 5% level whether the true response rate is below 60%.
Solution.
Step 1: state hypotheses. , , .
Step 2: check conditions.
- Random ✓ (assumed from study design).
- 10% condition: 200 ≤ 0.10 × population (vast — all patients with this condition).
- Large Counts: ✓; ✓.
Step 3: compute. . SE = . .
Step 4: p-value. Left-tail: .
Step 5: decision. -value 0.0152 < 0.05 → reject .
Step 6: conclusion. We have evidence at the 5% level that the true response rate is below 60%.
7. Common Pitfalls
- Wrong SE for CI vs test: CI uses in SE; one-sample test uses . Two-sample test uses pooled .
- Sign of test statistic vs alternative direction: in our example; → left tail. Don't double-tail or right-tail mistakenly.
- "Accept ": never say this. Either "reject " or "fail to reject ". A failure to reject is not proof of .
- Random vs random assignment: random sampling tells us about population (inference); random assignment tells us about cause-effect. AP problems specify which.
- Conditions on FRQ: must state AND check, not just state. Lose points for either omission.
8. Practice Questions (CED Style)
- A poll of 1500 voters shows 825 favour candidate A. Construct a 95% CI for the true proportion supporting A. Interpret in context.
- A factory claims at most 2% of widgets are defective. A sample of 500 has 15 defective. Test the claim at .
- In a clinical trial, 40 of 200 patients in the treatment group recovered, vs 30 of 200 in the placebo group. Test whether the treatment is more effective at .
9. Quick Reference Cheatsheet
- 1-sample CI for : .
- 1-sample test for : .
- 2-sample CI for : .
- 2-sample test for : .
- Conditions: Random / 10% / Large Counts (≥10 each direction).
- for CI: 90%→1.645; 95%→1.96; 99%→2.576.
- Type I = false reject. Type II = false fail-to-reject.
10. What's Next
Inference for proportions is the prototype for Unit 7 (Inference for Means) — the same logic applies but with t-distribution instead of z (because sample replaces population). Unit 8 (Chi-Squared) generalises to multi-category. Use Ollie for any specific test set-up: "Should I use a 1-sample or 2-sample test here?" or "Why is my pooled SE different from my unpooled SE?"