Confidence Intervals for Means

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

equation4 
The black intervals are the confidence intervals which include the true mean 0, and the red intervals are those which exclude 0.


Source Code

This applet uses the Danby package in additon to the following java files:
This applet was written by Charles Stanton