Sampling Distributions and Standard Error

A statistic computed from a sample is itself random. Its spread has a name, a formula, and a square root that governs every survey ever run.

Sampling Distributions and Standard Error

This module needs JavaScript: the numbers are computed in the page rather than recorded.

Worth knowing

A sampling distribution is the distribution of a statistic across every sample you could have drawn.
The standard error is its standard deviation. For a mean it is σ/√n.
Standard deviation describes the data. Standard error describes an estimate. They are not interchangeable.
The right-hand curve is why precision is expensive: it flattens, and every further gain costs four times the data.

Overview

The statistic is random too

A sample mean changes from sample to sample, even when the population stays fixed. Its sampling distribution is the distribution of those possible means. For independent observations with population mean μ and variance σ², the sample mean has expectation μ and standard error σ/√n.

SE(x̄) = σ/√n

Standard deviation describes variation among individual observations; standard error describes variation of an estimator across samples. Increasing sample size shrinks the standard error at a square-root rate under the stated assumptions, not the spread of the underlying population.

In this guide
  1. Shape depends on the statistic and data
  2. Keep three distributions distinct
  3. Try this above
  4. Sources and next steps

Sampling Distributions

A sampling distribution describes how a statistic varies across repeated samples from the same population.

Shape depends on the statistic and data

The sampling distribution of the mean becomes approximately normal under central-limit conditions, but small samples from skewed or heavy-tailed populations may not. Dependence between observations changes the calculation. See the central limit theorem, normal distribution, and confidence intervals.

Keep three distributions distinct

The population distribution describes individual observations. A sample distribution is the set of observed values in one particular sample. A sampling distribution describes the values a statistic, such as the sample mean, would take across repeated samples of the same size. The population parameter is fixed in this setup, but the statistic changes because the sample changes. This is the foundation for standard errors and confidence intervals.

For independent observations with finite variance, the sample mean has expected value μ and standard error σ/√n. Quadrupling the sample size halves the standard error; it does not make individual observations less variable. In practice σ is unknown and estimated from the data. Random sampling and independence matter: a large set of repeated measurements from one household or adjacent time points may carry less information than the same number of independent observations. Standard error describes random sampling variability, not bias, measurement error, or a flawed sampling frame. The central limit theorem explains when the shape of a sampling distribution is approximately normal.

Try this above

Draw repeated samples at two sample sizes. Compare the distribution of individual observations with the distribution of sample means.

A simulation can make the idea concrete: repeatedly sample n observations from one fixed population, compute the mean each time, and plot those means. The histogram of original observations estimates the population shape; the histogram of repeated means approximates the sampling distribution. Increasing n narrows the latter when the assumptions hold, even though the population spread has not changed. In a real study, only one sample is observed, so the sampling distribution is inferred from the design and model rather than directly seen.

The standard error is often estimated by s/√n for an independent sample, but this does not automatically account for a complex survey design. Clustering, stratification, and unequal selection probabilities require design-aware uncertainty calculations. A calculator's standard-error formula assumes a particular sampling model. If the data come from convenience sampling or repeated measurements, explain what population the inference is intended to describe and what assumptions connect the sample to it.

Sources and next steps

Check yourself

0 of 3

Answer without scrolling back up.

  1. What is a sampling distribution?

  2. Which shrinks as you collect more data?

  3. Why do national polls settle around 1,000 respondents?

Cheat sheet

Sampling Distributions and Standard Error

Simulate thousands of samples and plot the distribution of the sample mean. Watch the standard error shrink as the sample size grows.

MATHS · vizlearn.in/maths/sampling_distributions.html

About the author

Ashish Jangra builds and maintains VizLearn. Every module here is written and the visualisation behind it hand-built, so the numbers in a readout come from the same code that draws the picture. Corrections are genuinely welcome and get priority over everything else — if a page states something wrong, or an animation misrepresents what the algorithm does, get in touch.

Teaching a course with this? Individual teachers can use it freely; for a whole department or programme, see institutional licences.