Determine sequence of ULS zones.

Share:

Description

uls.zones determines the unique zones obtained by implementing the ULS (Upper Level Set) method of Patil and Taillie (2004).

Usage

1
uls.zones(cases, pop, w, ubpop = 0.5)

Arguments

cases

The number of cases in each region.

pop

The population size of each region.

w

The binary spatial adjacency matrix.

ubpop

The upperbound of the proportion of the total population to consider for a cluster.

Details

The zones returned must have a total population less than ubpop * the total population of all regions in the study area.

Value

Returns a list of zones to consider for clustering. Each element of the list contains a vector with the location ids of the regions in that zone.

Author(s)

Joshua French

References

Patil, G. P., and Taillie, C. (2004). Upper level set scan statistic for detecting arbitrarily shaped hotspots. Environmental and Ecological Statistics, 11(2), 183-197.

Examples

1
2
3
data(nydf)
data(nyw)
uls.zones(cases = nydf$cases, pop = nydf$population, w = nyw)