Sampling Distributions

April 12, 2026

Problem

Take 100 random samples of size 25 from a population with μ=50, σ=10. Plot sample means.

Explanation

What is a sampling distribution?

A sampling distribution is the distribution of a statistic (like the mean) computed from many random samples of the same size. It answers: "If I took many samples, how much would the sample mean vary?"

Key properties

For the sampling distribution of Xˉ\bar{X}:

  • Center: μXˉ=μ\mu_{\bar{X}} = \mu (same as population mean)
  • Spread: σXˉ=σ/n\sigma_{\bar{X}} = \sigma / \sqrt{n} (standard error — gets smaller with larger nn)
  • Shape: Approximately normal for large nn (CLT)

Step-by-step

Population: μ=50\mu = 50, σ=10\sigma = 10. Sample size n=25n = 25.

Standard error: SE=10/25=10/5=2SE = 10 / \sqrt{25} = 10 / 5 = 2

So the sampling distribution is approximately N(50,2)N(50, 2): centered at 50, with SD = 2.

Most sample means will fall between 50±2(2)=[46,54]50 \pm 2(2) = [46, 54] (95% of them).

Why this matters

The sampling distribution is the foundation of all inference: confidence intervals, hypothesis tests, and p-values all use the sampling distribution to assess how unusual a sample result is.

Try it in the visualization

Watch 100 samples drawn from the population. Each sample mean is plotted. The histogram of means forms a bell shape centered at μ with spread SE.

Interactive Visualization

Parameters

50.00
10.00
25.00
100.00
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Sampling Distributions | MathSpin