SECTION 1
Historical Context & Motivation
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.
1733 • De Moivre's Normal Approximation
1812 • Laplace's Central Limit Theorem
1934 • Neyman's Confidence Interval Framework
1940s–1960s • Rise of Survey Sampling
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?
SECTION 2
Core Principles & Definitions
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.
Population Proportion (p)
Sample Proportion (p̂)
Sampling Distribution of p̂
Confidence Level (C)
Margin of Error (ME)
KEY TAKEAWAY
SECTION 3
Visual Explanation: The Sampling Distribution & Confidence Interval
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.
SECTION 4
Mathematical Framework
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.
POINT ESTIMATE
where X is the number of successes (individuals with the trait) and n is the sample size.
STANDARD ERROR OF p̂
The standard error replaces p with p̂ in the standard deviation formula because p is unknown. This estimate of the spread of the sampling distribution is valid when the sample is large enough.
CONFIDENCE INTERVAL FORMULA
z* is the critical value from the standard normal distribution corresponding to the desired confidence level C. Common values: z* = 1.645 for 90%, z* = 1.960 for 95%, z* = 2.576 for 99%. The term z* × SE is the margin of error (ME).
Conditions for Inference
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.
- ✓ Random: The data come from a random sample or a randomized experiment. This ensures that p̂ is an unbiased estimator of p and that the sampling distribution theory applies.
- ✓ Independence (10% Condition): When sampling without replacement, the sample size n must be no more than 10% of the population size N (n ≤ 0.10N). This keeps individual observations approximately independent.
- ✓ Large Counts (Normal Approximation): Both np̂ ≥ 10 and n(1 − p̂) ≥ 10 must hold, ensuring the sampling distribution of p̂ is approximately normal. This is the condition that justifies using the z* critical value.
AP Exam Tip
SECTION 5
Interpretation & Meaning of Confidence Level
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.
Correct vs. Incorrect Interpretations
| 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. |
Common correct and incorrect confidence interval interpretations
SECTION 6
Worked Example
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.
One-Sample z-Interval for a Proportion
- 1
Step 1 — Define the Parameter
Let p = the true proportion of all undergraduates at this university who received a flu vaccine this year. We will construct a 95% confidence interval for p. - 2
Step 2 — Check Conditions
Random: The problem states that a simple random sample of 400 undergraduates was selected. ✓ Independence (10% condition): n = 400 ≤ 0.10 × 9,200 = 920. The sample is less than 10% of the population, so individual responses are approximately independent. ✓ Large Counts: np̂ = 400 × 0.37 = 148 ≥ 10 and n(1 − p̂) = 400 × 0.63 = 252 ≥ 10. ✓ All conditions are met. - 3
Step 3 — Compute the Point Estimate
p̂ = 148 / 400 = 0.37p̂ = 0.37 - 4
Step 4 — Compute the Standard Error
SE = √( p̂(1 − p̂) / n ) = √( 0.37 × 0.63 / 400 ) = √( 0.2331 / 400 ) = √0.00058275 ≈ 0.02414SE ≈ 0.0241 - 5
Step 5 — Find the Critical Value and Margin of Error
For 95% confidence, z* = 1.960. The margin of error is ME = z* × SE = 1.960 × 0.02414 ≈ 0.04731.ME ≈ 0.0473 - 6
Step 6 — Construct the Interval
p̂ ± ME = 0.37 ± 0.0473 → (0.37 − 0.0473, 0.37 + 0.0473) = (0.3227, 0.4173).95% CI: (0.323, 0.417) - 7
Step 7 — Interpret in Context
We are 95% confident that the true proportion of all undergraduates at this university who received a flu vaccine this year is between 0.323 and 0.417 (approximately 32.3% to 41.7%).
SECTION 7
Factors Affecting the Width of the Interval
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. |
How each factor influences the margin of error
KEY TAKEAWAY
SECTION 8
Connection to Hypothesis Testing & Advanced Methods
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 |
Confidence Interval vs. Significance Test for a single proportion
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.
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
- A. There is a 95% probability that the true proportion of residents who support the program is between 0.41 and 0.53.
- B. We are 95% confident that the true proportion of all residents in this city who support the recycling program is between 0.41 and 0.53.
- C. In 95% of all samples, the sample proportion will be between 0.41 and 0.53.
- D. 95% of the residents in the city support the recycling program at a level between 0.41 and 0.53.
- E. The probability that p̂ falls in the interval (0.41, 0.53) is 0.95.
Show answer (B)
Question 2: BASIC CALCULATION
- A. (0.524, 0.596)
- B. (0.517, 0.603)
- C. (0.524, 0.597)
- D. (0.523, 0.597)
- E. (0.516, 0.604)
Show answer (D)
Question 3: INTERMEDIATE
- A. p̂ = 0.40, ME = 0.24
- B. p̂ = 0.40, ME = 0.12
- C. p̂ = 0.52, ME = 0.24
- D. p̂ = 0.28, ME = 0.12
- E. p̂ = 0.40, ME = 0.52
Show answer (B)
Question 4: APPLIED
4 ptsShow answer
Question 5: CRITICAL THINKING
4 ptsShow answer
SUMMARY
Summary
Summary
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.