Click or drag to resize

Gamma

The gamma distribution is a two-parameter family of continuous probability distributions. It has a scale parameter θ and a shape parameter k.

This topic contains the following sections:

Constructor

Constructor

Description

Performance

set parameters

Creates new instance of Gamma with user specified parameters.

methodGamma(Double, Double)

set random generator

Creates new instance of Gamma with user specified generator and parameters.

methodGamma(RandomGenerator, Double, Double)

Methods

Method

Description

Performance

sample

Generate random variable sample.

methodSample

Fill in array with random variable series in place:

methodSample(Double)

Static method which generates new sample of Gamma distribution variate with specified parameters:

StaticSample(Double, Double)

StaticSample(RandomGenerator, Double, Double)

pdf

Probability density function.

DGamma Pdf

where Γ denotes the Gamma function.

methodPdf(Double)

Static probability density function.

StaticPdf(Double, Double, Double)

cdf

Cumulative distribution function.

DGamma Cdf

where γ is the lower incomplete gamma function.

methodCdf(Double)

Static cumulative distribution function.

StaticCdf(Double, Double, Double)

inverse cdf

Inverse cumulative distribution function. Is useful for quantile calculation. Function will return value of random variable such that likelihood for this random variable to occur less than or equal to returned value equal to specified pvalue parameter.

StaticInverseCdf(Double, Double, Double)

Properties

Property

Description

Performance

shape

Shape of the distribution.

PropertyShape

scale

Scale of the distribution.

PropertyScale

mean

Mean of the distribution.

DGamma Mean

PropertyMean

mode

Mode of distribution.

DGamma Mode

PropertyMode

kurtosis

Excess Kurtosis of distribution.

DGamma Kurtosis

PropertyKurtosis

skewness

Skewness of distribution.

DGamma Skewness

PropertySkewness

variance

Variance of the distribution.

DGamma Variance

PropertyVariance

standard deviation

Standard deviation of the distribution.

DGamma Std Dev

PropertyStandardDeviation