Bernoulli Distribution
Represents the bernoulli distribution.
Since
1.0.0
Author
Matthias Kovacic
Parameters
p
The probability of success.
seed
The seed to use for the random number generator.
See also
Throws
If p is not between 0 and 1.
Functions
Link copied to clipboard
Returns the cumulative distribution function (CDF) of the distribution.
Link copied to clipboard
Returns the entropy of the distribution.
Link copied to clipboard
Returns the Fisher information of the distribution.
Link copied to clipboard
Returns true if the distribution is continuous.
Link copied to clipboard
Returns true if the distribution is discrete.
Link copied to clipboard
Returns the probability density function (PDF) of the distribution.
Link copied to clipboard
Returns the quantile of the distribution.