Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

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


SpatialEpi

Methods and Data for Spatial Epidemiology

v1.2.3
GPL-2
Authors
Cici Chen [ctb], Albert Y. Kim [aut, cre], Michelle Ross [ctb], Jon Wakefield [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.