Click or drag to resize
Accord.NET (logo)

GammaDistributionFromMean Method

Constructs a Gamma distribution using k and μ parameterization.

Namespace:  Accord.Statistics.Distributions.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public static GammaDistribution FromMean(
	double alpha,
	double mean
)
Request Example View Source

Parameters

alpha
Type: SystemDouble
The shape parameter α = k.
mean
Type: SystemDouble
The mean parameter μ = k/β.

Return Value

Type: GammaDistribution
A Gamma distribution constructed with the given parameterization.
See Also