A confidence interval is a range of values that is likely (but not guaranteed!) to contain the true population parameter that we are estimating. When calculating a confidence interval, we start with a point estimate (our 'best guess'), and then we add and subtract a margin of error to/from that point estimate. The point estimate is usually our sample statistic, and the margin of error is a function of the standard deviation, the sample size and our level of confidence (90%, 95%, etc.)
In this problem we are asked to calculate a confidence interval for a population mean, and we are told that the sample mean is 26.2, the sample standard deviation is 2.5 and the sample size is 87.
Our point estimate is the sample mean: 26.5
The margin of error is a t-critical value times the sample standard deviation divided by the square root of the sample size. t-crit*2.5/√87
We are using a t-critical value because we are given a sample standard deviation, rather than a population standard deviation. If we had been given a population standard deviation, we would use a z-critical value. To find t-critical values, we can refer to a table of critical values, or use technology.
For a sample size of 87 (87-1=86 degrees of freedom), the t-critical values are:
90% C.L. 1.663
95% C.L.: 1.990
99% C.L.: 2.634
(I used technology to find these critical values. If you use a table your values may be slightly different.)
Notice that as our level of confidence increases, our t-critical values increase. If we claim a higher level of confidence, we need to allow for a little extra 'wiggle room'- a wider margin of error.
90% Confidence interval: 26.2±1.663*2.5/√87 (25.75,26.65)
95% Confidence interval: 26.2±1.990*2.5/√87 (25.67, 26.73)
99% Confidence interval: 26.2±2.634*2.5/√87 (25.49,26.91)
Do you see that the interval becomes wider as our level of confidence increases?
In this explanation, I have attempted to provide you with the background needed to help you better understand confidence intervals, and we calculated the confidences manually. With technology, these intervals are very fast and easy to calculate.