stone.stat {DCluster}R Documentation

Compute Stone's statistic

Description

Calculate Stone's statistic. See stone manual page for details.

Usage

stone.stat(data, region, sorted=FALSE, lambda)

Arguments

data A dataframe with all the data, as explained in the DCluster manual page.
region Region where around which we want to test for a cluster. It must a row number of data.
sorted Whether the data are already sorted by distance to region.
lambda Value of the null hypotheses. It may NULL (i. e., not known) or a number.

Value

A vector of two elements with the value of the statistic and the region (counting from the centre) where it was achieved.

References

Stone, R. A. (1988). Investigating of excess environmental risks around putative sources: Statistical problems and a proposed test. Statistics in Medicine 7,649-660.

See Also

DCluster


[Package DCluster version 0.1-5 Index]