This applet evaluates the accuracy of the central limit theorem
approximation by computing sample means of data drawn from a gamma
distribution, with parameters
and
with
.
How to use the applet
- Choose a sample size,
, from
the drop down box. Choose a sample size between 1 and 100.
- Enter value for the parameter,
, of the
gamma distribution into the cells at the top.
Note, this cell acts like a spreadsheet application; to change
its entry, click on it, delete the current value, type a new
one, and then press enter. The value of
must be a positive
integer. When you update the value of the parameter, the plot
in lower-left titled "Gamma Density Function" is updated to
reflect the new distribution.
- Click the button that reads "Generate Data." 1000 samples of
size
will be generated
from
.
-
You
can view the generated data and each sample mean,
, by
clicking the button that reads "View Data."
- A histogram of the sample means is plotted in the center plot, and
a normal curve is superimposed.
- The lower-right plot is a normal probability plot of the sample means.
The applet