Once again, utilize the Central Limit Theorem. Notice that the symmetrical confidence interval
in which the middle term can be approximated using a standard normal variable and therefore this statement is approximately
Using the symmetry of the standard normal distribution about Z=0 gives
and so to determine E again requires the inverse of the standard normal distribution function. Using an appropriate
(as determine in a manner described in the previous section) gives a confidence interval for the mean
with confidence level
and margin of error
Enjoy this interactive calculator for confidence intervals for the mean.
It should be noted that the use of the Central Limit Theorem makes the use of InvNorm an approximation. It can be shown that so long as n is larger than 30 then generally this approximation is reasonable. If not, then use replace the z-score with a corresponding value from the t-distribution.
Further, note that the confidence intervals for the mean before presumed that
was known. However, one might not have this value and therefore as estimate could be optained by using a sample standard deviation. In this case, using a t-statistic rather than a z-statistic is also justified.
Here is an interactive cell illustrating confidence intervals for the mean using the t-score.
Additionally, this derivation assumes that
is not known...indeed the goal is to approximate that mean using
but that
is known. This is often not the case. It can however be shown that if n is larger than 30, replacing
with the sample standard deviation s gives an acceptable confidence interval.
Solve for n in the formula for E above. Notice that n must be an integer so you will need to round up. You will also need an estimate for the sample standard deviation s by using a preliminary sample.