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

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

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

gammaDistr

Arguments

:: Double

Shape parameter. k

-> Double

Scale parameter, ϑ.

-> GammaDistribution 

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

improperGammaDistr

Arguments

:: Double

Shape parameter. k

-> Double

Scale parameter, ϑ.

-> GammaDistribution 

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

Accessors

gdShape :: GammaDistribution -> Double

Shape parameter, k.

gdScale :: GammaDistribution -> Double

Scale parameter, ϑ.