Is there a scientific library for generating probability distributions in JavaScript?

1k views Asked by At

Is there a scientific library in JavaScript that can generate probability distributions like this library in Ruby?

http://rb-gsl.rubyforge.org/

For more details on the use cases see this related question: Generate Array of Numbers that fit to a Probability Distribution in Ruby?

2

There are 2 answers

0
kgryte On BEST ANSWER

For generating distributions in JavaScript, see stdlib, which includes seedable PRNGs for many distributions.

1
briangonzalez On

From what I've been reading, some R defectors are moving toward a library called Julia. It's been ported to Javascript here by the makers of Julia themselves, and it looks quite promising.

The Julia Language