Independent sample means
A controlled iid simulation, not a fit to a survey. Finite plot windows omit tails without renormalising the bars.
Try this
- Start with one exponential observation per average. Rewind a large stack and watch the lower histogram become more Gaussian while the upper population does not change.
- Try rare bright outliers. Compare increasing the number of experiments with increasing the measurements in each stack.
- Select the Cauchy counterexample. Even 100 measurements per stack leave a Cauchy distribution of averages, with an exact central 50% width of 2.
What is standardised?
Exponential observations have mean 1 and variance 1. The mixture is 95% Normal(0,1) plus 5% Normal(5,1), with mean 0.25 and variance 2.1875. For these finite-variance populations, the lower panel plots Z = √n (x̄ − μ) / σ. The ordinary iid CLT predicts convergence to Normal(0,1), not exact normality at small n. The unstandardised average has SD σ/√n.
Cauchy is not an ordinary CLT example
The standard Cauchy is Student-t with one degree of freedom. Neither its population mean nor its variance exists. The average of independent standard Cauchy draws is exactly standard Cauchy for every n. The lower panel switches to raw averages and an exact Cauchy reference, with no Gaussian standardisation. The population SD metric therefore says “Undefined”.
The displayed IQR is an empirical summary of this finite run, not a population moment or an uncertainty on a location estimate. It can fluctuate as the stack grows. In the Cauchy case its theoretical counterpart is 2 for every n; it does not shrink as 1/√n.
What stays fixed, and what this leaves out
The browser caches 3,000 independent sequences of 100 observations and a separate 8,000-point population illustration. Changing n uses prefixes of those sequences; changing the experiment count uses the same first experiments. Animation has 100 percentage steps and starts paused at the result. The seed uses the shared browser RNG, not R's RNG, so identical seed numbers do not reproduce R's individual draws.
Histograms use count/(all draws × bin width), including draws outside the finite view in their denominator. Neither bars nor reference curves are rescaled to hide omitted tails. Shared calibration errors, correlations, selection bias and changing populations can also defeat naive stacking; they are deliberately absent here.