SI7–SI9, SR32 - Confidence intervals for a mean

SI7–SI9, SR32 - Confidence intervals for a mean

SI7 explains what confidence describes; SI8 controls interval width. SI9 and SR32 construct intervals for a single population mean using a Normal or tt distribution, with the sample size and knowledge of the population variance deciding which is appropriate.

Confidence belongs to the interval-producing method

How can a 95%95\% confidence interval miss the true mean without anything having gone wrong? The method is designed to cover the mean in about 95%95\% of repeated samples, not in every sample.

You already know

A sample mean estimates a fixed population mean. Its standard error describes variation between sample means. For independent Normal observations the mean is exactly Normal; for sufficiently large samples the CLT often gives an approximate Normal distribution.

For example, a method might give an interval from 48.248.2 to 51.651.6. This is an interval estimate for the population mean, rather than a claim that most individual measurements fall between those limits.

Confidence interval and confidence level

A confidence interval is an interval estimate of a population parameter, calculated from a sample.

If the sampling and interval-construction process is repeated many times using independent samples, the confidence level is the long-run proportion of intervals that contain the true parameter.

The population mean stays fixed while the sample and interval change. Once one interval has been calculated, its fixed limits either contain that mean or do not. “We are 95%95\% confident that this interval contains the population mean” refers to the reliability of the method, not a newly random population mean.

[DIAGRAM: asset_name: Repeated confidence intervals around a fixed mean; asset_slug: h645_b103_coverage; caption: The sample intervals move while the population mean stays fixed; description: Twenty horizontal 95 percent Normal confidence intervals are drawn from independently simulated sample means, with a fixed vertical population-mean line at zero. Intervals containing zero are blue and any that miss it are clay. Each midpoint is marked. The diagram explicitly says that the number covering in twenty samples need not be nineteen.]
The sample intervals move while the population mean stays fixed

There is a useful surprise here: among 200200 independent intervals made by an exact 95%95\% method, the expected number covering the mean is 190190, but the actual number need not be 190190. An occasional miss is part of the procedure's stated behaviour.

Watch out

Wrong: “There is a 95%95\% chance that an individual observation lies in this confidence interval.”

Right: the interval estimates the population mean. Its confidence level describes repeated coverage of that fixed mean.

Choose the statement that keeps both the parameter and repeated-sampling idea straight.

Use a Normal critical value when it is justified

If the sampling distribution is Normal with known standard error, the middle 95%95\% lies within 1.961.96 standard errors of its mean. Reversing this relation gives a symmetric interval centred on the observed sample mean.

For a small sample, this Normal construction requires an underlying Normal population and known population variance. For a large sample, use a Normal approximation, replacing σ\sigma by ss if necessary.

Normal confidence interval for a mean

A central 100(1−α)%100(1-\alpha)\% interval is

xˉ±zσn\bar x\pm z\frac{\sigma}{\sqrt n}

where P(−z<Z<z)=1−αP(-z<Z<z)=1-\alpha for Z∼N(0,1)Z\sim N(0,1).

With a sufficiently large independent sample, use s/ns/\sqrt n when σ\sigma is unknown; this gives an approximate interval. For small samples use this formula only with a Normal population and known σ\sigma.

In the formula booklet.

The booklet's Normal table labels the total percentage outside the central interval. For 95%95\% confidence use the 5%5\% column, with 2.5%2.5\% in each tail: z=1.960z=1.960. For 90%90\% use 1.6451.645, and for 99%99\% use 2.5762.576.

Worked example 1: known population variance

Question. An independent random sample of 1616 measurements from a Normal population has mean 8080. The population standard deviation is known to be 44. Find a 95%95\% confidence interval for the population mean.

Plan. Use the known standard deviation and the central 95%95\% Normal critical value.

SE⁡=416=1known population spreadmargin=1.960(1)=1.960central 95%interval=80±1.960=(78.04,81.96)sample mean plus or minus margin\begin{aligned} \operatorname{SE}&=\frac4{\sqrt{16}}=1 && \text{known population spread}\\ \text{margin}&=1.960(1)=1.960 && \text{central }95\%\\ \text{interval}&=80\pm1.960=(78.04,81.96) && \text{sample mean plus or minus margin} \end{aligned}

Why this step? Small sample size does not force a tt interval when the population is Normal and its variance is known.

Answer. The 95%95\% confidence interval for μ\mu is (78.04,81.96)(78.04,81.96).

Check. It is symmetric about 8080, with half-width 1.961.96 standard errors.

Change only the sample size from 1616 to 6464, with the same observed mean.

Worked example 2: a smaller standard error

Question. A sample of 6464 independent observations from the same Normal population has mean 8080. Find its 95%95\% confidence interval.

Plan. Keep the critical value and population spread, but recalculate the standard error.

SE⁡=464=12larger samplemargin=1.960(12)=0.980same confidence levelinterval=80±0.980=(79.02,80.98)new margin\begin{aligned} \operatorname{SE}&=\frac4{\sqrt{64}}=\frac12 && \text{larger sample}\\ \text{margin}&=1.960\left(\frac12\right)=0.980 && \text{same confidence level}\\ \text{interval}&=80\pm0.980=(79.02,80.98) && \text{new margin} \end{aligned}

Why this step? Quadrupling the sample size halves the standard error and hence the interval's width.

Answer. The interval is (79.02,80.98)(79.02,80.98).

Check. Its width is 1.961.96, half the previous width 3.923.92.

In a large sample with unknown population spread, the same arithmetic uses ss in place of σ\sigma. State why the Normal approximation is appropriate; do not claim that estimating the variance makes the population Normal.

Exam tip

Show the centre, critical value and standard error before giving the endpoints. A variance must be square-rooted before it is used in the standard error.

Use an estimated spread with a large sample.

Watch out

Wrong: 80±1.960(16/64)80\pm1.960(16/\sqrt{64}) uses the population variance 1616 as the spread. A standard error requires the standard deviation. Correct: 80±1.960(4/64)=80±0.98080\pm1.960(4/\sqrt{64})=80\pm0.980.

Take the square root of a variance before constructing the next interval.

Continue this lesson.

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

Create free account