Statistics/Normal distribution

From Rosetta Code
Revision as of 00:29, 27 July 2011 by rosettacode>Ledrug (Created page with "{{draft task}} Normal distribution is arguably the most freqently use distribution in statistics, while most programming languages only provide a unifo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Statistics/Normal distribution is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.

Normal distribution is arguably the most freqently use distribution in statistics, while most programming languages only provide a uniformly distributed random number generator. However, one can derive normally distributed random numbers from a uniform generator.

Task: take a uniform random number generator, and create a large (you decide how large) set of numbers that follow a normal distribution. Calculate the dataset's mean and stddev, and show the histogram. You may refer to code in Statistics/Basic if available.