how can I generate a normal distribution with a skew in javascript?

darksoon

New Member
I need to generate a normal distribution with a skew that fits the following constraints[*]negativeSigma (minus one standard deviation)[*]mean (value the distribution is centered upon)[*]positiveSigma (plus one standard deviation)The intent is to have a distribution function that will generate random values. I've tried using Math.random() and also tried the normal and irwinHall distribution from d3.js but unable to figure it out. Are there any JS libraries that might help? Any help will be greatly appreciated.
3MfMz.jpg
 
Back
Top