Random error

Welcome! In this demonstration, we will visualize the concept of random error in statistics. Back to Home

Population size:
Sample size:
Number of sampling times:

Simple random sampling

Simple random sampling is a method of selecting a sample from a population in such a way that every possible sample of a given size has an equal chance of being selected. In this demonstration, we will generate a population of values and randomly select a sample of values from the population. You will see how the sample mean varies from sample to sample. This is an example of random error.

Generate data

Press the button to generate a population of values.

Population mean: