A classifier's accuracy is measured on n=16 independent random splits, giving a sample mean of 72% and sample standard deviation of 8%. Give a 95% confidence interval for the true mean accuracy, using t15, 0.975=2.131. Why not use 1.96?

Probability and statistics, Confidence intervals
Level L2 Elementary. Length Short. Nature Mat Mathematical.

What's being asked

Whether you use the t-distribution when the standard deviation is estimated from a small sample.

Key idea

With σ unknown, xˉ−μs/n∼tn−1. The interval is xˉ±tn−1, 0.975 sn.

Steps

  1. Compute the standard error: s/n=8/16=2.
  2. The degrees of freedom are n−1=15, so the critical value is 2.131.
  3. The margin of error is 2.131×2=4.262.
  4. The interval is 72±4.262=[67.74, 76.26].
  5. Why not 1.96: that would give 72±3.92, which is too narrow. The t-distribution has heavier tails, because s is itself uncertain with only 16 points. The two values get close as n grows.

Common mistakes

How long your answer should be

4–6 lines.

Last checked on 4 December 2026.

Read this

Previous in Probability and statistics: Two binary variables X and Y have the joint distribution P(0,0)=P(1,1)=0.4 and P(0,1)=P(1,0)=0.1. What is the mutual information I(X;Y) in bits, and what would it be if X and Y were independent?
Next in Probability and statistics: You run m=20 independent hypothesis tests, all with true null hypotheses, each at level α=0.05. What is the probability of at least one false positive? What level per test does the Bonferroni correction use, and what family-wise error rate does that achieve?