This simulation illustrates confidence intervals. For each run of the simulation, 100 sample experiments are conducted and a confidence interval on the mean is computed for each experiment. In each experiment, scores are sampled from a population with a mean of 50 and a standard deviation of 10. Therefore the parameter being estimated is always 50.
Both 95% and 99% confidence intervals are computed for each experiment. If the 95% confidence interval contains the population mean of 50, then the confidence interval is shown as an orange line. If the interval does not contain 50, it is shown as a red line. The 99% confidence intervals are shown by extending the 95% intervals. The extension is in blue if the 99% interval contains 50 and in white if it does not.
You can choose to make the sample size for each experiment 10, 15, or 20. One hundred simulated experiments are conducted when you click the "Sample" button. The cumulative results are shown at the bottom of the display. You can reset the cumulative results by clicking the "Clear" button.