AP® Statistics · Unit 3 · Topic 3.4

Confidence Level, Width, and Sample Size

A confidence interval's width is pulled by two forces: higher confidence makes it wider, while a bigger sample makes it narrower. You can't get a narrow, highly confident interval without more data.

A confidence interval for a proportion is p-hat plus or minus a margin of error, and that margin of error is z·times √(p-hat(1-p-hat)/n). Two things control its size. The critical value z·comes from how confident you want to be: 90% confidence uses z* = 1.645, 95% uses 1.96, 99% uses 2.576. Bigger confidence means a bigger z*, which stretches the margin of error. Sample size n sits in the denominator under a square root, so a bigger n shrinks the margin of error. Confidence level and sample size pull width in opposite directions: one comes from how sure you insist on being, the other from how much data backs up your estimate.

This is why you cannot get a narrow interval and high confidence for free. Demanding more confidence, with the same data, forces a wider net. The only way to narrow the net without giving up confidence is to collect more data, since n is under a square root, so width shrinks slower than n grows: quadrupling n only cuts the margin of error in half. Going from n = 100 to n = 900 (9 times as much data) shrinks the margin of error to one third of its original size.

This width-versus-confidence tradeoff is the bridge into why sample size planning matters before you ever collect data, and it sets up the idea that a confidence level describes the reliability of the method across many samples, not a probability statement about one interval. That distinction matters again when interpreting what a confidence interval actually captures.

Key terms

Margin of error
The plus-or-minus amount added to the point estimate to build the confidence interval.
Critical value (z*)
The number of standard errors needed for a given confidence level, larger for higher confidence.
Confidence level
The long-run percentage of samples for which the method would produce an interval containing the true proportion.
Standard error
The estimated standard deviation of the sample proportion, √(p-hat(1-p-hat)/n).

Watch it explained

  1. How it worksHow do confidence level and sample size pull an interval's width in opposite directions?
  2. Worked exampleCompare the widths of 90, 95, and 99 percent intervals built from the same 400 people.
  3. Common mistakeWhy doesn't raising the confidence level to 99 percent make your estimate more accurate?
  4. Going furtherWhat happens to an interval's width when the sample grows from 100 to 900?

Check yourself

Your turn1 of 2
A 95% confidence interval uses z* = 1.96 and a 99% interval uses z* = 2.576, both from the same sample with p-hat = 0.479 and n = 360. Find how much wider the 99% interval's margin of error is than the 95% interval's margin of error.

End of topic.