Set the desired confidence level and sample size with the sliders, then click SAMPLE to take a sample. On the right you'll see the sampled values as small yellow dots; the large dot will show the sample mean, and the lines on each side of this dot span the confidence interval. Click SAMPLE 25 take 25 samples all at once. Intervals that contain the population mean µ ("hits") will be colored gray; "misses" will be colored red. Click on any confidence interval to show the sample data that the interval is based on.
Click the "Quiz Me" button to complete the activity.
A level C confidence interval for a parameter is an interval computed from sample data by a method that has probability C of producing an interval containing the true value of the parameter. In this applet we construct confidence intervals for the mean (µ) of a Normal population distribution. Each interval is based on a SRS of size n. The dot marks the sample mean, which is the center of the interval. The lines on each side of the dot span the confidence interval. The total number of SRSs, the number that “hit” (i.e., the confidence interval contained µ), and the percent hit are tallied for you.
Reset the applet, set the sample size to 50 and the confidence level to 80, and click the "SAMPLE 25" button four times, so that you've taken 100 total samples. Now raise the confidence level to 90, 95, and 99. As the confidence level rises, the confidence intervals in the graph get TkfECndWwoc+Jwmwxd0llBmpmi4=, while the "Percent hit"—the number of samples whose intervals include the true population mean—Gf3V/TN28dP11g8ozjnmmmCtZE0exjSd26s+e7tAdKW2UsQPaG8lVPFo8H7uYcrB.
Now set the confidence level to 95 and take 25 samples each with sample sizes of 10, 40, and 200. As the sample size increases, the confidence intervals in the graph get oUSIS7ffBFuMpcKjb/7M9TgXkok=, while the "Percent hit"—the number of samples whose intervals include the true population mean—tiYL449dXmNPEx9WsUD3Uz4/TMVvy4nr+ivuNlpRQOHK//gJTPSTjLhbUotJP8oK.