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

logrr.test

Global test of clustering using log ratio of spatial densities


Description

logrr.test performs a global test of clustering for comparing cases and controls using the log ratio of spatial densities based on the method of Kelsall and Diggle (1995).

Usage

logrr.test(x)

Arguments

x

An logrrenv object from the logrr function.

Value

A list providing the observed test statistic (islogrr) and the estimated p-value (pvalue).

Author(s)

Joshua French

References

Waller, L.A. and Gotway, C.A. (2005). Applied Spatial Statistics for Public Health Data. Hoboken, NJ: Wiley.

Kelsall, Julia E., and Peter J. Diggle. "Non-parametric estimation of spatial variation in relative risk." Statistics in Medicine 14.21-22 (1995): 2335-2342.

Examples

data(grave)
logrrenv = logrr(grave, nsim = 9)
logrr.test(logrrenv)

smacpod

Statistical Methods for the Analysis of Case-Control Point Data

v2.1.1
GPL (>= 2)
Authors
Joshua French [aut, cre] (<https://orcid.org/0000-0002-9708-3353>)
Initial release

We don't support your browser anymore

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