AP Statistics · Unit 3 · 15-25% of the exam · ~30 class periods
Inference for Categorical Data: Proportions
AP Statistics Unit 3 covers inference for categorical data: confidence intervals and significance tests for one proportion and two proportions, plus chi-square tests. It is 15-25% of the multiple-choice section and about 30 class periods, the longest unit.
AP Statistics: Unit 3 (topics 3.1 Estimators, 3.2 Sampling Distributions for Sample Proportions, 3.3 Constructing a Confidence Interval for a Population Proportion, 3.4 Justifying a Claim Based on a Confidence Interval for a Population Proportion, 3.5 Setting Up a Test for a Population Proportion, 3.6 p-Values, 3.7 Carrying Out a Test for a Population Proportion, 3.8 Potential Errors When Performing Tests, 3.9 Sampling Distributions for the Difference Between Sample Proportions, 3.10 Constructing a Confidence Interval for the Difference Between Two Population Proportions, 3.11 Justifying a Claim Based on a Confidence Interval for the Difference Between Two Population Proportions, 3.12 Setting Up a Test for the Difference Between Two Population Proportions, 3.13 Carrying Out a Test for the Difference Between Two Population Proportions, 3.14 Setting Up a Chi-Square Test for Homogeneity or Independence, 3.15 Carrying Out a Chi-Square Test for Homogeneity or Independence). This is Unit 3 of the Fall 2026 AP Statistics course (15-25% of the multiple-choice section, about 30 class periods); it keeps the chi-square tests for homogeneity and independence while the chi-square goodness-of-fit test was removed from the exam.
What Unit 3 covers
Unit 3 is where AP Statistics turns from describing data and computing probabilities to statistical inference: using a sample to draw conclusions about a population. The categorical data here are counts of successes and failures, summarized as proportions. You estimate a population proportion (the true fraction of a population with some trait) using a sample proportion , read "p-hat."
Unit 3 is 15-25% of the multiple-choice section and about 30 class periods, which makes it the longest of the five units. It has 15 topics that build from inference for one proportion up to the difference between two proportions and then chi-square tests for two-way tables.
The official College Board framework frames the unit around questions like how to measure changing opinions over time and how to decide whether a difference between two groups is statistically significant.
Estimators and the sampling distribution of p-hat (topics 3.1 to 3.2)
3.1 Estimators. A sample statistic is a point estimator of the matching population parameter. An estimator is unbiased if, on average, it neither underestimates nor overestimates the parameter, and is an unbiased point estimator of .
3.2 Sampling distributions for sample proportions. When the sampled values are independent, the sampling distribution of has mean (the Greek letter mu, , denotes a mean) and standard deviation , where is the sample size. That distribution is approximately normal when and . Sampling without replacement also needs a random sample and the 10% condition, meaning the population is at least 10 times the sample size.
Confidence intervals for one proportion (topics 3.3 to 3.4)
3.3 Constructing a confidence interval. The procedure is a one-sample -interval for a population proportion, built as point estimate (critical value)(standard error), or . The standard error (SE) estimates the standard deviation of the sampling distribution, and is the critical value that encloses the middle of the standard normal curve. The three conditions are randomization, the 10% condition, and a normality condition that checks the observed successes and observed failures are each at least 10.
3.4 Justifying a claim. In repeated random sampling with the same , about of intervals built this way capture the true . You interpret a interval as "we are confident the interval from to captures the population proportion" in context. Raising the confidence level widens the interval, while raising the sample size narrows it, with the width roughly proportional to . The how to calculate a confidence interval guide walks through the arithmetic.
Significance tests for one proportion (topics 3.5 to 3.8)
3.5 Setting up the test. The procedure is a one-sample -test for a population proportion. The null hypothesis states the status-quo value , and the alternative is one-sided ( or ) or two-sided (). Here the normality condition uses the hypothesized value: and .
3.6 p-values. The p-value is the probability, computed assuming is true, of getting a test statistic as extreme or more extreme than the one observed, in the direction of . Small p-values mean the observed result would be unusual under and give evidence for ; a large p-value does not prove is true. See what does a p-value mean.
3.7 Carrying out the test. The test statistic is a standardized statistic of the form (statistic minus parameter) over standard error:
Compare the p-value to the significance level : if the p-value is below , reject ; otherwise fail to reject. Rejecting gives convincing evidence for , but failing to reject never proves .
3.8 Potential errors. A Type I error rejects a true , and its probability equals . A Type II error fails to reject a false , with probability power, where power is the chance of correctly rejecting a false . Power increases when the sample size grows, the standard error shrinks, the true value sits farther from , or increases. See Type I vs Type II errors.
Inference for two proportions (topics 3.9 to 3.13)
3.9 Sampling distribution of the difference. For two independent samples, has mean and standard deviation . It is approximately normal when the expected successes and expected failures in both samples are each at least 10.
3.10 and 3.11 Two-sample z-interval. The interval estimates as . If the interval contains 0, there is insufficient evidence of a difference; if it excludes 0, there is evidence of a difference between the two population proportions.
3.12 and 3.13 Two-sample z-test. The null hypothesis is . Because assumes the proportions are equal, the test pools the two samples into a combined proportion and uses it in the standard error:
To choose between the one-proportion and two-proportion procedures, read one-proportion vs two-proportion z-test and practice with the proportion z-test calculator.
Chi-square tests for two-way tables (topics 3.14 to 3.15)
3.14 Setting up the test. The chi-square statistic (the Greek letter chi, written ) measures the distance between observed and expected counts relative to expected counts. Use a chi-square test for homogeneity to compare the distribution of one categorical variable across two or more populations or treatments, and a chi-square test for independence to check whether two categorical variables are associated within a single sampled population. The conditions are randomization, the 10% condition, and an expected-counts condition that every expected count is at least 5.
3.15 Carrying out the test. Each expected count is , and the statistic sums over every cell of the table:
The degrees of freedom equal , and a larger gives a smaller p-value. Both tests share this arithmetic; the sampling design and the wording of the hypotheses are what differ. See chi-square tests explained and the chi-square calculator.
Conditions and how to study for the exam
Every procedure in Unit 3 begins by naming the method and verifying its conditions in context. The AP framework warns that students lose points for checking conditions superficially, such as writing "SRS" instead of stating that a simple random sample was taken. State each condition using the actual numbers from the problem.
Language matters as much as the arithmetic. Interpret a confidence interval as capturing a parameter, not a statistic, and never say a test "accepts" or "proves" , because a test can only reject or fail to reject it. When a chi-square p-value is large, say the data do not give convincing evidence of an association rather than claiming there is none.
One change from the older 9-unit course: the chi-square goodness-of-fit test was removed from the AP exam, while the tests for homogeneity and independence stay in Unit 3. Goodness-of-fit is still standard in most college introductory statistics courses.
One-proportion z-interval (95% confidence)
A random sample of 200 registered voters finds that 120 support a ballot measure. Construct a 95% confidence interval for the population proportion who support the measure.
Find the sample proportion: .
Check the normality condition: successes and failures are each at least 10. Assume a random sample and that there are more than voters.
Compute the standard error: .
Use the critical value for 95% confidence: .
Compute the margin of error: .
Build the interval: .
We are 95% confident that the interval from 0.5321 to 0.6679 captures the true proportion of registered voters who support the ballot measure.
One-proportion z-test (one-sided)
A delivery company claims 90% of its packages arrive on time. A consumer group takes a random sample of 150 packages and finds 126 on time. Test at whether the true on-time proportion is less than 0.90.
State the hypotheses: versus , where is the true proportion of on-time packages.
Check conditions: random sample; and ; more than packages.
Find the sample proportion: .
Compute the standard error under : .
Compute the test statistic: .
Find the p-value: from the standard normal table.
Decide: , so reject .
There is convincing statistical evidence that the true proportion of on-time packages is less than 0.90.
Chi-square test for independence (2 by 2 table)
A researcher takes a single random sample of 100 people and records whether each person exercises regularly and whether each sleeps at least 7 hours. Test for independence at .
| Group | Sleeps 7+ hrs | Sleeps under 7 hrs | Total |
|---|---|---|---|
| Exercises | 30 | 20 | 50 |
| Does not exercise | 20 | 30 | 50 |
| Total | 50 | 50 | 100 |
State the hypotheses: is that exercise and sleep are independent in the population, and is that they are associated.
Compute expected counts: each cell , so all four expected counts are 25, each at least 5.
Compute the statistic: .
Find the degrees of freedom: .
Find the p-value: with and 1 degree of freedom, from a chi-square table or technology.
Decide: , so reject .
There is convincing evidence of an association between exercising regularly and getting at least 7 hours of sleep in this population.
Frequently asked questions
How much of the AP Statistics exam is Unit 3?
Unit 3 counts for 15 to 25% of the multiple-choice section, and at about 30 class periods it is the longest of the five units. Inference also appears on the free-response section, where Question 3 is always an inference problem, either a hypothesis test or a confidence interval.
What is the difference between a chi-square test for homogeneity and a test for independence?
Use homogeneity to compare the distribution of one categorical variable across two or more separate populations or treatments. Use independence to check whether two categorical variables are associated within a single population that was sampled once. The arithmetic is identical (expected counts, the statistic, degrees of freedom); the sampling design and hypothesis wording differ.
Do I still need to know the chi-square goodness-of-fit test?
No. For the Fall 2026 course, the chi-square goodness-of-fit test was removed from the AP Statistics exam. Only the chi-square tests for homogeneity and independence remain, both in Unit 3. Goodness-of-fit is still standard in most college introductory statistics courses.
Every topic in Unit 3
- 3.1Estimators
- 3.2Sampling Distributions for Sample Proportions
- 3.3Constructing a Confidence Interval for a Population Proportion
- 3.4Justifying a Claim Based on a Confidence Interval for a Population Proportion
- 3.5Setting Up a Test for a Population Proportion
- 3.6p-Values
- 3.7Carrying Out a Test for a Population Proportion
- 3.8Potential Errors When Performing Tests
- 3.9Sampling Distributions for the Difference Between Sample Proportions
- 3.10Constructing a Confidence Interval for the Difference Between Two Population Proportions
- 3.11Justifying a Claim Based on a Confidence Interval for the Difference Between Two Population Proportions
- 3.12Setting Up a Test for the Difference Between Two Population Proportions
- 3.13Carrying Out a Test for the Difference Between Two Population Proportions
- 3.14Setting Up a Chi-Square Test for Homogeneity or Independence
- 3.15Carrying Out a Chi-Square Test for Homogeneity or Independence