Learn R Programming

lmomco (version 0.88)

pargam: Estimate the Parameters of the Gamma Distribution

Description

This function estimates the parameters of the Gamma distribution given the L-moments of the data in an L-moment object such as that returned by lmom.ub. The relation between distribution parameters and L-moments is seen under lmomgam. The parameters can not be estimated if $\lambda_1 \le \lambda_2$ or $\lambda_2 \le 0$.

Usage

pargam(lmom,checklmom=TRUE)

Arguments

lmom
A L-moment object created by lmom.ub or pwm2lmom.
checklmom
Should the lmom be checked for validity using the are.lmom.valid function. Normally this should be left as the default and it is very unlikely that the L-moments will not be viable (particularly in the $\tau_4$ and $\tau_3$ inequ

Value

  • An R list is returned.
  • typeThe type of distribution: gam.
  • paraThe parameters of the distribution.
  • sourceThe source of the parameters: pargam.

References

Hosking, J.R.M., 1990, L-moments---Analysis and estimation of distributions using linear combinations of order statistics: Journal of the Royal Statistical Society, Series B, vol. 52, p. 105--124.

Hosking, J.R.M., 1996, FORTRAN routines for use with the method of L-moments: Version 3, IBM Research Report RC20525, T.J. Watson Research Center, Yorktown Heights, New York.

Hosking, J.R.M. and Wallis, J.R., 1997, Regional frequency analysis---An approach based on L-moments: Cambridge University Press.

See Also

lmom.ub, lmomgam, cdfgam, quagam

Examples

Run this code
lmr <- lmom.ub(rnorm(20))
pargam(lmr)

Run the code above in your browser using DataLab