An object of class "Chisqtest"
performing the hypothesis test of equality of the expected
values of the off-diagonal cell counts (i.e., entries) under RL or CSR in the NNCT for \(k \ge 2\) classes.
That is, the test performs Dixon's or Pielou's (first type of) overall NN symmetry test which is appropriate
(i.e., have the appropriate asymptotic sampling distribution)
for completely mapped data or for sparsely sample data, respectively.
(See pielou:1961,dixon:1994,ceyhan:SWJ-spat-sym2014;textualnnspat for more detail).
The type="dixon"
refers to Dixon's overall NN symmetry test and
type="pielou"
refers to Pielou's first type of overall NN symmetry test.
The symmetry test is based on the chi-squared approximation of the corresponding quadratic form
and type="dixon"
yields an extension of Dixon's NN symmetry test, which is extended by
ceyhan:SWJ-spat-sym2014;textualnnspat and type="pielou"
yields
Pielou's overall NN symmetry test.
The function yields the test statistic, \(p\)-value and df
which is \(k(k-1)/2\), description of the
alternative with the corresponding null values (i.e., expected values) of differences of the off-diagonal entries,(which is
0 for this function) and also the sample estimates (i.e., observed values) of absolute differences of the off-diagonal entries of
NNCT (in the upper-triangular form).
The functions also provide names of the test statistics, the description of the test and the data set used.
The null hypothesis is that all \(E(N_{ij})=E(N_{ji})\) for \(i \ne j\) in the \(k \times k\) NNCT (i.e., symmetry in the
mixed NN structure) for \(k \ge 2\).
In the output, if if type="pielou"
,
the test statistic, \(p\)-value and the df are valid only for (properly) sparsely sampled data.
See also
(pielou:1961,dixon:1994,ceyhan:SWJ-spat-sym2014;textualnnspat)
and the references therein.