| funs.vartct {nnspat} | R Documentation |
Functions for Variances of Cell Counts in the Types I, III and IV TCTs
Description
Three functions: var.tctI, var.tctIII, and var.tctIV.
These functions return the variances of T_{ij} values
for i,j=1,\ldots,k in the TCT in matrix form which
is of the same dimension as TCT for types I, III and IV tests.
The argument covN must be the covariance
between N_{ij} values which are obtained
from the NNCT by row-wise vectorization.
These variances are valid under RL or
conditional on Q and R under CSR.
See also (Ceyhan (2017)).
Usage
var.tctI(ct, covN)
var.tctIII(ct, covN)
var.tctIV(ct, covN)
Arguments
ct |
A nearest neighbor contingency table |
covN |
The |
Value
Each of these functions returns a matrix of
same dimension as, ct, whose entries are the variances of
the entries in the TCT for the corresponding type of cell-specific test.
The row and column names are inherited from ct.
References
Ceyhan E (2017). “Cell-Specific and Post-hoc Spatial Clustering Tests Based on Nearest Neighbor Contingency Tables.” Journal of the Korean Statistical Society, 46(2), 219-245.