This function computes the covariance matrix for the \(T_k\) values used in the \(T_{comb}\) test statistics,
which is a linear combination of some \(T_k\) tests.
The argument, \(n_1\), is the number of cases (denoted as n1
as an argument).
The number of cases is denoted as \(n_1\) to match the case-control class labeling,
which is just the reverse of the labeling in cuzick:1990;textualnnspat.
The argument klist
is the vector
of integers specifying the indices of the \(T_k\) values used
in obtaining the \(T_{comb}\).
The logical argument nonzero.mat
(default=TRUE
) is for using the \(A\) matrix if FALSE
or just the matrix of nonzero
locations in the \(A\) matrix (if TRUE
) in the computations.
The logical argument asy.cov
(default=FALSE
) is for using the asymptotic covariance or the exact (i.e., finite
sample) covariance for the vector of \(T_k\) values used in Tcomb
.
If asy.cov=TRUE
, the asymptotic covariance is used, otherwise the exact covariance is used.
See page 87 of (cuzick:1990;textualnnspat) for more details.