Confidence Intervals for One Proportion

Constructs confidence intervals for a population proportion pp using the sample proportion p^\hat{p}, the standard error p^(1p^)/n\sqrt{\hat{p}(1-\hat{p})/n}, and the normal critical value zα/2z_{\alpha/2}.

Step 1 of 119%

Tutorial

The Confidence Interval for a Proportion

A confidence interval for a population proportion pp is built around the point estimate p^=x/n,\hat{p}=x/n, where xx is the number of successes in a sample of size n.n. When nn is large, p^\hat{p} is approximately normal with mean pp and standard deviation p(1p)/n.\sqrt{p(1-p)/n}. Since pp is unknown, we estimate the standard deviation using p^\hat{p} itself, giving the standard error

SE=p^(1p^)n.SE = \sqrt{\dfrac{\hat{p}(1-\hat{p})}{n}}.

The (1α)(1-\alpha) confidence interval for pp is

p^  ±  zα/2p^(1p^)n,\hat{p} \;\pm\; z_{\alpha/2}\sqrt{\dfrac{\hat{p}(1-\hat{p})}{n}},

where zα/2z_{\alpha/2} is the standard normal critical value. The most common choices are:

Confidence levelzα/290%1.64595%1.96099%2.576\begin{array}{c|c} \text{Confidence level} & z_{\alpha/2} \\ \hline 90\% & 1.645 \\ 95\% & 1.960 \\ 99\% & 2.576 \end{array}

For example, suppose a survey of n=100n=100 voters finds that x=64x=64 support a candidate. Then p^=0.64,\hat{p}=0.64, and

SE=0.640.36100=0.0023040.048.SE = \sqrt{\dfrac{0.64\cdot 0.36}{100}} = \sqrt{0.002304} \approx 0.048.

The 95% confidence interval is

0.64±1.960.048    0.64±0.094  =  (0.546, 0.734).0.64 \pm 1.96\cdot 0.048 \;\approx\; 0.64 \pm 0.094 \;=\; (0.546,\ 0.734).
navigate · Enter open · Esc close · ⌘K/Ctrl K toggle