Portability | portable |
---|---|
Stability | experimental |
Maintainer | bos@serpentine.com |
Safe Haskell | None |
The Geometric distribution. There are two variants of
distribution. First is the probability distribution of the number
of Bernoulli trials needed to get one success, supported on the set
[1,2..] (GeometricDistribution
). Sometimes it's referred to as
the shifted geometric distribution to distinguish from another
one.
Second variant is probability distribution of the number of
failures before first success, defined over the set [0,1..]
(GeometricDistribution0
).
Documentation
data GeometricDistribution Source
data GeometricDistribution0 Source