- The default is to sample from a normal distribution. Click the sample button
and 100 values will be sampled from a normal distribution. Compare the observed
values in the "From a Normal Distribution" section to the expected values.
Is the Chi Square test significant at the 0.05 level? How often would you
expect it to be significant.
- Compare the observed frequencies from the "From a Uniform Distribution" section
to the expected frequencies. In what way are they different? Is the difference
significant? If so, then the null hypothesis that the numbers were sampled
from a uniform distribution could be rejected. Of course, in this simulation,
you know where the numbers were sampled so you know the null hypothesis is
false.
- Simulate several experiments and see if the significance for the test of
a uniform distribution is always significant.
- Make the actual distribution a uniform distribution and do more simulated
experiments. Compare the results to when the actual distribution was normal.