Determine the next random number for the particular distribution.
Pre-compute the mean for the particular distribution.
Compute the probability function (pf): Either (a) the probability density function (pdf) for continuous RV's or (b) the probability mass function (pmf) for discrete RV's.
Compute the probability function (pf): Either (a) the probability density function (pdf) for continuous RV's or (b) the probability mass function (pmf) for discrete RV's.
the mass point whose probability density/mass is sought
Indicates whether the distribution is discrete or continuous (default)
Indicates whether the distribution is discrete or continuous (default)
Determine whether the distribution is discrete or continuous.
Show the flaw by printing the error message.
Show the flaw by printing the error message.
the method where the error occurred
the error message
Determine the next random integer for the particular distribution.
Determine the next random integer for the particular distribution. It is only valid for discrete random variates.
Return the entire probability mass function (pmf) for finite discrete RV's.
Return the entire probability mass function (pmf) for finite discrete RV's.
number of objects of the first type
Random number stream selected by the stream number
Random number stream selected by the stream number
The
Variate
abstract class serves as a base class for all the random variate (RV) generators. They use one of the Random Number Generators (RNG's) fromRandom
to generate numbers following their particular distribution. Random Variate Generators (RVG's) for thirty popular probability distributions are implemented as extensions of Variate. Still need to add one.VariateVec
for Random MultiVariate Generators (RMVG's).http://www.math.uah.edu/stat/special/index.html