statistics-0.13.3.0: A library of statistical types, data, and functions

Copyright(c) 2009 Bryan O'Sullivan
LicenseBSD3
Maintainerbos@serpentine.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Statistics.Distribution.Geometric

Contents

Description

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

Synopsis

Documentation

Constructors

geometric

Arguments

:: Double

Success rate

-> GeometricDistribution 

Create geometric distribution.

geometric0

Arguments

:: Double

Success rate

-> GeometricDistribution0 

Create geometric distribution.

Accessors