Create Gaussian Distributions with Set Means and Standard Distributions
in
Share your Work
•
3 years ago
I was reading a study recently that reported means and standard deviations for a pre and post-test, but didn't report individual data. Even though the differences were statistically significant, I wanted to be able to "see" what the individual data might look like. This sketch creates distributions of random numbers that are normally distributed with means and standard deviations equal to predetermined values. In order to generate a distribution with a similar This sketch does not produce a visualization, it simply writes the distributions to a tab-delimited file and exists. It uses the Box-Muller transformation to create the normal distribution. Maybe somebody else will find it helpful.