Lcomoment.Lk12(X1,X2,k=1)
Lcomoment.Lk12(X2,X1,k=1)
) and is not necessarily
equal to (Lcomoment.Lk12(X1,X2,k=1)
). The notation of Lk12
is
to read 12
portion of the
notation reflects that of Serfling and Xiao (2006). The weights for
the computation are derived from calls by Lcomoment.Lk12
to
Lcomoment.Wk
.$$\hat{\lambda}_{k[12]} = \frac{1}{n}\sum_{r=1}^{n} w^{(k)}_{r:n} x^{(12)}_{[r:n]}$$
The L-comoments of $X2$ are computed from the concomitants of $X1$ ($X^{(21)}$) are formed by sorting $X1$ in ascending order and in turn shuffling $X2$ by the order of $X1$. The sample concomitants are thus formed ($x^{(12)}_{[r:n]}$). By symmetry the L-comoment is
$$\hat{\lambda}_{k[21]} = \frac{1}{n}\sum_{r=1}^{n} w^{(k)}_{r:n} x^{(21)}_{[r:n]}$$
Serfling, R., and Xiao, P., 2006, Multivariate L-moments, preprint.
Lcomoment.matrix
, Lcomoment.Wk
X1 <- rnorm(20)
X2 <- rnorm(20)
Lk12 <- Lcomoment.Lk12(X1,X2,k=1)
Run the code above in your browser using DataLab