AP® Statistics · Unit 3 · Topic 3.3

Building a One-Proportion z-Interval

A one-proportion z-interval estimates an unknown population proportion by taking the sample proportion and adding/subtracting a margin of error built from a critical value and the standard error.

Every confidence interval has the same shape: estimate plus or minus margin of error. That's because a single sample proportion, p-hat, is almost certainly not exactly equal to the true proportion p. Sampling variability means p-hat bounces around p from sample to sample. So instead of reporting one number and pretending it's exact, you report a range of plausible values for p, centered on your best guess, p-hat.

The margin of error itself is built from two pieces multiplied together: the critical value z·and the standard error of p-hat. The standard error, √(p-hat(1-p-hat)/n), measures how much p-hat typically varies from sample to sample. The critical value z·comes from the standard normal curve and controls how wide the interval needs to be to capture the true p with the confidence level you want, 95 percent, 99 percent, or otherwise. A higher confidence level demands a larger z*, which stretches the interval wider, because you're demanding more certainty that you've trapped the true p. Multiply z·by the standard error and you get the margin of error. Add and subtract that from p-hat and you get the interval: p-hat - z*√(p-hat(1-p-hat)/n) to p-hat + z*√(p-hat(1-p-hat)/n).

This interval is the foundation for everything else in the unit. Once you can build one interval for one proportion, the same logic extends to comparing two proportions, and the same critical-value-times-standard-error structure reappears in hypothesis tests, just repackaged as a test statistic instead of a margin of error.

Key terms

p-hat
The sample proportion, used as the point estimate for the unknown true proportion p.
standard error
√(p-hat(1-p-hat)/n), a measure of how much p-hat varies across samples of size n.
critical value (z*)
The number of standard errors from the center needed to capture the chosen confidence level under the normal curve.
margin of error
The critical value multiplied by the standard error; it sets the width of the confidence interval.

Watch it explained

  1. How it worksHow do the critical value and the standard error combine into a margin of error?
  2. Worked exampleFind the 95 percent confidence interval for p when 132 of 400 people say yes.
  3. Worked exampleFind the 99 percent confidence interval for p when 45 of 60 free throws go in.

Check yourself

Your turn1 of 2
Find the margin of error for a 95% confidence interval for p when n = 379 and x = 65 say yes. Use z* = 1.96.

End of topic.