Unit 3: Inference for Categorical Data — Proportions
Use inference for proportions when your data record categorical outcomes and your question concerns a population proportion or a difference between proportions. Choose a confidence interval to estimate a parameter and a significance test to assess a claim. Check randomness, independence, and count conditions, then explain the interval or p-value in the problem’s context.
Weight and scope
Exam weight: 15–25%. FRQ 3 is dedicated to an inference procedure — about half the time, that procedure is from this unit.
Topic by topic
3.1 Estimators
A statistic estimates a parameter. An unbiased estimator's sampling distribution is centered at the parameter; larger samples reduce its variability.
3.2 Sampling Distributions for Sample Proportions
p̂ has mean p and standard deviation √(p(1 − p)/n). It is approximately normal when the Large Counts condition holds.
3.3 Constructing a Confidence Interval for a Population Proportion
Check Random, 10% and Large Counts, then compute p̂ ± z*√(p̂(1 − p̂)/n).
3.4 Justifying a Claim Based on a Confidence Interval for a Population Proportion
Interpret the interval and the confidence level separately, and use the interval to support or question a claim.
3.5 Setting Up a Test for a Population Proportion
Identify the test, state hypotheses about p and check conditions using p₀.
3.6 p-Values
A p-value is the probability of a result at least as extreme as the one observed, assuming the null hypothesis is true.
3.7 Carrying Out a Test for a Population Proportion
Compute z, find the p-value, compare to α and conclude about p in context with non-definitive language.
3.8 Potential Errors When Performing Tests
Describe Type I and Type II errors in context. Power rises with larger samples, larger α and larger true effects.
3.9 Sampling Distributions for the Difference Between Sample Proportions
p̂₁ − p̂₂ is centered at p₁ − p₂. Variances add, so the standard deviations combine under a square root.
3.10 Constructing a Confidence Interval for the Difference Between Two Population Proportions
Use unpooled standard errors and check conditions for each sample.
3.11 Justifying a Claim Based on a Confidence Interval for the Difference Between Two Population Proportions
If the interval contains 0, a difference of 0 is plausible. Say which proportion is larger only when the interval supports it.
3.12 Setting Up a Test for the Difference Between Two Population Proportions
State hypotheses about p₁ − p₂ and check conditions with the pooled p̂c, because H₀ assumes p₁ = p₂.
3.13 Carrying Out a Test for the Difference Between Two Population Proportions
Compute z with the pooled standard error, find the p-value and conclude in context.
3.14 Setting Up a Chi-Square Test for Homogeneity or Independence
Homogeneity compares one categorical variable across groups; independence tests two variables in one sample. Expected count = row total × column total ÷ table total.
3.15 Carrying Out a Chi-Square Test for Homogeneity or Independence
Check that all expected counts are at least 5, compute χ², find the p-value and conclude in context.
Procedures you must know
| Question | Procedure |
|---|---|
| Estimate a single population proportion | 1-proportion z-interval |
| Test a claim about a single proportion | 1-proportion z-test |
| Compare two population proportions | 2-proportion z-interval |
| Test whether two proportions differ | 2-proportion z-test (pooled p̂) |
| Test whether two categorical variables are associated within one sample | Chi-square test for independence |
| Test whether the distribution of one categorical variable is the same across ≥2 populations | Chi-square test for homogeneity |
The four-step inference template
- State. Parameter(s) in context, hypotheses, significance level.
- Plan. Name the procedure and check its conditions (Random, 10%, Large Counts).
- Do. Compute the test statistic and p-value (or interval); cite df for chi-square.
- Conclude. Compare p to α, reject or fail to reject H₀, and answer the original question in context.
Every AP grader is trained on this template. If you skip a step, you skip a rubric point. See our FRQ tips guide for phrasing.
Conditions per procedure
| Procedure | Random | Independence | Normal / Large Counts |
|---|---|---|---|
| 1-proportion z-test | Yes | n ≤ 0.10N | np₀ ≥ 10 and n(1−p₀) ≥ 10 |
| 1-proportion z-interval | Yes | n ≤ 0.10N | np̂ ≥ 10 and n(1−p̂) ≥ 10 |
| 2-proportion z-test | Both random | Both n ≤ 0.10N | n₁p̂c, n₁(1−p̂c), n₂p̂c, n₂(1−p̂c) all ≥ 10 |
| Chi-square (indep./homog.) | Yes | n ≤ 0.10N per sample | All expected counts ≥ 5 |
Chi-square procedures
- Test for independence — one sample, two categorical variables recorded per subject. H₀: the two variables are independent in the population.
- Test for homogeneity — two or more independent samples, one categorical variable each. H₀: the distribution of that variable is the same across the populations.
- Expected count formula: (row total × column total) / grand total. Degrees of freedom: (rows − 1)(columns − 1).
- If the chi-square test rejects, follow up by comparing observed vs. expected in the cells that contributed the largest components — the FRQ often asks which cells drove the result.
Common mistakes
- Using the sample proportion p̂ in the Large Counts check for a test (should be p₀).
- Forgetting to pool p̂ for a 2-proportion z-test.
- Confusing chi-square for independence with chi-square for homogeneity.
- Concluding "the proportions are equal" after failing to reject H₀. You never accept H₀ — you fail to reject.
FAQ
When do I use a confidence interval instead of a significance test?
What does fail to reject the null hypothesis mean?
When do I use chi-square independence versus homogeneity?
Is chi-square goodness-of-fit still tested?
What conditions do I check for a 1-proportion z-test?
Keep going
Nail every rubric point on inference FRQs.
Cramapple grades every step of your inference template — parameter, hypotheses, conditions, procedure, statistic, conclusion — with the exact wording AP graders expect.