50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

copBasic (version 2.2.8)

kfuncCOPlmoms: The L-moments of the Kendall Function of a Copula

Description

Compute the L-moments of the Kendall Function (FK(z;C)) of a copula C(u,v) where the z is the joint probability of the C(u,v). The Kendall Function (or Kendall Distribution Function) is the cumulative distribution function (CDF) of the joint probability Z of the coupla. The expected value of the z(FK) (mean, first L-moment λ1), because Z has nonzero probability for 0Z, is

E[Z]=λ1=0[1FK(t)]dt=01[1FK(t)]dt,

where for circumstances here 0Z1. The is mentioned only because expectations of such CDFs are usually shown using (0,) limits, whereas integration of quantile functions (CDF inverses) use limits (0,1). Because the support of Z is (0,1), like the probability FK, showing just it () as the upper limit could be confusing---statements such as “probabilities of probabilities” are rhetorically complex. So, pursuit of word precision is made herein.

An expression for λr for r2 in terms of the FK(z) is λr=1rj=0r2(1)j(r2j)(rj+1)01[FK(t)]rj1×[1FK(t)]j+1dt, where because of these circumstances the limits of integration are (0,1) and not (,) as in the usual definition of L-moments in terms of a distribution's CDF. (Note, such expressions did not make it into Asquith (2011), which needs rectification if that monograph ever makes it to a 2nd edition.)

The mean, L-scale, coefficient of L-variation (τ2, LCV, L-scale/mean), L-skew (τ3, TAU3), L-kurtosis (τ4, TAU4), and τ5 (TAU5) are computed. In usual nomenclature, the L-moments are λ1=mean, λ2=L-scale, λ3=third L-moment, λ4=fourth L-moment, and λ5=fifth L-moment, whereas the L-moment ratios are τ2=λ2/λ1=coefficient of L-variation,  τ3=λ3/λ2=L-skew,  τ4=λ4/λ2=L-kurtosis, and τ5=λ5/λ2=not named. It is common amongst practitioners to lump the L-moment ratios into the general term “L-moments” and remain inclusive of the L-moment ratios. For example, L-skew then is referred to as the 3rd L-moment when it technically is the 3rd L-moment ratio. There is no first L-moment ratio (meaningless); so, results from kfuncCOPlmoms function will canoncially show a NA in that slot. The coefficient of L-variation is τ2 (subscript 2) and not Kendall Tau (τ). Sample L-moments are readily computed by several packages in R (e.g. lmomco, lmom, Lmoments, POT).

Usage

kfuncCOPlmom(r, cop=NULL, para=NULL, ...)

kfuncCOPlmoms(cop=NULL, para=NULL, nmom=5, begin.mom=1, ...)

Value

An R

list is returned by kfuncCOPlmoms and only the scalar value of λr by kfuncCOPlmom.

lambdas

Vector of the L-moments. First element is λ1, second element is λ2, and so on;

ratios

Vector of the L-moment ratios. Second element is τ, third element is τ3 and so on; and

source

An attribute identifying the computational source of the L-moments: “kfuncCOPlmoms”.

Arguments

r

The rth order of a single L-moment to compute;

cop

A copula function;

para

Vector of parameters or other data structure, if needed, to pass to the copula;

nmom

The number of L-moments to compute;

begin.mom

The rth order to begin the sequence lambegr:nmom for L-moment computation. The rarely used argument is means to bypass the computation of the mean if the user has an alternative method for the mean or other central tendency characterization in which case begin.mom = 2; and

...

Additional arguments to pass.

Author

W.H. Asquith

References

Asquith, W.H., 2011, Distributional analysis with L-moment statistics using the R environment for statistical computing: Createspace Independent Publishing Platform, ISBN 978--146350841--8.

See Also

kfuncCOP