estGammaParam: Estimate Gamma Distribution Parameters

Description Usage Arguments Details References

View source: R/estdistparam.R

Description

Estimate parameters of a gamma distribution using method of moments.

Usage

1

Arguments

mu

Mean of the gamma distribution. mu cannot have a negative value.

sigma

Standard deviation of the gamma distribution. sigma cannot have a negative value.

Details

α (shape) and β (scale) parameters are estimated as:

α = (mu/sigma)^2

β = (sigma^2)/mu

References

https://www.rocscience.com/help/swedge/webhelp/swedge/Gamma_Distribution.htm


austinnam/modeltools documentation built on Aug. 3, 2019, 7:20 p.m.