Confidence Intervals
A confidence interval provides a range of plausible values for an unknown parameter, quantifying the uncertainty inherent in estimation from random samples.
Definition
A confidence interval for a parameter is a random interval such that for all . The value is the confidence level (typically , , or ). The half-width is the margin of error.
The correct interpretation is frequentist: if we repeat the sampling procedure many times, approximately of the resulting intervals will contain the true .
Common Confidence Intervals
For with known, an exact CI for is: This follows from .
When is unknown, replace by (sample standard deviation). Then (Student's -distribution with degrees of freedom), giving: For and confidence: (slightly wider than the -interval).
Properties
To achieve a margin of error for a CI for the mean with known , the required sample size is Halving the margin of error requires quadrupling the sample size.
A frequentist confidence interval says "if we repeated this experiment, of intervals would contain ." It does not say " is in this interval with probability ." The Bayesian analogue, a credible interval, does have this interpretation: given the posterior distribution , a credible interval is with .