Confidence intervals, explained
5 min read
Short answer
A confidence interval is estimate ± margin of error. For a mean with known : , where for 95%. The 95% describes the method: if you repeated the study many times, about 95% of the intervals built this way would contain the true value.
The parts
The point estimate is your sample statistic. The standard error measures how much that estimate varies from sample to sample. The critical value sets the confidence level: for 90%, for 95%, for 99%. When is unknown, use and the critical value with degrees of freedom.
What changes the width
A higher confidence level widens the interval. A larger sample narrows it, but only like : four times the data halves the width. More variable data widens it.
Worked example
A sample of has and the population . Build a 95% confidence interval for the mean.
Standard error . Margin . The interval is , that is .
Try it yourself
What happens to the margin of error if you quadruple the sample size?
Show the answer
It is divided by : the margin of error is cut in half.
Keep going with practice
Vidi's probability lessons build the normal distribution that every confidence interval relies on.