Normal Distribution Simulator
In statistics we often record data and then do calculations in the hopes of discovering truth. But sometimes we can be over-confident in our results.
Then we can see how closely our data leads us back to the truth.
Play with this so you get a good "feel" for data. Try different sample sizes, etc and see what you get. Use Refresh a lot. See how sometimes the results are good or bad.
Example: Testing A New Medicine
You don't know it, but the medicine actually reduces the risk of heart attack to 0.9 of the usual value, so is very valuable. But results vary widely (standard deviation of 0.3)
Enter 0.9 and 0.3 and 10 samples (testing is expensive!)
Now click "Generate" and see if your research has shown how valuable this new medicine really is (less than 1 is good)
Try "Generate" many times and imagine each one is a "clinical trial". Notice that some may greatly exaggerate the benefit, others may say the medicine makes things worse.
Try differernt sample sizes, such as 30, 100, 500.
You can also try a mean of 1.0 (the medicine is useless).
How to Use
For a population that follows a Normal Distribution first enter the True Mean, True Standard Deviation and How Many in Sample in the top three boxes.
Then click "Generate" to generate a random sample of the chosen size from the population.
This will then give you the Sample Mean, the Sample Standard Deviation and the Confidence Interval (choose from 80% to 99.9% from the drop down menu) for the randomly generated sample.
You can then compare the data for the sample with the data for the population.
The data is created using the "Box-Muller Transformation" and then adjusted for your chosen mean and standard deviation.