Click or drag to resize
Accord.NET (logo)

GammaDistributionFromBayesian Method

Constructs a Gamma distribution using α and β parameterization.

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

Parameters

alpha
Type: SystemDouble
The shape parameter α = k.
beta
Type: SystemDouble
The inverse scale parameter β = 1/θ.

Return Value

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