gammaDistribution
gammaDistribution(
shape,rate?):Distribution
Defined in: gamma-distribution.ts:24
The gamma distribution, parameterised by shape and rate.
Rate rather than scale, so that gammaDistribution(1, r) is the same
distribution as exponentialDistribution(r) and the two agree on what their
second argument means. Scale is its reciprocal.
Parameters
Section titled “Parameters”number
Shape parameter k; must be positive.
number = 1
Rate parameter λ; must be positive.
Returns
Section titled “Returns”The distribution.
Throws
Section titled “Throws”When either parameter is not positive.