Is there a scientific library in JavaScript that can generate probability distributions similar to this library in Ruby?
http://rb-gsl.rubyforge.org/
For more information on use cases, see this related question: Create an array of numbers suitable for probability distribution in Ruby?
From what I read, some R defectors move to a library called Julia . It was ported to Javascript here by the creators of Julia themselves, and it looks pretty promising.
Julia's language
For generating distributions in JavaScript, see stdlib , which includes seed PRNGs for many distributions.