Confidence Interval

A confidence interval at level for a parameter is a random interval , constructed from the data , such that

for all values of . The quantity is the confidence level (commonly or ).

For the sample mean of i.i.d. observations from a population with mean , a confidence interval based on the normal approximation is

where is the critical value such that for . Common values: (95%), (99%).

When the population standard deviation is unknown and is small, the normal quantile is replaced by the Student’s $t$ quantile :

Frequentist Interpretation confidence interval does not mean " falls in this interval with probability ." The parameter is a fixed (unknown) constant—it either lies in the interval or it does not. The correct interpretation is: if we repeated the experiment many times and constructed an interval each time, of those intervals would contain the true .

A

Intuition

A confidence interval translates the uncertainty captured by the standard error into a concrete range of plausible values for the unknown parameter. The wider the interval, the less precise our estimate; the narrower, the more informative the data.

The construction relies on the sampling distribution of the estimator. By the CLT, is approximately normal for large , so the interval captures the central mass of that distribution. For small samples where the CLT approximation is rough, the -distribution—which has heavier tails—provides wider and more honest intervals.

Properties

(Width) The width of the interval is . It shrinks as .

(Duality with Hypothesis Testing) A parameter value lies inside the confidence interval if and only if the hypothesis test of at level fails to reject.

(Bootstrap Confidence Intervals) When the sampling distribution of is unknown or non-normal, the bootstrap can construct confidence intervals without relying on the CLT—using either the percentile method (take the and quantiles of the bootstrap distribution) or the bootstrap- method.

(Bayesian Analogue) The Bayesian counterpart is the credible interval, derived from the posterior . Unlike confidence intervals, credible intervals can be interpreted as probability statements about (conditional on the observed data and the prior).

Examples

Estimating a Population Mean

A sample of light bulbs has mean lifetime hours with sample standard deviation hours. Construct a confidence interval for the true mean lifetime .

Proportion Confidence Interval

In a survey of voters, support a policy. Construct a confidence interval for the true proportion .