lmomkap {lmomco} | R Documentation |
L-moments of the Kappa Distribution
Description
This function estimates the L-moments of the Kappa distribution given the parameters (,
,
, and
) from
parkap
. The L-moments in terms of the parameters are complicated and are solved numerically. If the parameter (is small or near zero) then let
or if (nonzero) then let
where is L-moment order,
is Euler's constant, and for
the term to the right of the multiplication is not in Hosking (1994) or Hosking and Wallis (1997) for exists within Hosking's FORTRAN code base.
The probability-weighted moments (;
pwm2lmom
) for (is small or near zero) are
or if (nonzero) then
Usage
lmomkap(para, nmom=5)
Arguments
para |
The parameters of the distribution. |
nmom |
The number of moments to compute. Default is 5. |
Value
An R list
is returned.
lambdas |
Vector of the L-moments. First element is
|
ratios |
Vector of the L-moment ratios. Second element is
|
trim |
Level of symmetrical trimming used in the computation, which is |
leftrim |
Level of left-tail trimming used in the computation, which is |
rightrim |
Level of right-tail trimming used in the computation, which is |
source |
An attribute identifying the computational source of the L-moments: “lmomkap”. |
Author(s)
W.H. Asquith
References
Hosking, J.R.M., 1994, The four-parameter kappa distribution: IBM Journal of Reserach and Development, v. 38, no. 3, pp. 251–258.
Hosking, J.R.M., and Wallis, J.R., 1997, Regional frequency analysis—An approach based on L-moments: Cambridge University Press.
See Also
parkap
, cdfkap
, pdfkap
, quakap
Examples
lmr <- lmoms(c(123, 34, 4,78, 45, 234, 65, 2, 3, 5, 76, 7, 80))
lmomkap(parkap(lmr))