Are there any built-in libraries in Python or Numpy to generate random numbers based on various common distributions, such as:
- Normal
- Poisson
- Exponential
- Bernoulli
And various others?
Are there any such libraries with multi-variate distributions?
pythonrandom
Are there any built-in libraries in Python or Numpy to generate random numbers based on various common distributions, such as:
And various others?
Are there any such libraries with multi-variate distributions?
Best Answer
bernoulli, poisson, norm, expon and many others are documented here
All the distributions defined in scipy.stats have a common interface to the pdf, cdf, rvs (random variates). More info here.