Take a sample and compute its mean; take another sample and you'll get a slightly different mean. That variation is the key to inference. The sampling distribution describes it, and standard error quantifies it — the foundation of confidence intervals and tests.
The sampling distribution
Imagine taking many samples and computing the mean of each. The distribution of those means is the sampling distribution of the mean. By the CLT (Chapter 10) it's approximately normal, centred on the true population mean.
Standard error
The standard error (SE) is the standard deviation of that sampling distribution — how much sample means bounce around the true value. For a mean:
SE = sample_std / sqrt(n)# Notice: SE shrinks as n grows — bigger samples give more precise estimates.# Quadruple the sample size → halve the standard error (because of the √n).
Sample size & precision
Because SE depends on √n, precision has diminishing returns: going from 100 to 400 samples halves the error, but going from 400 to 1600 only halves it again. This is why studies balance sample size against cost.
Why it matters
Standard error is the ruler for uncertainty. Every confidence interval (next chapter) and every hypothesis test uses it to say "our estimate is this, give or take that much" — turning a single sample into a statement about the population.
Practice
Simulate drawing 1000 samples of size 30 from a population, compute each mean, and plot the sampling distribution. Compute the standard error and compare it to the theoretical std/√n. Then repeat with size 120 and watch the SE roughly halve.
Key takeaways
- 01The sampling distribution of the mean is the distribution of means across many samples — ~normal by the CLT.
- 02Standard error (SE = std/√n) is its spread — how much sample means vary around the truth.
- 03SE shrinks with sample size, but only as √n — quadruple n to halve the error.
- 04Standard deviation describes data spread; standard error describes estimate precision.
- 05SE is the basis of confidence intervals and hypothesis tests.
