crossmatchdist {crossmatch} | R Documentation |
The exact null distribution of the number of crossmatches for bigN>=4
cases,
n>=2
from one type and N-n>=2
from another type.
crossmatchdist(bigN, n)
bigN |
The total number of observations |
n |
The number of cases from one type |
bigN
is even. Let a1 be the number of cross-matches pairs. Then a2=(n-a1)/2
and
a0=bigN/2-(n+a1)/2
are the number of pairs both of one type and the other type
respectively.
dist |
A matrix with rows |
Ruth Heller
Rosenbaum, P.R. (2005), An exact distribution-free test comparing two multivariate distributions based on adjacency, Journal of the Royal Statistical Society: Series B (Statistical Methodology), 67, 4, 515-530.
crossmatchdist(18,9)