Compute permutation distribution for kulldorff method

Description

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

Usage

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

Arguments

permutedCaseMatrix

matrix of n.sim rows of permuted cases

expectedCases

expected cases for each area

nearestNeighbors

see create_geo_objects

nZones

number of single zones

logLkhdType

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

Value

Vector of length n.sim of LRT statistics

Author(s)

Albert Y. Kim

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.