HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

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

Contents
  1. Constructors
  2. Accessors
Synopsis
newtypenewtype GeometricDistribution

Distribution over [1..]

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

Distribution over [0..]

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

Constructors

Accessors