Re: Generate random numbers from Normal Distribution with Specific Mean and Variance

2016-10-24 Thread Sean Owen
In the context of Spark, there are already things like RandomRDD and SQL randn() to generate random standard normal variables. If you want to do it directly, Commons Math is a good choice in the JVM, among others. Once you have a standard normal, just multiply by the stdev and add the mean to

Re: Generate random numbers from Normal Distribution with Specific Mean and Variance

2016-10-24 Thread Jörn Franke
https://github.com/rnowling/bigpetstore-data-generator > On 24 Oct 2016, at 19:17, Mich Talebzadeh wrote: > > thanks Jorn. > > I wish we had these libraries somewhere :) > > Dr Mich Talebzadeh > > LinkedIn >

Re: Generate random numbers from Normal Distribution with Specific Mean and Variance

2016-10-24 Thread Mich Talebzadeh
thanks Jorn. I wish we had these libraries somewhere :) Dr Mich Talebzadeh LinkedIn * https://www.linkedin.com/profile/view?id=AAEWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw * http://talebzadehmich.wordpress.com

Re: Generate random numbers from Normal Distribution with Specific Mean and Variance

2016-10-24 Thread Jörn Franke
Bigtop contains a random data generator mainly for transactions, but it could be rather easily adapted > On 24 Oct 2016, at 18:04, Mich Talebzadeh wrote: > > me being lazy > > Does anyone have a library to create an array of random numbers from normal >