Skip to content

R - Understanding output of the Knoxtest (Package (surveillance))

1 message · Oscar Janin

#
The function knox of the "Surveillance" package performs Knox test for
space-time interaction. The output is supposed to give the numbers of
events that occur in a specific distance in space and time define by the
function arguments. This function also perform a Monte Carlo permutation
test, which give the estimated value (based on a random distribution) which
are supposed to be compared to the observed value. This comparison gives a
ratio which means the chance that event occur in a specific distance in
time and space.

Here is the example of the function and it's output:

        library(surveillance)
Output:


    Knox test with Poisson approximation
The "imdepi" dataset include 636 events, so, the output isn't a count of
the event occuring in a specific distance in space and time. Also, even if
I change the value of "B", which correspond to the number of permutation
for the Monte Carlo approach, the results stays the same.




*What the numbers of output contingency table mean?How the Monte Carlo
iteration influence the results?*


Here are the links to the Knox Test function Description [1] and it's Code
[2].

  [1]: http://finzi.psych.upenn.edu/R/library/surveillance/html/knox.html
  [2]:
https://r-forge.r-project.org/scm/viewvc.php/pkg/R/knox.R?view=markup&root=surveillance&pathrev=1292

In advance, thank you for your help