StatsQuest · WMPL News Studio · Statistics

Confidence Intervals

Report an estimate with its margin of error: estimate ± critical value × standard error.

PDFBack to the game

After this guide you can

Key terms

Point estimate
A single best guess, like x̄ or p̂.
Margin of error
Critical value × standard error.
Confidence level
The long run share of intervals from this method that capture the parameter.
Critical value
z* or t* for the chosen confidence level.
t distribution
Like z with heavier tails; use when σ is estimated by s.
Degrees of freedom
df = n − 1 for a one-sample t.
Proportion interval
p̂ ± z*√(p̂(1 − p̂)/n).
Sample size for a mean
n = (z*σ/E)², rounded up.

The big ideas

Fifteen confidence intervals from repeated samples; most cover the true mean and two misstrue μ = 50 (fixed, unknown)misses μmisses μEach bar is one sample's 95% interval. In the long run about 95% of them cover μ; here 13 of 15 do.

The interval moves from sample to sample; μ stays put.

Worth memorizing

Confidencez*
90%1.645
95%1.96
99%2.576

Worked example

A sample of 25 adults has mean systolic pressure 120 mmHg with s = 15. Build a 95% interval for μ. (Teaching numbers.)

  1. σ unknown, so use t with df = 24: t* = 2.064.
  2. SE = 15/√25 = 3.
  3. Margin = 2.064 × 3 ≈ 6.19.
  4. Interval: 120 ± 6.19 = (113.8, 126.2).

Answer: We are 95% confident μ is between 113.8 and 126.2 mmHg

Common mistakes

Check yourself

  1. What happens to width going from 95% to 99%?
  2. n goes from 100 to 400. What happens to the margin?
  3. A poll: p̂ = 0.62, n = 400. 95% interval?
  4. df for a t interval with n = 18?
  5. Interval for μ is (12.1, 15.3). Is 16 plausible?
  6. Sample size for margin 2 with σ = 10 at 95%?
  7. A news poll reports ±3 points. What does that refer to?
  8. Why does t have heavier tails than z?

Answer key

  1. It gets wider. z* rises from 1.96 to 2.576.
  2. It halves. SE has √n in the bottom.
  3. About (0.572, 0.668). SE = √(0.62 × 0.38/400) ≈ 0.0243; 1.96 × 0.0243 ≈ 0.048.
  4. 17. n − 1.
  5. Not at that confidence. It lies outside the interval.
  6. 97. (1.96 × 10/2)² = 96.04, round up.
  7. The margin of error. It covers sampling error only, not bias.
  8. Because s is estimated and varies. Extra uncertainty widens the interval.

1 Design2 Describing3 Probability4 Normal5 CLT7 Tests8 Regression9 Chi-square, ANOVA10 Health stats11 Full review