Mistake Master
Constructing a Confidence Interval for a Population Proportion
The Interval Is a Claim About One Number It Never Sees
You'll learnhow a one-proportion z-interval is assembled from an estimate and a margin of error, which proportion goes into the standard error and why, what the three conditions look like when they are actually checked, what the confidence level is a property of — demonstrated by computing the method's exact capture rate — and the one interpretation sentence that survives grading.
Of 400 randomly selected voters, 248 support a measure. The point estimate is 0.62, and the 95% confidence interval is 0.62 ± 1.96 × 0.0243 — the interval (0.572, 0.668), a range of plausible values for the one number the survey never sees. This page then does what is usually left to hand-waving: it computes what "95%" actually describes. Supposing a truth of 0.60, all 401 possible samples of 400 are built into intervals and their capture probabilities summed exactly — the method delivers 94.7%, and the page draws nine ranked samples, seven catching the truth and the two extreme ones missing it. What 95% does not describe gets its numbers too: the share of voters whose 0-or-1 values land inside the interval is exactly zero, and the chance a future sample proportion lands in this interval works out to 87.7%. One sentence survives, and it names the parameter. Twelve short steps; press Next for each one.
Read all 12 steps as text
Two hundred and forty-eight of four hundred said yes
A district's voters are asked about a measure, 400 of them chosen at random, and 248 say they support it — so the survey's own number is \(\hat{p} = 0.62\), and that is the only thing anyone knows so far.
How far off could that number be?
The spread of \(\hat{p}\) across samples is \(\sqrt{p(1-p)/n}\), and the interval is estimating \(p\), so \(p\) is not available to build with — the observed \(\hat{p}\) stands in and the standard error comes out at 0.0243.
Estimate, plus or minus a margin
Multiply the standard error by the critical value \(z^{*} = 1.96\) and lay the result either side of the estimate: \(0.62 \pm 0.0476\), which is the interval from 0.572 to 0.668.
A check a reader can actually verify
The large-counts condition asks for at least 10 successes and at least 10 failures, and the check is the study's own counts written down: \(n\hat{p} = 248\) and \(n(1-\hat{p}) = 152\), both far past the mark.
Nine samples, nine intervals, two misses
Suppose for a moment the truth is 0.60 — something the pollster never gets — and take nine ranked samples: each builds its own interval from its own \(\hat{p}\), and the dashed rule shows which of them caught it.
The 95% belongs to the method
Do that for every sample rather than nine: all 401 possible samples of 400 are built into their own intervals and weighed, and the share that capture the truth comes out at 94.7% — which is what the confidence level is a statement about.
More confidence is bought with width
The same 248 of 400 reported three ways: the multiplier rises from 1.645 to 1.96 to 2.576, the interval widens each time, and the method's capture rate rises with it.
Half the width costs four times the sample
The margin of error carries \(\sqrt{n}\) in its denominator, so 1,600 voters halve it exactly — and the population's own size appears nowhere in any of it.
The interval is not about the voters
Zoom back out to the whole line and the interval is a short segment near the middle, while the only two values a voter can actually have — 0 and 1 — sit at the far ends of it.
Nor about the next survey’s number
The nine ranked \(\hat{p}\) values from step 5, dropped onto this one interval: some land inside it and some do not, and the exact chance a future sample proportion lands inside — supposing the truth were 0.60 — works out to 87.7%.
One sentence, and it names the parameter
"We are 95% confident that the interval from 0.572 to 0.668 captures the true proportion of all district voters who support the measure" — it names the population, names the parameter, gives the interval, and attaches the level to nothing that has already happened.
Build it, check it, then report it about p
Build the standard error from \(\hat{p}\), check the conditions with the counts the study actually observed, and report the interval as a claim about the parameter — the one number in the whole problem nobody measured.