impera Open Impera

A levels Further Mathematics · Further statistics

The central limit theorem

1The distribution of the sample mean

Take a random sample $X_1, X_2, \ldots, X_n$ from a population with mean $\mu$ and variance $\sigma^2$. The sample mean $\bar{X} = \frac{1}{n}\sum X_i$ is itself a random variable, with

$$E(\bar{X}) = \mu \qquad \text{Var}(\bar{X}) = \frac{\sigma^2}{n}$$

The standard error $\frac{\sigma}{\sqrt{n}}$ is the standard deviation of $\bar{X}$. Larger samples give more precise estimates.

If the population is normal, $\bar{X} \sim N\left(\mu, \frac{\sigma^2}{n}\right)$ exactly.

Check yourself

What is the standard error of the mean for n = 25 and σ = 10?

  • 50

  • 10

  • 2

  • 0.4

Show the answer

2

σ/√n = 10/5.

2The central limit theorem

The central limit theorem (CLT): for a large sample from any population with mean $\mu$ and variance $\sigma^2$,

$$\bar{X} \approx N\left(\mu, \frac{\sigma^2}{n}\right)$$

The population itself need not be normal. A common guide is $n \geq 30$.

Samples of 36: the sample mean is far less spread out than single values (standard error 12/√36 = 2).

Worked example

Using the CLT

  1. A population has mean 50 and standard deviation 12. A sample of 36 is taken.
  2. $\bar{X} \approx N\left(50, \frac{144}{36}\right) = N(50, 4)$.
  3. $P(\bar{X} > 53) = P\left(Z > \frac{3}{2}\right) = 0.0668$.
Check yourself

What does the central limit theorem say about X̄ for large n?

  • It is approximately normal, whatever the population

  • It follows a Poisson distribution

  • It is only normal if the population is normal

  • It equals μ exactly

Show the answer

It is approximately normal, whatever the population

Large samples make the mean behave normally.

3Linear combinations of normal variables

If $X \sim N(\mu_1, \sigma_1^2)$ and $Y \sim N(\mu_2, \sigma_2^2)$ are independent, then any linear combination is also normal:

$$aX + bY \sim N(a\mu_1 + b\mu_2, \; a^2\sigma_1^2 + b^2\sigma_2^2)$$

Worked example

Comparing two variables

  1. $X \sim N(10, 4)$ and $Y \sim N(15, 9)$ are independent. Find $P(Y > X)$.
  2. $X - Y \sim N(-5, 13)$.
  3. $P(Y > X) = P(X - Y < 0) = \Phi\left(\frac{5}{\sqrt{13}}\right) = \Phi(1.387) = 0.917$.
Check yourself

X ~ N(20, 9) and Y ~ N(30, 16) are independent. What is the distribution of X + Y?

  • N(50, 5)

  • N(10, 25)

  • N(50, 25)

  • N(50, 7)

Show the answer

N(50, 25)

Means add and variances add.

4Sums of several observations

Be careful to distinguish:

  • $X_1 + X_2 + \cdots + X_n$ (independent observations): mean $n\mu$, variance $n\sigma^2$;
  • $nX$ (one observation multiplied by $n$): mean $n\mu$, variance $n^2\sigma^2$.
Worked example

Packing

  1. Apples have masses $N(150, 20^2)$ grams. A bag contains 6 apples, and the empty bag has mass 30 g.
  2. Total $T = X_1 + \cdots + X_6 + 30 \sim N(930, 6 \times 400) = N(930, 2400)$.
  3. $P(T > 1000) = P\left(Z > \frac{70}{\sqrt{2400}}\right) = P(Z > 1.429) = 0.0765$.
Check yourself

Six independent apples each have variance 400. What is the variance of their total mass?

  • 66.7

  • 14 400

  • 400

  • 2400

Show the answer

2400

Add six variances.

5Using sample estimates

In practice $\mu$ and $\sigma^2$ are often unknown and must be estimated from a sample.

  • Unbiased estimate of $\mu$: $\bar{x}$.
  • Unbiased estimate of $\sigma^2$: $s^2 = \dfrac{1}{n - 1}\left(\sum x^2 - \dfrac{(\sum x)^2}{n}\right) = \dfrac{S_{xx}}{n - 1}$.

Dividing by $n - 1$ (rather than $n$) corrects the tendency of a sample to underestimate the spread.

Worked example

Estimates

  1. A sample of 10 has $\sum x = 120$ and $\sum x^2 = 1530$.
  2. $\bar{x} = 12$.
  3. $s^2 = \frac{1}{9}\left(1530 - \frac{14\,400}{10}\right) = \frac{90}{9} = 10$.

For large samples, the CLT still applies with $s$ in place of $\sigma$.

Check yourself

Why divide by n − 1 when estimating the population variance?

  • Because n is always large

  • To find the median

  • To give an unbiased estimate

  • To make the answer smaller

Show the answer

To give an unbiased estimate

Samples tend to underestimate spread.

6Testing a mean using the CLT

The CLT allows a hypothesis test on a population mean even when the population is not normal, provided the sample is large.

Worked example

A large-sample test

  1. A machine is meant to fill bags with mean 500 g. A sample of 50 bags has $\bar{x} = 497.8$ g and $s = 6.2$ g. Test at 5% whether the mean is less than 500 g.
  2. $H_0: \mu = 500$, $H_1: \mu < 500$. By the CLT, $\bar{X} \approx N\left(500, \frac{6.2^2}{50}\right)$.
  3. $z = \dfrac{497.8 - 500}{6.2/\sqrt{50}} = -2.509$.
  4. $P(Z < -2.509) = 0.0061 < 0.05$: reject $H_0$.
  5. Evidence suggests the mean mass is less than 500 g.
Check yourself

Why is the CLT useful for testing means?

  • It lets you use the normal distribution even when the population is not normal

  • It proves that the null hypothesis H₀ is true

  • It makes every population normal once the sample is large

  • It removes the need to take a sample from the population

Show the answer

It lets you use the normal distribution even when the population is not normal

For large samples.

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