FS2 5.2, 5.3 - Confidence intervals for a normal mean

FS2 5.2, 5.3 - Confidence intervals for a normal mean

A confidence interval turns a sample mean into a range of plausible population means. You will interpret confidence correctly, calculate intervals when the population variance is known, recover information from an interval, plan a sample size and connect an interval with a two-sided hypothesis test.

The interval varies from sample to sample

How can the same data give a wider interval when you ask for greater confidence? An interval that catches the unknown mean more often must allow more room for sampling error. Confidence and precision compete.

A useful surprise is that halving an interval's width, while keeping confidence and population spread fixed, requires four times as many independent observations. You will calculate that square-root effect rather than just quote it.

You already know

For an independent sample from N(μ,σ2)\mathrm N(\mu,\sigma^2), the sample mean is exactly N(μ,σ2/n)\mathrm N(\mu,\sigma^2/n), with standard error σ/n\sigma/\sqrt n. Here σ2\sigma^2 is the known population variance.

Imagine repeating the entire sampling procedure. Each new sample gives a new mean, so its confidence limits move. The population mean stays fixed.

Confidence interval and confidence level

A confidence interval is produced by a sampling rule designed to contain a population parameter at a stated long-run rate. A 95%95\% confidence procedure contains the fixed true parameter in 95%95\% of repeated random samples, under its assumptions.

Once one sample has been observed, its interval is fixed and either contains μ\mu or does not. The 95%95\% refers to the procedure's repeated-sampling performance. It does not mean that 95%95\% of the population's individual observations lie in the interval.

[DIAGRAM: asset_name: Repeated confidence intervals and a fixed population mean; asset_slug: 9fm0-fs2-129-confidence-coverage; caption: The intervals move between samples while the true population mean remains fixed; description: Twelve horizontal confidence intervals of equal width are plotted against a measurement axis. A fixed vertical grey line marks the true mean fifty-two. Ten intervals crossing this line have pale sage backing and two that miss have pale clay backing. Grey point markers show the different sample means, and grey end caps show each interval. The legend identifies covering and missing intervals. A footer states that one run need not have exactly ninety-five percent coverage because confidence is a repeated-sampling property.]
The intervals move between samples while the true population mean remains fixed

A particular run of twelve or twenty samples need not achieve exactly the nominal percentage. The confidence level is a long-run property, rather than a quota imposed on each small collection of samples.

Key idea

Confidence belongs to the random interval rule before sampling. After sampling, report its realised limits without treating the fixed population mean as a newly random observation.

Keep that meaning separate from a prediction for one future measurement.

Use the correct central normal probability

For a two-sided interval, split the excluded probability equally between the two tails. A 95%95\% interval excludes 0.0250.025 in each tail, rather than 0.050.05.

The booklet's normal percentage-point table defines zpz_p by P(Z>zp)=p\mathrm P(Z>z_p)=p. It gives z0.025=1.9600z_{0.025}=1.9600, z0.005=2.5758z_{0.005}=2.5758 and z0.05=1.6449z_{0.05}=1.6449. Quote tabulated values in full.

Confidence limits for a normal mean with known variance

For an independent sample from N(μ,σ2)\mathrm N(\mu,\sigma^2), with known σ2\sigma^2, a central 100(1−α)%100(1-\alpha)\% confidence interval is

xˉ−zα/2σn<μ<xˉ+zα/2σn\bar x-z_{\alpha/2}\frac{\sigma}{\sqrt n} <\mu< \bar x+z_{\alpha/2}\frac{\sigma}{\sqrt n}

It is commonly reported as xˉ±zα/2σ/n\bar x\pm z_{\alpha/2}\sigma/\sqrt n, or as its pair of endpoints. The standardised normal-mean distribution and normal percentage points are supplied; these limits follow by rearranging them and are not separately printed as an interval formula.

Not in the formula booklet: learn it.

This interval is exact under the stated normal and known-variance model, apart from numerical rounding. Replacing an unknown population standard deviation by a small-sample estimate does not preserve that exact claim; the present method uses a genuinely known σ\sigma.

Worked example 1: a ninety-five percent interval

Question. An independent sample of 3636 component lengths comes from a normal population with known standard deviation 6 mm6\,\mathrm{mm}. Its mean is 52 mm52\,\mathrm{mm}. Find a 95%95\% confidence interval for the population mean.

Plan. Find the standard error, use the two-tail critical value, then add and subtract the margin.

se⁡(Xˉ)=636=1 mmknown population spreadh=1.9600(1)=1.96 mmhalf-widthlimits=52±1.96centre on the sample mean\begin{aligned} \operatorname{se}(\bar X)&=\frac6{\sqrt{36}}=1\,\mathrm{mm} && \text{known population spread}\\ h&=1.9600(1)=1.96\,\mathrm{mm} && \text{half-width}\\ \text{limits}&=52\pm1.96 && \text{centre on the sample mean} \end{aligned}

Why use 1.96001.9600? Each excluded tail has probability 0.0250.025.

Answer. The 95%95\% confidence interval is (50.04,53.96) mm(50.04,53.96)\,\mathrm{mm}.

Check. The midpoint is 5252, and the two endpoints are equally distant from the sample mean. The interval estimates the population mean, not individual component lengths.

Worked example 2 changes only the confidence level, from 95%95\% to 99%99\%.

Worked example 2: greater confidence

Question. For the same sample and known population standard deviation, find a 99%99\% confidence interval for the mean length.

Plan. Keep the centre and standard error, replacing the critical value by the one for tail probability 0.0050.005.

α/2=1−0.992=0.005split the excluded areah=2.5758(1)=2.5758 mmnew normal percentage pointlimits=52±2.5758same sample centre\begin{aligned} \alpha/2&=\frac{1-0.99}{2}=0.005 && \text{split the excluded area}\\ h&=2.5758(1)=2.5758\,\mathrm{mm} && \text{new normal percentage point}\\ \text{limits}&=52\pm2.5758 && \text{same sample centre} \end{aligned}

Why does the interval widen? It must cover more of the sample mean's possible errors while using the same data.

Answer. The interval is (49.4242,54.5758) mm(49.4242,54.5758)\,\mathrm{mm}, or approximately (49.4,54.6) mm(49.4,54.6)\,\mathrm{mm}.

Check. 2.5758>1.96002.5758>1.9600, so the 99%99\% interval contains the 95%95\% interval, answering the opening question.

Use enough figures in the limits to make the intended accuracy clear; keep the full critical value until the final calculation.

Watch out

Wrong: use 1.64491.6449 for a central 95%95\% interval, or use σ/n\sigma/n as standard error. Right: split the tails and use σ/n\sigma/\sqrt n.

Change only the confidence level again.

Read the centre and half-width backwards

A symmetric normal interval records two pieces of information: its midpoint is the observed sample mean, and its half-width is the critical value times the standard error. The midpoint is not proof that the population mean equals that number.

For endpoints LL and UU, let h=(U−L)/2h=(U-L)/2. Rearranging h=zα/2σ/nh=z_{\alpha/2}\sigma/\sqrt n gives

xˉ=L+U2,σ=hnzα/2\bar x=\frac{L+U}{2}, \qquad \sigma=\frac{h\sqrt n}{z_{\alpha/2}}

These are derived rearrangements, not separately printed booklet formulas. If the question asks for a variance, square the recovered standard deviation.

Worked example 3: recover the variance used

Question. A 95%95\% interval formed using a known population variance and n=36n=36 is (50.04,53.96)(50.04,53.96). Find the sample mean and population variance used in the calculation.

Plan. Recover the midpoint and half-width, then solve the margin equation for σ\sigma.

xˉ=50.04+53.962=52midpointh=53.96−50.042=1.96half the width1.96=1.9600σ6known confidence and sample sizeσ=6,σ2=36recover spread and square it\begin{aligned} \bar x&=\frac{50.04+53.96}{2}=52 && \text{midpoint}\\ h&=\frac{53.96-50.04}{2}=1.96 && \text{half the width}\\ 1.96&=1.9600\frac{\sigma}{6} && \text{known confidence and sample size}\\ \sigma&=6,\qquad \sigma^2=36 && \text{recover spread and square it} \end{aligned}

Why halve the width? The margin extends from the sample mean to one endpoint, rather than from one endpoint to the other.

Answer. The sample mean was 5252, and the known population variance was 3636.

Check. Substituting them gives 52±1.9600(6/6)52\pm1.9600(6/6), exactly the stated interval.

Continue this lesson.

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

Create free account