Learn R Programming

lmomco (version 1.7.3)

parlap: Estimate the Parameters of the Laplace Distribution

Description

This function estimates the parameters of the Generalized Logistic 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 sample L-moments using the best available combination of the lower L-moments are $$\xi = \lambda_1 - 50/31\times\lambda_3 \mbox{, and}$$ $$\alpha = 1.4741\lambda_2 - 0.5960\lambda_4 \mbox{.}$$

Although by simplist definition, one would have $\xi = \lambda_1$ and $\alpha = \frac{4}{3}\lambda_2$.

Usage

parlap(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: lap.
  • paraThe parameters of the distribution.
  • sourceThe source of the parameters: parlap.

References

Hosking, J.R.M., 1986, The theory of probability weighted moments: IBM Research Report RC12210, T.J. Watson Research Center, Yorktown Heights, New York.

See Also

lmom.ub, lmomlap, cdflap, qualap

Examples

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

Run the code above in your browser using DataLab