Confidence intervals for a proportion
p̂ ± z*√(p̂(1 − p̂)/n).
A confidence interval for a population proportion is p̂ ± z*·√(p̂(1 − p̂)/n), where p̂ is the sample proportion and z* is 1.645 for 90%, 1.96 for 95% and 2.576 for 99% confidence. The ± part is the margin of error.
Example: 120 of 400 people say yes; 95% confidence
- p̂ = 0.30 — 120 ÷ 400
- 1.96 × √(0.3 × 0.7 ÷ 400) ≈ 0.045 — Margin of error
- (0.255, 0.345) — The interval
Why it works: The sample proportion is the best guess, and the margin of error covers how much proportions vary from sample to sample.
Tip: Interpret it in context: “We are 95% confident the true proportion is between 25.5% and 34.5%.”