Sampling Lab

Sampling and probability

Draw a sample, compare it with the true mean, then repeat it 1,000 times.

Population

Sample mean x̄–
True mean μ–
Error–

Tap or hover a unit to see its group and value.

Sampling distribution of x̄

True mean μAverage of x̄
Samples drawn
0
Average of the sample means
–
Bias (average − μ)
–
Standard error (SD of x̄)
–
Theory: simple random SE
–

Your sample

Method
–
Sample size
–
Sample mean (x̄)
–
True mean (μ)
–
Error (x̄ − μ)
–
Sample SD
–
Units chosen (id · value)

Which method is most accurate?

Runs 2,000 samples of every method on this population at your current sample size. A smaller standard error means a more reliable estimate.