lmomkmu {lmomco} | R Documentation |
L-moments of the Kappa-Mu Distribution
Description
This function estimates the L-moments of the Kappa-Mu () distribution given the parameters (
and
) from
parkmu
. The L-moments in terms of the parameters are complex. They are computed here by the probability-weighted moments in terms of the Marcum Q-function (see
cdfkmu
). The linear combination relating the L-moments to the probability-weighted moments is
for and the linear combination relating
to
is
and by definition the are the expectations
and thus
in terms of , the PDF
, and the CDF
. Lastly, the
for the Kappa-Mu distribution with substitutions of the Marcum Q-function are
Although multiple methods for Marcum Q-function computation are in cdfkmu
and discussed in that documentation, the lmomkmu
presenting is built only using the “chisq” approach.
Yacoub (2007, eq. 5) provides an expectation for the th moment of the distribution as given by
where is the confluent hypergeometric function of Abramowitz and Stegun (1972, eq. 13.1.2). The
lmomkmu
function optionally solves for the mean () using the above equation in conjunction with the mean as computed by the order statistic minimums. The
is defined as
where the notation represents “rising factorials” that are defined as
and
. The rising factorials are readily computed by
without resorting to a series computation. Yacoub (2007, eq. 5) is used to compute the mean.
Usage
lmomkmu(para, nmom=5, paracheck=TRUE, tol=1E-6, maxn=100)
Arguments
para |
The parameters of the distribution. |
nmom |
The number of moments to compute. |
paracheck |
A logical controlling whether the parameters and checked for validity. |
tol |
An absolute tolerance term for series convergence of the confluent hypergeometric function when the Yacoub (2007) mean is to be computed. |
maxn |
The maximum number of interations in the series of the confluent hypergeometric function when the Yacoub (2007) mean is to be computed. |
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: “lmomkmu”. |
yacoubsmean |
A list containing the mean, convergence error, and number of iterations in the series until convergence. |
Author(s)
W.H. Asquith
References
Yacoub, M.D., 2007, The kappa-mu distribution and the eta-mu distribution: IEEE Antennas and Propagation Magazine, v. 49, no. 1, pp. 68–81.
See Also
parkmu
, cdfkmu
, pdfkmu
, quakmu
Examples
kmu <- vec2par(c(1.19,2.3), type="kmu")
lmomkmu(kmu)
## Not run:
par <- vec2par(c(1.67, .5), type="kmu")
lmomkmu(par)$lambdas
cdf2lmoms(par, nmom=4)$lambdas
system.time(lmomkmu(par))
system.time(cdf2lmoms(par, nmom=4))
## End(Not run)
# See the examples under lmomemu() so visualize L-moment
# relations on the L-skew and L-kurtosis diagram