Interview Q&A / Data Science

IntermediateQuick answer1 min readUpdated 3 Oct 2026

What does a 95% confidence interval actually mean?

SHORT ANSWER

It comes from a procedure that, if repeated on many samples, would capture the true parameter in about 95% of them. It does not mean there is a 95% probability that this one interval contains the truth.

Explain it simply

Imagine a net thrown at a fixed fish. The fish (true mean) does not move; the net (interval) lands in a different place for each sample. A 95% net catches the fish in 95 of 100 throws. Once one net has landed, the fish is either in it or not.

For a mean with a large enough sample: estimate +/- 1.96 x SE.

Example

A sample of 100 students shows a mean daily study time of 50 minutes with SD 10 minutes.

  • SE = 10 / sqrt(100) = 1
  • 95% CI = 50 +/- 1.96 x 1 = 48.04 to 51.96
python
mean, sd, n = 50, 10, 100
se = sd / n ** 0.5
print(round(mean - 1.96 * se, 2), round(mean + 1.96 * se, 2))  # 48.04 51.96

A wider interval comes from higher confidence (99%), higher variability or a smaller sample. A narrower one needs more data.

What to say in the interview

"A 95% CI means that the method produces intervals that contain the true value 95% of the time over repeated sampling. It gives a plausible range for the parameter and the precision of my estimate. I avoid saying there is a 95% chance the true value is in this specific interval."

Common mistakes

  • Reading it as the range containing 95% of the data. That would be a prediction or reference interval.

#confidence-interval#inference#statistics

Related questions

Practise more Data Science questions

Test your recall with short answers, then return to the detailed explanations when you need context.

Open Data Science quick answers →

Get new questions like this by email

One short email when something new and useful lands. No spam, unsubscribe in one tap.

By subscribing you agree to the Privacy Policy.