Learn R Programming

lmomco (version 1.7.3)

parray: Estimate the Parameters of the Rayleigh Distribution

Description

This function estimates the parameters of the Rayleigh distribution given the L-moments of the data in an L-moment object such as that returned by lmom.ub. The relations between distribution parameters and L-moments are $$\alpha = \frac{2\lambda_2\sqrt{\pi}}{\sqrt{2} - 1}\mbox{,}$$ and $$\xi = \lambda_1 - \alpha\sqrt{\pi/2}\mbox{.}$$

Usage

parray(lmom, xi=NULL, checklmom=TRUE)

Arguments

lmom
A L-moment object created by lmom.ub or pwm2lmom.
xi
The lower limit of the distribution. If $\xi$ is known then alternative algorithms are used.
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: ray.
  • paraThe parameters of the distribution.
  • sourceThe source of the parameters: parray.

References

Hosking, J.R.M., 1986, The theory of probability weighted moments: Research Report RC12210, IBM Research Division, Yorkton Heights, N.Y.

See Also

lmom.ub, lmomray, cdfray, quaray

Examples

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

Run the code above in your browser using DataLab