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

Portabilityportable
Stabilityexperimental
Maintainerbos@serpentine.com
Safe HaskellNone

Statistics.Distribution.Gamma

Contents

Description

The gamma distribution. This is a continuous probability distribution with two parameters, k and ϑ. If k is integral, the distribution represents the sum of k independent exponentially distributed random variables, each of which has a mean of ϑ.

Synopsis

Documentation

Constructors

gammaDistrSource

Arguments

:: Double

Shape parameter. k

-> Double

Scale parameter, ϑ.

-> GammaDistribution 

Create gamma distribution. Both shape and scale parameters must be positive.

improperGammaDistrSource

Arguments

:: Double

Shape parameter. k

-> Double

Scale parameter, ϑ.

-> GammaDistribution 

Create gamma distribution. This constructor do not check whether parameters are valid

Accessors

gdShape :: GammaDistribution -> DoubleSource

Shape parameter, k.

gdScale :: GammaDistribution -> DoubleSource

Scale parameter, ϑ.