LC.Cvalue: U-statistic of tr(cov(X)cov(Y)).

Description Usage Arguments Value

Description

Calculate the C value as in Li and Chen (2012) equation (2.2), for estimating tr(cov(X)cov(Y)). As suggested in the paper, only the first term is used after centering data.

Usage

1
LC.Cvalue(X, Y)

Arguments

X

n1 by p matrix of the first population, centered with colMean=0

Y

n2 by p matrix of the second population, centered with colMean=0

Value

A number, the U statistic for tr(cov(X)cov(Y)).


lingxuez/sLED documentation built on May 7, 2019, 2:55 a.m.