This demonstration illustrates the difference between simple random sampling and stratified sampling. The population consists of 100 animals: 60 lions, 30 turtles, and 10 rabbits. The population is shown on the left. The default is for random sampling. If you push the "sample 10 animals" button, 10 animals will be sampled and the number of lions, rabbits, and turtles will be tabulated and shown. The animals sampled are shown in blue. If you push the button again, another sample will be drawn and the new tally will be shown to the right of the first tally.
To start over, click the "reset" button.
If you choose "stratified sampling" then the composition of the sample will match that of the population.