LeoMath

Explore

How sample means become bell-shaped

Sample from a skewed 0–1 law, a uniform law and an exponential law, and compare each source with its distribution of sample means. After standardisation, see why all of them approach the same bell curve.

  • Simulated histogram
  • Normal approximation

Source: draw each Xᵢ independently

Distribution of 5000 sample means; the dashed curve is the normal approximation

Sample size n
Mean of the means 0.1SD of the means 0.093Theoretical 0.1 ± 0.095
Source mean μ 0.1SD of the mean σ/√n 0.095
X‾n=X1+⋯+XnnZn=X‾n−μσ/nVar⁡(X‾n)=σ2n
Back to the article →

What did you observe?Play first, then answer. Read the explanation only after you have thought it through.

  1. 1.Choose Bernoulli(p) and look at the histogram at n = 1, then at n = 10, 30 and 100. How do its shape and width change? Is this the same as the original data becoming normal?
  2. 2.Keep n fixed and switch between the uniform and exponential laws. Which quantity shrinks like 1/√n? Press “Standardised”: what do the three histograms have in common?
  3. 3.Move Bernoulli p from 0.1 to 0.5. How does the skewness change? Now set p back to 0.1: why does the normal approximation become useful again as n grows?
Related concept: Central limit theorem

Discussion

Found a mistake, have a question or a suggestion? You can also write to 620026600@qq.com

No comments yet. Share your understanding, ask a question, or point out an error on this page.

Log in to join the discussion