Constructing a Confidence Interval for a Population Proportion
sample gives an estimate. A confidence interval adds a range that reflects sampling uncertainty. Learn how to choose the method, check its conditions, calculate the interval and plan a sample that is precise enough.
By the end of this lesson, you should be able to:
- Define a population proportion in context and select a one-sample -interval.
- Check random sampling, the condition and observed success/failure counts.
- Find a two-sided critical value from the confidence level.
- Calculate the standard error, margin of error and interval endpoints.
- Explain how confidence level and sample size affect precision.
- Find a minimum planned sample size and round it up correctly.
Before you start: Know , normal areas and sampling distributions. Review Topic 3.2 for sampling variability, and Topic 2.11 for normal critical values.
First time learning this? Follow the school survey, check the conditions, then calculate its interval with us.
Here to revise? Use the formula checklist, then try the practice questions before revealing solutions.
The concept in 60 seconds
A school has students. It wants to estimate the proportion who prefer an earlier lunch. A simple random sample of students without replacement contains who prefer it.
The sample proportion is . The true population proportion is unknown. Another random sample would probably give a different estimate, so we build an interval around rather than treating as an exact population answer.
Each sampled student gives yes/no response.
is the observed sample proportion.
Add a margin of error to estimate the unknown population at confidence.
The sample tells us ; the interval estimates . An SRS, a sufficiently small sampling fraction and at least observed responses in each category justify this procedure.
For this sample, the approximate interval is , or .
We are confident that between about and of all students at this school prefer an earlier lunch. The interval estimates population proportion; it does not describe the percentage of individual students whose answers fall inside a range.
What does confidence mean? Under the method’s conditions, about of intervals constructed this way from repeated random samples would contain the fixed population proportion. The level describes the procedure’s long-run capture rate. The particular calculated interval either contains or it does not.
All scenarios on this page are fictional teaching examples. The charts show calculations and theoretical models, not collected school data. We develop detailed interpretation and claims from intervals in Topic 3.4.
Quick check: which number is known, or ?
is known from this sample. , the proportion in the whole school, is unknown and is what the interval estimates.
Choose the parameter and method
Use a one-sample -interval for a population proportion when you want to estimate the proportion in a specified category in population, using an appropriate sample with the conditions below satisfied.
The response is categorical: each sampled student either prefers an earlier lunch or does not. “Success” simply names the category being counted. It does not mean that the response is better.
Define in context: “Let be the proportion of all students at this school who prefer an earlier lunch.”
A complete definition names the proportion, the response category and the population. “ is the sample proportion” names the wrong quantity.
| Symbol | Meaning | School example |
|---|---|---|
| Unknown population proportion | Unknown proportion of all school students who prefer an earlier lunch | |
| Observed sample proportion | ||
| Observed success count | students | |
| Sample size | students | |
| Population size | students | |
| Confidence level as a decimal | ||
| Positive two-sided normal critical value | About | |
| Estimated sampling standard deviation | About | |
| Half-width of the interval; | About |
Recognize when a different method is needed
- Average lunch duration: this is a population mean, not a proportion.
- Difference in preferences between schools: this involves population proportions, so a one-sample interval is not the right procedure.
- Test whether equals a specified value: this asks for a significance test, not just an interval estimate.
In this lesson, you estimate a single unknown . You do not plug a hypothesized into the interval formula. That different input appears when you test a population proportion later.
Quick check: what is wrong with “ is the proportion of the sampled students who said yes”?
That defines the sample statistic . Define for all students at the school, the population you want to learn about.
Check the conditions
A calculator can return endpoints even when a procedure is unsuitable. The justification comes from the sampling design and counts.
A large volunteer sample would not pass simply because is large.
Without replacement, compare with of .
Check that and are both at least .
These checks have different purposes. For this interval, the normality check uses observed sample counts, because the population proportion is unknown.
1. Random sampling
The data should come from an appropriate random sample of the intended population. The school uses an SRS, so this condition is met. A survey of the first volunteers does not become a random sample because its size is large.
2. The condition when sampling without replacement
School check: .
Sampling without replacement creates dependence. A small sampling fraction supports the usual approximately independent standard-error calculation. Meeting does not make observations exactly independent or establish normality.
For a genuinely independent sampling model, such as sampling with replacement, this finite-population check is unnecessary; independence still needs a reasonable justification. If the population size is not provided, explain a justified population-size assumption rather than inventing .
3. At least observed successes and observed failures
School check: successes and failures. Both are at least .
These observed counts support the normal approximation used for this interval. There is no universal “ is enough” rule for proportions: a sample of with only successes fails this check.
The important change from Topic 3.2: A sampling model with a supplied uses expected counts and . An interval estimates an unknown , so this procedure checks observed counts and .
Complete justification: “An SRS is stated. Since the sample is taken without replacement, satisfies the condition. The observed counts are successes and failures, both at least . A one-sample -interval for the population proportion is appropriate.”
If a condition fails, explain the specific issue. A large sample does not repair selection bias. A substantial sampling fraction calls for a method that accounts for dependence. Very small success/failure counts require a different interval method rather than an unsupported normal interval.
Quick check: an SRS of has successes. Can we use this -interval?
The observed success count is , so the usual normal-approximation condition fails. Do not justify it by citing the sample size alone.
Standard error and margin of error
In Topic 3.2, a known population proportion gave the sampling SD . Here is unknown. We estimate that sampling SD using .
Estimated standard error:
Margin of error:
One-sample proportion interval:
describes the estimated scale of sample-to-sample variation in proportions. It is not the size of the actual error in the observed estimate, because is unknown. multiplies by a critical value appropriate to the chosen confidence level.
Calculate the school’s and
- .
- .
- For confidence, .
- .
The estimated standard error is about percentage points. The margin of error is about percentage points. Both are on a proportion scale, not a student-count scale.
This is approximate interval from the fictional sample. The horizontal scale is focused on ; it is not the full proportion range. Each endpoint is about percentage points from the estimate.
: ; . The full width is , about or percentage points here.
Keep full calculator precision while calculating endpoints. Rounding to before multiplying would change the interval unnecessarily.
Quick check: if the interval is , what are its center and ?
. , or percentage points. The full width is .
Choose the critical value
The positive critical value marks the right edge of the middle proportion of the standard normal curve. For confidence, . The remaining is split equally, leaving in each tail.