Section 10.5 Interval Estimates - Confidence Interval for \(\mu\)
As with the confidence intervals above for proportions, the Central Limit Theorem also allows you to create an interval centered on a sample mean for estimating the population mean \(\mu\text{.}\)
Definition 10.5.1. Confidence Interval for One Mean.
Given a sample mean \(\overline{x}\text{,}\) a two-sided confidence interval for the mean with confidence level \(1-\alpha\) is an interval
such that
Generally, the interval is symmetrical of the form \(\overline{x} \pm E\) with E again known as the margin of error. One-sided confidence intervals can be determined in the same manner as in the previous section.
Once again, utilize the Central Limit Theorem. Notice that the symmetrical confidence interval
is equivalent to
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 \(z_{\alpha /2}\) (as determine in a manner described in the previous section) gives a confidence interval for the mean
with confidence level \(1-\alpha\) and margin of error
Checkpoint 10.5.2. WebWork - Confidence Interval 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.
Checkpoint 10.5.3. WebWork - Confidence Interval with t-scores.
Additionally, this derivation assumes that \(\mu\) is not known...indeed the goal is to approximate that mean using \(\overline{x}\text{...}\)but that \(\sigma\) is known. This is often not the case. It can however be shown that if n is larger than 30, replacing \(\sigma\) with the sample standard deviation s gives an acceptable confidence interval.
Theorem 10.5.4. Sample Size needed for \(\mu\) given Margin of Error.
Given confidence level \(1-\alpha\) and margin of error E, the sample size needed to determine an appropriate confidence interval satisfies
Proof.
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.
Notice, in practice you might want to take n to be a little larger than the absolute minimum value prescribed above since you are dealing with approximations (Central Limit Theorem and the use of an estimate for s rather than the actual \(\sigma\text{.}\))
Example 10.5.5. Determining Sample Size for one Mean.
Given a 95% confidence level, margin of error E=0.1, and preliminary sample with standard deviation s = 2, \(z_{\alpha / 2} = 1.96\) gives
or a sample size of at least 1537.