statistics-0.6.0.2: A library of statistical types, data, and functionsSource codeContentsIndex
Statistics.Distribution.Geometric
Portabilityportable
Stabilityexperimental
Maintainerbos@serpentine.com
Contents
Constructors
Accessors
Description

The Geometric distribution. This is the probability distribution of the number of Bernoulli trials needed to get one success, supported on the set [1,2..].

This distribution is sometimes referred to as the shifted geometric distribution, to distinguish it from a variant measuring the number of failures before the first success, defined over the set [0,1..].

Synopsis
data GeometricDistribution
fromSuccess :: Double -> GeometricDistribution
pdSuccess :: GeometricDistribution -> Double
Documentation
data GeometricDistribution Source
show/hide Instances
Constructors
fromSuccess :: Double -> GeometricDistributionSource
Accessors
pdSuccess :: GeometricDistribution -> DoubleSource
Produced by Haddock version 2.4.2