parlap {lmomco} | R Documentation |
Estimate the Parameters of the Laplace Distribution
Description
This function estimates the parameters of the Laplace distribution given the L-moments of the data in an L-moment object such as that returned by lmoms
. The relations between distribution parameters and sample L-moments are simple, but there are two methods. The first method, which is the only one implemented in lmomco, jointly uses \lambda_1, \lambda_2, \lambda_3
, and \lambda_4
. The mathematical expressions are
\xi = \lambda_1 - 50/31\times\lambda_3 \mbox{and}
\alpha = 1.4741\lambda_2 - 0.5960\lambda_4 \mbox{.}
The alternative and even simpler method only uses \lambda_1
and \lambda_2
. The mathematical expressions are
\xi = \lambda_1\mbox{\, and}
\alpha = \frac{4}{3}\lambda_2\mbox{.}
The user could easily estimate the parameters from the L-moments and use vec2par
to create a parameter object.
Usage
parlap(lmom, checklmom=TRUE, ...)
Arguments
lmom |
|
checklmom |
Should the |
... |
Other arguments to pass. |
Value
An R list
is returned.
type |
The type of distribution: |
para |
The parameters of the distribution. |
source |
The source of the parameters: “parlap”. |
Note
The decision to use only one of the two systems of equations for Laplace fitting is largely arbitrary, but it seems most fitting to use four L-moments instead of two.
Author(s)
W.H. Asquith
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
lmomlap
,
cdflap
, pdflap
, qualap
Examples
lmr <- lmoms(rnorm(20))
parlap(lmr)