6.4 - Confidence intervals for a mean

6.4 - Confidence intervals for a mean

A sample mean estimates one unknown number, but different random samples give different estimates. In this part of 6.4, you will turn that sampling variation into a confidence interval, interpret its confidence level, and calculate how confidence, population spread and sample size affect precision.

The confidence procedure

Does a 95%95\% confidence interval contain 95%95\% of the individual measurements? No: it estimates the population mean. Its width comes from the variation of sample means, which is smaller than the variation of individual observations.

Suppose a normal population has known standard deviation σ\sigma, and an independent sample of size nn is taken. The sample mean has standard error σ/n\sigma/\sqrt n. The standard normal tables give approximately

P(−1.96<Z<1.96)=0.95.\mathrm P(-1.96<Z<1.96)=0.95.

Before sampling, therefore, there is probability 0.950.95 that the random sample mean lies within 1.961.96 standard errors of the fixed population mean. The same inequality can be read in reverse:

X‾−1.96σn<μ<X‾+1.96σn.\overline X-1.96\frac{\sigma}{\sqrt n} <\mu< \overline X+1.96\frac{\sigma}{\sqrt n}.

After observing xˉ\bar x, use its value for the interval's centre.

Confidence interval

A confidence interval is an interval calculated from sample data by a stated procedure. A 95%95\% confidence procedure produces intervals containing the fixed population parameter in 95%95\% of repeated random samples in the long run, under the model.

For an observed interval, say “we are 95%95\% confident that the population mean lies between these limits”.

[DIAGRAM: asset_name: Repeated samples and confidence intervals; asset_slug: mean-confidence-procedure; caption: The population mean stays fixed while the sample interval changes; description: Five horizontal confidence intervals from different possible samples are plotted against one fixed vertical population-mean line. Four intervals cross the line and one misses it. Each interval is centred on its own sample mean. A note says that the realised proportion covering the mean in a small collection need not equal the confidence level.]
The population mean stays fixed while the sample interval changes

The confidence level describes the procedure's long-run coverage, not a guaranteed proportion within a small collection of intervals. Once you have calculated one interval, its endpoints and μ\mu are fixed: it either contains μ\mu or it does not. The repeated-sampling interpretation does not assign a new probability distribution to μ\mu.

A 95%95\% mean interval also does not say that 95%95\% of future sample means lie in this particular observed interval. Its purpose is to estimate the fixed population mean from one sample. Individual-observation prediction is a different task.

Key idea

The parameter stays fixed; the random sample changes the interval. Confidence measures how reliably the procedure captures the parameter over repeated samples.

Identify the correct interpretation in context.

Known variance and normal population

For a normal population with known variance, the sample mean's normal distribution gives a confidence interval at any sample size. Choose a central normal probability equal to the requested confidence level, leaving equal areas in the two tails.

Normal confidence interval for a mean

For independent observations from a normal population with known standard deviation σ\sigma, a central 100(1−α)%100(1-\alpha)\% interval for μ\mu is

xˉ−zσntoxˉ+zσn,\bar x-z\frac{\sigma}{\sqrt n} \quad\text{to}\quad \bar x+z\frac{\sigma}{\sqrt n},

where Φ(z)=1−α/2\Phi(z)=1-\alpha/2. The quantity zσ/nz\sigma/\sqrt n is the margin of error, or half-width.

The interval formula is not in the formula booklet: construct it using the sample-mean distribution. Common normal critical values are supplied in the tables.

For 90%90\% confidence, each tail is 0.050.05, so Φ(z)=0.95\Phi(z)=0.95 and z≈1.645z\approx1.645. For 95%95\%, use 1.9601.960; for 99%99\%, use 2.5762.576. A 98%98\% interval leaves 0.010.01 in each tail, so uses 2.3262.326, not the critical value for a left area of 0.980.98.

Worked example 1: a 95 percent interval

Question. Measurements are normally distributed with known standard deviation 66. An independent random sample of 3636 has mean 52.452.4. Find a 95%95\% confidence interval for the population mean.

Plan. Use z=1.960z=1.960 and standard error 6/36=16/\sqrt{36}=1.

52.4±1.960636=52.4±1.96.52.4\pm1.960\frac6{\sqrt{36}} =52.4\pm1.96.

Answer. The interval is (50.44,54.36)(50.44,54.36), or (50.4,54.4)(50.4,54.4) to 33 significant figures.

Check. The midpoint is 52.452.4; the half-width 1.961.96 is 1.9601.960 standard errors. The two omitted normal tails each have area 0.0250.025.

Keep the sample and population spread unchanged, but increase only the confidence level. Greater long-run coverage requires a wider interval.

Worked example 2: a 99 percent interval

Question. For the same sample, find a 99%99\% confidence interval for the population mean.

Plan. Replace the critical value by 2.5762.576, retaining the same standard error.

52.4±2.576636=52.4±2.576.52.4\pm2.576\frac6{\sqrt{36}} =52.4\pm2.576.

Answer. (49.824,54.976)(49.824,54.976), or (49.8,55.0)(49.8,55.0) to 33 significant figures.

Check. The midpoint is unchanged. Its half-width is larger than 1.961.96, and its two tails each have area 0.0050.005, giving greater coverage than before.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account