
Ryan A. answered 01/04/25
Masters in Geography with 3+ Years of Online Tutoring in Statistics
A confidence interval is a type of inferential statistic - that is, an inferred measure meant to describe of whole of a group that is based on a sample of that whole group. The crux of inferential statistics is to be able to say something about all of something, but since we cannot realistically measure all, we take a sample of the whole group that is meant to be representative, from which we generalize its statistics to the larger population.
A confidence interval is a range of values with a lower bound and an upper bound that is meant to describe with a certain level of confidence, the likelihood, the range wherein we expect to find the true population parameter. A typical confidence interval includes a point estimate value, this is our 'best guess' at the population parameter, which is computed from sample data (a common measure that we make confidence intervals for are means, so the sample mean would be the point estimate which represents our 'best guess' at the population parameter). Then, subtracting and adding a margin of error amount (E; dependent on a chose level of significance) onto the point estimate to generate the lower and upper bound values for the interval. A general pseudo-formula for a confidence interval (CI) —looks like the following:
CI = Pt. Estimate ± E
Diagram illustrating a typical CI:
E E
[—————————•—————————]
lower bound Point upper bound
Estimate
EXAMPLE
A weather forecaster called for significant snowfall accumulation for a winter storm. The city was blanketed by a hefty amount of snow and the forecaster wishes to describe the snowfall that fell in the city. He travels around the city taking snow depth measurements at n = 45 different locations that will serve as a representative collection of sites (thus snow depths) across the city. The mean snow depth, x̄, is 9 inches and serves as the 'best guess' or the point estimate of the true mean snowfall that fell across the entire city (imagine if you were to measure every infinitesimally small location across the whole city then computed their average, this is the population parameter for which we are crafting our interval for). The forecaster also computes the standard deviation for the 45 different snow depths, 2 inches, and they also decide that they are making a 95% CI, therefore within the margin of error, the t value they will use is 2.015. The following formulas show how the forecaster writes the CI out symbolically and then how he inputs his data into the formula to compute the lower and the upper bound of the 95% CI.
CI (95%) = x̄ ± t * ( s / √n )
—————
↑
this is the margin of error, E
CI (95%) = 9 ± 2.015 * ( 2 / √ 45 )
= 9 ± 0.6009
Therefore, the weather forecaster finds that he is 95% confident that the true mean snowfall that fell across the city in the recent snowstorm is approximately:
CI (95%) = (8.40 inches, 9.60 inches)

Anonymous A.
Great answer! Thanks for sharing, and I think the example is well done. I also appreciate you using the t-statistic given that the population variance is unknown. In my example, I used a z-statistic as the sample size was very large (10,000), but using a t-statistic is probably the most accurate.01/04/25