statistics-0.16.1.2: A library of statistical types, data, and functions
Copyright (c) 2009 Bryan O'Sullivan
License BSD3
Maintainer bos@serpentine.com
Stability experimental
Portability portable
Safe Haskell None
Language Haskell2010

Statistics.Distribution.Geometric

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

data GeometricDistribution Source #

Distribution over [1..]

Instances

Instances details
Eq GeometricDistribution Source #
Instance details

Defined in Statistics.Distribution.Geometric

Data GeometricDistribution Source #
Instance details

Defined in Statistics.Distribution.Geometric

Read GeometricDistribution Source #
Instance details

Defined in Statistics.Distribution.Geometric

Show GeometricDistribution Source #
Instance details

Defined in Statistics.Distribution.Geometric

Generic GeometricDistribution Source #
Instance details

Defined in Statistics.Distribution.Geometric

ToJSON GeometricDistribution Source #
Instance details

Defined in Statistics.Distribution.Geometric

FromJSON GeometricDistribution Source #
Instance details

Defined in Statistics.Distribution.Geometric

Binary GeometricDistribution Source #
Instance details

Defined in Statistics.Distribution.Geometric

DiscreteGen GeometricDistribution Source #
Instance details

Defined in Statistics.Distribution.Geometric

ContGen GeometricDistribution Source #
Instance details

Defined in Statistics.Distribution.Geometric

Entropy GeometricDistribution Source #
Instance details

Defined in Statistics.Distribution.Geometric

MaybeEntropy GeometricDistribution Source #
Instance details

Defined in Statistics.Distribution.Geometric

Variance GeometricDistribution Source #
Instance details

Defined in Statistics.Distribution.Geometric

MaybeVariance GeometricDistribution Source #
Instance details

Defined in Statistics.Distribution.Geometric

Mean GeometricDistribution Source #
Instance details

Defined in Statistics.Distribution.Geometric

MaybeMean GeometricDistribution Source #
Instance details

Defined in Statistics.Distribution.Geometric

DiscreteDistr GeometricDistribution Source #
Instance details

Defined in Statistics.Distribution.Geometric

Distribution GeometricDistribution Source #
Instance details

Defined in Statistics.Distribution.Geometric

type Rep GeometricDistribution Source #
Instance details

Defined in Statistics.Distribution.Geometric

type Rep GeometricDistribution = D1 (' MetaData "GeometricDistribution" "Statistics.Distribution.Geometric" "statistics-0.16.1.2-IkOne9g3oJ1vhHVSRLPUO" ' True ) ( C1 (' MetaCons "GD" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "gdSuccess") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 Double )))

data GeometricDistribution0 Source #

Distribution over [0..]

Instances

Instances details
Eq GeometricDistribution0 Source #
Instance details

Defined in Statistics.Distribution.Geometric

Data GeometricDistribution0 Source #
Instance details

Defined in Statistics.Distribution.Geometric

Read GeometricDistribution0 Source #
Instance details

Defined in Statistics.Distribution.Geometric

Show GeometricDistribution0 Source #
Instance details

Defined in Statistics.Distribution.Geometric

Generic GeometricDistribution0 Source #
Instance details

Defined in Statistics.Distribution.Geometric

ToJSON GeometricDistribution0 Source #
Instance details

Defined in Statistics.Distribution.Geometric

FromJSON GeometricDistribution0 Source #
Instance details

Defined in Statistics.Distribution.Geometric

Binary GeometricDistribution0 Source #
Instance details

Defined in Statistics.Distribution.Geometric

DiscreteGen GeometricDistribution0 Source #
Instance details

Defined in Statistics.Distribution.Geometric

ContGen GeometricDistribution0 Source #
Instance details

Defined in Statistics.Distribution.Geometric

Entropy GeometricDistribution0 Source #
Instance details

Defined in Statistics.Distribution.Geometric

MaybeEntropy GeometricDistribution0 Source #
Instance details

Defined in Statistics.Distribution.Geometric

Variance GeometricDistribution0 Source #
Instance details

Defined in Statistics.Distribution.Geometric

MaybeVariance GeometricDistribution0 Source #
Instance details

Defined in Statistics.Distribution.Geometric

Mean GeometricDistribution0 Source #
Instance details

Defined in Statistics.Distribution.Geometric

MaybeMean GeometricDistribution0 Source #
Instance details

Defined in Statistics.Distribution.Geometric

DiscreteDistr GeometricDistribution0 Source #
Instance details

Defined in Statistics.Distribution.Geometric

Distribution GeometricDistribution0 Source #
Instance details

Defined in Statistics.Distribution.Geometric

type Rep GeometricDistribution0 Source #
Instance details

Defined in Statistics.Distribution.Geometric

type Rep GeometricDistribution0 = D1 (' MetaData "GeometricDistribution0" "Statistics.Distribution.Geometric" "statistics-0.16.1.2-IkOne9g3oJ1vhHVSRLPUO" ' True ) ( C1 (' MetaCons "GD0" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "gdSuccess0") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 Double )))

Constructors

geometric Source #

Arguments

:: Double

Success rate

-> GeometricDistribution

Create geometric distribution.

geometricE Source #

Arguments

:: Double

Success rate

-> Maybe GeometricDistribution

Create geometric distribution.

geometric0 Source #

Arguments

:: Double

Success rate

-> GeometricDistribution0

Create geometric distribution.

geometric0E Source #

Arguments

:: Double

Success rate

-> Maybe GeometricDistribution0

Create geometric distribution.

Accessors