This applet simulates finding confidence intervals for the mean of a normal random variable. A sample of size 20 is generated from a standard normal random variable. The blue marks represent the sample data. The sample mean X and sample standard deviation s are found and used to calculate the confidence interval. The black intervals are the confidence intervals which include the true mean 0, and the red intervals are those which exclude 0. This applet needs to be resized for optimal viewing.