Learn R Programming

SpatialEpi (version 1.2.3)

kulldorffMC: Compute permutation distribution for kulldorff method

Description

Given a matrix of permuted cases, return the likelihood ratio test statistic for each permuation

Usage

kulldorffMC(permutedCaseMatrix, expectedCases, nearestNeighbors, nZones, logLkhdType)

Arguments

permutedCaseMatrix

matrix of n.sim rows of permuted cases

expectedCases

expected cases for each area

nearestNeighbors
nZones

number of single zones

logLkhdType

type of lkhd to use: either "poisson" or "binomial"

Value

Vector of length n.sim of LRT statistics

References

SatScan: Software for the spatial, temporal, and space-time scan statistics http://www.satscan.org/ Kulldorff, M. (1997) A spatial scan statistic. Communications in Statistics: Theory and Methods, 26, 1481--1496.

Kulldorff M. and Nagarwalla N. (1995) Spatial disease clusters: Detection and Inference. Statistics in Medicine, 14, 799--810.

See Also

kulldorff