The standard deviation of the sample mean
The mean of a random sample of n values, X̄, has variance Var, where is the standard deviation of the population. Take the square root to get its standard deviation: . The n comes out as a root, because is the square root of n.
The standard deviation of the sample mean is called the standard error, often written SE. It measures how far a sample mean typically lands from the population mean .
Suppose adult heights have standard deviation cm, and you measure n = 36 people. The standard error is cm. Single heights are spread out by about 12 cm, but the mean of 36 heights by only about 2 cm.
Heights with mean 170 cm and cm. The two dashed curves are one height, the lowest and widest, and the mean of 4 heights, with standard error 12 ÷ 2 = 6 cm. The tall gold curve is the mean of 36, with standard error 2 cm.
Fast at first, then slowly
With , the standard error is . One reading gives 12. Four readings give 12 ÷ 2 = 6, already half. Sixteen give 12 ÷ 4 = 3, thirty-six give 2, and sixty-four give 12 ÷ 8 = 1.5.
The first few readings make a large difference: going from 1 reading to 4 removes 6 cm of standard error. Going from 64 readings to 100 removes only 1.5 − 1.2 = 0.3 cm, although it adds 36 readings.
The standard error against the sample size n. It falls steeply from 12 at n = 1 to 6 at n = 4, and then flattens: 3 at n = 16, 2 at n = 36, 1.5 at n = 64.
Four times the readings for half the error
To halve the standard error, must double, and that needs four times as many readings, since . The heights of 36 people give a standard error of 2 cm. For 1 cm, measure 4 × 36 = 144 people: , and 12 ÷ 12 = 1.
For 0.5 cm, halve it again with 4 × 144 = 576 people: , and 12 ÷ 24 = 0.5. Each halving costs four times the readings, so precision grows expensive quickly. To divide the standard error by 3, you need 9 times as many readings, and to divide it by 10, a hundred times as many.
the means of a skewed population pile into a symmetric bell, and their spread is σ/√n — quadrupling n halves it; here σ/√n = 0.25
Take n to 100 and read the spread
Six hundred sample means, each from a sample of n values drawn from a population with mean 1 and standard deviation 1, piled up by size. At n = 16 the standard error is . Drag n to 64 and it is 1 ÷ 8 = 0.125, and the pile closes in around 1, half as wide.
When is not known
In practice the population standard deviation is rarely known. It is estimated by the standard deviation of the sample, s, and the standard error is estimated by .
A machine fills bags of rice. A sample of 50 bags has standard deviation s = 3.5 g, so the standard error of their mean mass is about .
The standard error of a proportion
A proportion is a mean too. Score each person 1 if they say yes and 0 if they say no; the mean of the scores is the proportion who said yes. If the population proportion is p, each score has variance p(1 − p), so the standard error of the sample proportion is .
If half of all voters favor a plan, p = 0.5, and a poll asks 100 voters, the standard error of the poll’s proportion is , or 5 percentage points. With 400 voters it is .
The usual mistakes
Dividing by n. It is the variance that is divided by n; is divided by . With and n = 36, the standard error is 12 ÷ 6 = 2, not .
Using for the mean. is the spread of one reading; the mean of 36 readings has standard error 2.
Doubling the sample to halve the error. Doubling n divides the standard error by , so 72 people give cm, not 1 cm.
Worked example: A Survey of Teenagers' Screen Time, Sized So That Both of Its Standard Errors Are Small Enough
Question A researcher is planning a survey of teenagers. Earlier studies suggest that daily screen time has a standard deviation of 48 minutes, and that about 40% of teenagers use a phone after midnight. (a) How many teenagers must she survey for the standard error of the mean screen time to be at most 4 minutes? (b) The same survey will estimate the proportion who use a phone after midnight, and that standard error must be at most 0.02. How many teenagers are needed for this, and how many must the survey include to meet both targets?
1.For the mean, the standard error is 48√n minutes, and the target is 48√n ≤ 4.
The standard error of the mean falls as n grows, but only as 1√n. The dashed line is the target of 4 minutes. 2.Multiply both sides by √n and divide both sides by 4: √n ≥ 12, so n ≥ 144.
48√n ≤ 4 gives √n ≥ 12, so n ≥ 144. 3.(a) She must survey at least 144 teenagers. Check: 48√144 = 4812 = 4 minutes exactly.
(a) At least 144 teenagers: the curve meets the target at n = 144. 4.For the proportion, the standard error is √0.4 × 0.6n = √0.24n. Square both sides of √0.24n ≤ 0.02: 0.24n ≤ 0.0004, so n ≥ 0.240.0004 = 600.
For the proportion, √0.24n ≤ 0.02 gives 0.24n ≤ 0.0004. 5.(b) The proportion needs at least 600 teenagers, and a survey of 600 meets both targets. Check: √0.24600 = √0.0004 = 0.02, and with n = 600 the standard error of the mean is 48√600 ≈ 1.96 minutes, well under 4.
(b) At least 600 for the proportion, so the survey needs 600 teenagers to meet both targets.
Answer: (a) at least 144 teenagers; (b) at least 600 for the proportion, so the survey must include 600 teenagers
Common mistakes
- Solving 48n ≤ 4 and getting n ≥ 12. The standard error divides by √n, not by n, so a sample of 12 has a standard error of 48√12 ≈ 13.9 minutes.
- Taking the smaller of the two sample sizes. A survey of 144 meets the first target but gives a standard error of √0.24144 ≈ 0.041 for the proportion, about twice the target; the survey must be large enough for both.