Distribution of the Sample Mean
Take a random sample and work out its mean. Take another sample of the same size and you get a different mean. Before the sample is drawn, the sample mean is uncertain, so it is a random variable with its own distribution. This note finds that distribution: its mean, its variance, and its exact shape when the population is normal. These facts drive every confidence interval and every test for a mean on Paper 6, and questions that ask directly for appear on most papers.
The sample mean is a random variable
Suppose is some quantity measured on members of a population: the mass of a loaf, the score on a spinner, the lifetime of a bulb. A random sample of size gives observations . Because the sample is random, these are independent and each has the same distribution as . The sample mean is
The capital letter matters. is the random variable: the mean of a sample not yet taken. is a number: the mean of the sample you actually took.
A tiny example makes this concrete. A spinner gives , or , each with probability . Spin it twice and take the mean. The nine equally likely outcomes give:
| Spins | |||||
|---|---|---|---|---|---|
A single spin has mean and variance . The sample mean also has mean , but its variance is
That is exactly half of , and the sample size was . The extreme values and need both spins to be extreme, so they are rarer for the mean than for a single spin, and the distribution of is pulled in towards the centre. This is the whole story in miniature.
Mean and variance of
The general result follows from the rules for linear combinations of random variables. Let have mean and variance . Then
and, because the are independent,
For a random sample of size from a population with mean and variance :
For the sample total :
Two things to notice. First, the sample mean is centred on the population mean: on average it gets the right answer, which is why is a sensible estimate of . Second, the spread shrinks as grows, but only with . To halve the standard deviation of the mean you need four times as many observations.
The standard deviation is often called the standard error of the mean. The syllabus does not require the term, but you will meet it in textbooks.
The total of independent observations has variance , not . The expression means one observation multiplied by , with variance . Six eggs in a box are six different eggs, so their total is , not .
When the population is normal
The mean and variance of hold for any population. The shape of the distribution needs one more fact. A sum of independent normal variables is normal (see linear combinations of normal variables), and dividing by keeps it normal. So:
If , then for a random sample of any size
The graph shows a population (the widest curve) with the distributions of the sample mean for , where , and for , where (the tallest curve). All three are centred on ; the bigger the sample, the more tightly the mean clusters around .
If the population is not normal, still has mean and variance , but its shape is not exactly normal. For a large sample it is approximately normal anyway: that is the Central Limit Theorem, the next note. For a small sample from a non-normal population, Paper 6 cannot ask you for probabilities about beyond listing outcomes as in the spinner example.
- Define the variable and state the population distribution: ", where is the mass of a loaf in grams".
- Write down the distribution of , with the variance divided by : "". Say why it is normal.
- Standardise with the standard deviation of the mean: .
- Use the normal tables and a sketch to find the probability.
The masses of loaves from a bakery are normally distributed with mean g and standard deviation g.
(a) Find the probability that a single randomly chosen loaf has mass less than g.
(b) Find the probability that the mean mass of a random sample of loaves is less than g.
(c) Explain why the answer to (b) is smaller than the answer to (a).
Solution
Let g be the mass of a loaf, .
(a)
(b) The population is normal, so , with standard deviation .
(c) The sample mean has a smaller variance than a single loaf. For the mean to be below g, the nine loaves would have to be light on average; one heavy loaf would pull the mean back up. So a low mean is much less likely than one light loaf.
The random variable has the following probability distribution.
(a) Find and , where is the mean of a random sample of observations of .
(b) A random sample of observations is taken. Find and .
Solution
(a)
(b) means the two values add to : , or .
needs a total greater than , which is only .
Note that the population is not normal and the sample in (b) is tiny, so the only way to find these probabilities is to list the outcomes.
The time taken by a machine to complete a cycle is normally distributed with mean seconds and standard deviation seconds. Find the smallest sample size for which the probability that the mean time of the sample exceeds seconds is less than .
Solution
, so the standard deviation of is .
We need
The value comes from the table of critical values: .
The smallest sample size is .
Check the direction: a larger makes the mean less spread out, so the probability of it straying above falls. The inequality is consistent with that.
Rods are cut to lengths that are normally distributed with mean cm and standard deviation cm. For a random sample of rods, the probability that the sample mean exceeds cm is . Find .
Solution
, standard deviation .
, so is standard deviations above the mean:
The masses of apples of variety A are normally distributed with mean g and standard deviation g. The masses of apples of variety B are normally distributed with mean g and standard deviation g. A random sample of apples of variety A and a random sample of apples of variety B are chosen.
(a) Find the probability that the mean mass of the A apples is greater than the mean mass of the B apples.
(b) Find the probability that the total mass of the A apples is greater than the total mass of the B apples.
Solution
(a)
The samples are independent, so
(b) Totals: and .
The variances add in both parts even though the variables are subtracted. Part (b) is very different from part (a) because there are more B apples, so the B total is larger on average.
- Using instead of . When the question is about a sample mean, standardise with the standard deviation of the mean. This is the single most common error in the topic.
- Dividing the standard deviation by . The variance is divided by ; the standard deviation is divided by . has standard deviation , not .
- Writing when the standard deviation is . The second parameter of is the variance. Write or .
- Treating a total as . The total of observations has variance , not .
- Claiming is normal for a small sample from a non-normal population. It is exactly normal only if is normal; otherwise you need a large sample and the Central Limit Theorem.
- Subtracting variances. For the variances add.
- Always write the distribution of in full before standardising, for example "". This line usually carries a mark of its own.
- When the population is stated to be normal, say "since is normal, is normal". Do not quote the Central Limit Theorem here: the result is exact, and examiners penalise quoting the CLT when it is not needed.
- "Find the smallest " questions: set up the inequality, solve it, and round up to the next integer, whatever the decimal part.
- Use the critical values printed under the normal table (, , , ) rather than reading them inexactly from the main table.
- Give probabilities to 3 significant figures, keeping 4 or more figures in intermediate values such as .
- , the mean of a random sample of size , is a random variable.
- and for any population; the standard deviation of is .
- The sample total has mean and variance .
- If is normal, exactly, for every .
- Standardise a sample mean with .
- Larger samples give means that cluster more tightly around ; quadrupling halves the spread.
- For differences of sample means or totals, the means subtract and the variances add.
Practice questions
- . A random sample of observations of is taken. State the distribution of and find .
- The random variable takes the values , and with probabilities , and respectively. Find the mean and variance of the mean of a random sample of observations of .
- The masses of eggs are normally distributed with mean g and standard deviation g. Eggs are packed in boxes of . Find the probability that the total mass of eggs in a randomly chosen box is less than g.
- . For a random sample of observations, . Find .
- IQ scores are normally distributed with mean and standard deviation . Find the smallest sample size for which the probability that the sample mean lies within of is at least .
- The heights of a species of plant are normally distributed with mean cm and standard deviation cm. Find the probability that the mean height of a random sample of plants lies between cm and cm.
- and are independent. A random sample of observations of and a random sample of observations of are taken. Find the probability that .
- . A random sample of observations of is taken, and . (a) Find . (b) Find the probability that the sum of the observations exceeds .
Answers
-
Since is normal, . .
-
; ; . and (3 s.f.).
-
. .
-
, standard deviation . Since , is below the mean: , so (4 s.f.).
-
. needs , so and . The smallest sample size is .
-
, standard deviation . .
-
and , so . .
-
(a) . means , so . . (b) , standard deviation . . (Equivalently, is the same event as .)