Confidence Intervals for a Proportion
AP Statistics · Unit 3 — Inference for Categorical Data: Proportions
The structure of every interval
$$\text{estimate}\pm\left(\text{critical value}\right)\times\left(\text{standard error}\right)$$For one proportion:
$$\hat p\pm z^*\sqrt{\frac{\hat p\left(1-\hat p\right)}{n}}$$Conditions: random sample; $n\le0{,}10N$; and at least 10 successes and 10 failures in the sample ($n\hat p\ge10$, $n(1-\hat p)\ge10$) — note this uses $\hat p$, not $p$, because $p$ is unknown here.
What 95% confidence means
It describes the method, not the one interval you computed: if the sampling were repeated many times, about $95\%$ of the resulting intervals would capture the true parameter.
It is wrong to say "there is a $95\%$ probability that $p$ is in this interval" — $p$ is a fixed number, either inside or not.
Worked example: constructing and interpreting an interval
Of $400$ people surveyed, $232$ support a policy. Construct a $95\%$ confidence interval for $p$ and interpret it.
Solution
$\hat p=\frac{232}{400}=0.58$.
Check conditions: random sample (assumed from the question); successes $232\ge10$ and failures $168\ge10$ ✓.
Standard error: $\sqrt{\dfrac{0.58\times0.42}{400}}=\sqrt{0.000609}\approx0.0247$.
With $z^*=1.96$: margin of error $=1.96\times0.0247\approx0.0484$.
Interval: $0.58\pm0.048$, that is, $(0.532;\ 0.628)$.
Interpretation: “We are $95\%$ confident that the proportion of the whole population who support the policy lies between $53.2\%$ and $62.8\%$.”