Loading
Estimate the true proportion of a population from sample data with a quantified margin of error.
Long before modern polling agencies estimated election outcomes or pharmaceutical companies quantified drug efficacy, statisticians grappled with a fundamental question: how can a single sample drawn from a vast population yield a reliable estimate of an unknown parameter? The development of confidence intervals was the answer — a framework that combines a point estimate with a measure of uncertainty. The story of how we arrived at this framework traces through several centuries of probability theory, from early work on the normal curve to the formalization of inferential methods in the twentieth century.
Today, when a news headline reports that "58% of voters favor the policy, with a margin of error of ±3 percentage points," it is invoking exactly the procedure you are about to learn. The central question this lesson addresses is: given a sample proportion p̂ from n observations, how do we construct an interval of plausible values for the true population proportion p, and how do we quantify our confidence in that interval?
Before diving into calculations, it is essential to understand the conceptual pillars that support every confidence interval for a population proportion. These principles connect the randomness of sampling to the precision of our estimates and establish the language used throughout inferential statistics.
The diagram below illustrates the relationship between the sampling distribution of p̂ and the construction of a 95% confidence interval. The bell-shaped curve represents the approximate normal distribution of all possible sample proportions from repeated sampling. The central 95% of this distribution is shaded, and the critical values z* = ±1.96 mark the boundaries. Below the curve, a specific confidence interval is shown, centered at an observed p̂ with the margin of error extending in both directions.
Notice the conceptual inversion at the heart of this diagram. The sampling distribution is centered at the unknown true parameter p, yet when we construct a confidence interval, we center it at our observed statistic p̂ and use the standard error (computed from p̂) rather than the true standard deviation (computed from p). This substitution is what makes inference practical — we can build the interval without knowing p — and it works because, for large samples, p̂ is close enough to p that the approximation is reliable.
The confidence interval for a population proportion is sometimes called a one-sample z-interval for p. Its derivation follows directly from the sampling distribution of p̂ and the properties of the standard normal distribution. Below are the key equations and the conditions that must be verified before the interval can be trusted.
Before constructing the interval, three conditions must be checked. On the AP exam, verifying and communicating these conditions in context is essential for earning full credit.
One of the most subtle and frequently tested aspects of confidence intervals is correct interpretation. The confidence level describes a property of the procedure, not of any single interval. Once the interval has been computed from a particular sample, the true proportion p either is or is not inside it — there is no probability to assign. The percentage refers to what would happen across many repetitions of the entire sampling-and-estimating process.
| Statement | Correct? | Why |
|---|---|---|
| "We are 95% confident that the true proportion of adults who favor the policy is between 0.53 and 0.63." | ✓ Yes | Uses "we are 95% confident," identifies the parameter in context, and gives both endpoints. |
| "There is a 95% probability that p is between 0.53 and 0.63." | ✗ No | Assigns probability to the fixed parameter. In frequentist inference, p is fixed; the interval is random. |
| "95% of all adults favor the policy." | ✗ No | Confuses the confidence level with the proportion itself. |
| "If we took many samples, about 95% of the resulting intervals would contain the true p." | ✓ Yes | Correctly describes the long-run frequency interpretation of the confidence level. |
A university's student health center wants to estimate the proportion of undergraduates who received a flu vaccine this year. A simple random sample of 400 undergraduates is selected from the 9,200 enrolled, and 148 report having received the vaccine. Construct a 95% confidence interval for the true proportion of all undergraduates at this university who received the flu vaccine.
A confidence interval is most useful when it is narrow enough to provide actionable information. Understanding what drives the width of the interval empowers you to design better studies and to anticipate how changes in sample size or confidence level will affect your conclusions.
| Factor | Change | Effect on Interval Width | Explanation |
|---|---|---|---|
| Sample size (n) | Increase n | Narrower | n appears in the denominator under the square root, so larger n reduces SE and thus ME. To cut the margin of error in half, you must quadruple n. |
| Confidence level (C) | Increase C (e.g., 95% → 99%) | Wider | Higher confidence requires a larger z*, which inflates ME. Greater certainty comes at the cost of precision. |
| Sample proportion (p̂) | p̂ closer to 0.5 | Wider | The product p̂(1 − p̂) is maximized at p̂ = 0.5, producing the largest SE. Extreme proportions yield narrower intervals. |
The one-sample z-interval for a proportion does not exist in isolation. It connects directly to hypothesis testing and serves as a stepping stone to more advanced inference procedures. Understanding these links strengthens your conceptual framework for the entire inference unit on the AP exam.
| Feature | Confidence Interval for p | Significance Test for p |
|---|---|---|
| Goal | Estimate p with a range of plausible values | Test a claim about a specific value of p |
| Standard error uses | p̂ (since p is unknown) | p₀ (the null hypothesis value) |
| Large Counts condition | np̂ ≥ 10 and n(1 − p̂) ≥ 10 | np₀ ≥ 10 and n(1 − p₀) ≥ 10 |
| Output | An interval (L, U) | A p-value |
| Connection | If p₀ lies outside a 95% CI, the two-sided test rejects H₀ at α = 0.05 | If the two-sided test rejects at α = 0.05, then p₀ lies outside the 95% CI |
Beyond the one-sample case, the same logic extends to two-sample z-intervals for the difference of two proportions (p₁ − p₂), which you will encounter later in the AP Statistics curriculum. The structure is identical — point estimate ± (critical value × standard error) — but the standard error formula accounts for two independent samples. Furthermore, when the normal approximation is unreliable (small samples or extreme proportions), alternatives such as the Wilson score interval or the Agresti–Coull interval provide better coverage properties. While these are beyond the AP exam, knowing they exist gives you perspective on the limits of the Wald interval you are learning here.
A confidence interval for a population proportion takes the form p̂ ± z* × √(p̂(1 − p̂)/n), where the point estimate p̂ = X/n is the center, the critical value z* determines the confidence level (1.645 for 90%, 1.960 for 95%, 2.576 for 99%), and the standard error measures the variability of p̂ from sample to sample. The product of z* and the standard error is the margin of error.
Before constructing the interval, verify three conditions: the data come from a random sample, the sample is no more than 10% of the population (independence/10% condition), and both np̂ and n(1 − p̂) are at least 10 (Large Counts condition). When interpreting, state: "We are C% confident that the true proportion of [context] is between [lower bound] and [upper bound]." The confidence level describes the long-run capture rate of the method, not the probability that a specific interval contains p. Increasing sample size narrows the interval; increasing the confidence level widens it.
Keep learning with more lessons from the same subject.