random_variable

random variables for a wide variety of probability distributions such as: Binomial, Beta, Chi-Squared, Normal, Pareto, Poisson, etc.


License
GPL-3.0
Install
gem install random_variable -v 1.2.2

Documentation

random_variable

Random Variables in Ruby.

The random_variable gem allows you to use random variables as you would usually do in maths.

To date, the supported random distributions are:

  • Bernoulli
  • Beta
  • Binomial
  • Chi-Squared
  • Continuous Uniform
  • Discrete Uniform
  • Exponential
  • F
  • Normal
  • Pareto
  • Poisson
  • Rademacher
  • Rayleigh
  • Rectangular

and more distributions are on the way.

a tutorial is available at www.mrinaldi.net/random_variable