There are two panels, both on a 0 to 10 scale. The top panel (coral) is the population you sample from, with a dashed line and a label at its mean μ. The bottom panel (teal) is the sampling distribution of x̄: every sample you draw adds one sample mean to it. A navy Normal curve with mean μ and standard deviation σ/√n is drawn over the bars, and a dashed coral line marks the average of the sample means so far.
- Population shape: Right-skewed (default), Uniform, Bimodal or Normal.
- Sample size n: a slider from 2 to 100 in steps of 1 (default 30).
- Draw 1, Draw 10, Draw 100, Draw 1000: take that many new random samples of size n and add their means to the bottom panel.
- Reset: clears the sample means.
The readout lists samples drawn, population μ, mean of x̄ (observed), SD of x̄ (observed) and σ/√n (predicted SE), all to three decimal places.
Changing the shape or moving the n slider clears every sample drawn so far, so set n first and then draw. The population's μ and σ are estimated from 40,000 random values each time you choose a shape, so the third decimal can shift slightly from one visit to the next. Draw at least 1000 samples before comparing the observed values with the predictions.