HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulestatistics-0.16.3.0Haskell2010

Statistics.Distribution.Geometric

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... 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...

  • 2 types
  • 6 values
newtypenewtype GeometricDistribution
#

Distribution over [1..]

Instances19Eq, Data, Read, Show, Generic, Binary, …
newtypenewtype GeometricDistribution0
#

Distribution over [0..]

Instances19Eq, Data, Read, Show, Generic, Binary, …

Constructors

4 declarations

Accessors