A levels Further Mathematics · Further statistics
Confidence intervals
1What a confidence interval is
A confidence interval gives a range of plausible values for an unknown population parameter, such as the mean $\mu$.
A 95% confidence interval is built so that, if you took many samples and built an interval from each, about 95% of those intervals would contain the true value of $\mu$.
It does not mean there is a 95% probability that $\mu$ lies in one particular interval: $\mu$ is fixed, and the interval either contains it or not.
Ten 95% intervals from ten different samples. The interval moves; μ stays fixed. In the long run about 1 in 20 misses.
Check yourself
What does "95% confidence" mean?
Show the answer
About 95% of intervals made this way contain the true mean
It describes the method, not one interval.
2Intervals with known variance
If the population is normal with known $\sigma$ (or $n$ is large), a confidence interval for $\mu$ is
$$\bar{x} \pm z\frac{\sigma}{\sqrt{n}}$$
Common values of $z$: 1.645 (90%), 1.960 (95%), 2.576 (99%).
A 95% interval
- A sample of 25 from $N(\mu, 5^2)$ has $\bar{x} = 48.2$.
- Standard error $= \frac{5}{5} = 1$.
- $48.2 \pm 1.96 \times 1$: the interval is $(46.24, 50.16)$.
Check yourself
Which z-value is used for a 99% confidence interval?
Show the answer
2.576
0.5% in each tail.
3Width of an interval
The width of the interval is $2z\frac{\sigma}{\sqrt{n}}$.
- Higher confidence (larger $z$) gives a wider interval.
- Larger samples give narrower intervals: to halve the width, you need four times the sample size.
Choosing a sample size
- With $\sigma = 5$, how large must $n$ be for a 95% interval of width at most 2?
- $2 \times 1.96 \times \frac{5}{\sqrt{n}} \leq 2$, so $\sqrt{n} \geq 9.8$.
- $n \geq 96.04$, so $n = 97$.
Check yourself
What happens to the width of a confidence interval if the sample size is multiplied by 4?
Show the answer
It halves
Width is proportional to 1/√n.
4Large samples with unknown variance
When $\sigma$ is unknown but the sample is large, use the CLT and the sample estimate $s$:
$$\bar{x} \pm z\frac{s}{\sqrt{n}}$$
A large sample
- A sample of 80 commute times has $\bar{x} = 34.5$ minutes and $s = 9.2$ minutes.
- 95% interval: $34.5 \pm 1.96 \times \frac{9.2}{\sqrt{80}} = 34.5 \pm 2.02$.
- Interval: $(32.48, 36.52)$ minutes.
The population need not be normal here, because the CLT makes $\bar{X}$ approximately normal.
Check yourself
Why can a normal-based interval be used for a large sample from a non-normal population?
Show the answer
The central limit theorem makes X̄ approximately normal
Large n is the key.
5Small samples: the t-distribution
For a small sample from a normal population with unknown variance, use the $t$-distribution with $\nu = n - 1$ degrees of freedom:
$$\bar{x} \pm t_{n-1}\frac{s}{\sqrt{n}}$$
The $t$-distribution is like the normal but with heavier tails, giving wider intervals to allow for the extra uncertainty in $s$. As $n$ grows, it approaches $N(0, 1)$.
A t-interval
- A sample of 10 from a normal population has $\bar{x} = 12.3$ and $s = 1.8$.
- $t_9$ for 95% (2.5% in each tail) $= 2.262$.
- $12.3 \pm 2.262 \times \frac{1.8}{\sqrt{10}} = 12.3 \pm 1.29$, giving $(11.01, 13.59)$.
Check yourself
When should the t-distribution be used?
Show the answer
Small sample, normal population, unknown variance
Degrees of freedom n − 1.
6Using confidence intervals
A confidence interval can be used to judge a claim:
- If a claimed value of $\mu$ lies outside the 95% interval, there is evidence at the 5% level (two-tailed) against the claim.
- If it lies inside, there is no such evidence.
Checking a claim
- A manufacturer claims a mean of 52. The 95% interval is $(46.24, 50.16)$.
- 52 lies outside, so there is evidence that the mean is not 52.
When writing a conclusion, state the interval, refer to the claim, and use non-definite language. Mention any assumptions, such as normality or random sampling.
Check yourself
A claimed mean lies inside a 95% confidence interval. What can you conclude?
Show the answer
There is no evidence at the 5% level against the claim
It is consistent with the data.
Now test yourself
This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.
Practise in Impera