- Introduced by
- Martin Kulldorff
- Year
- 1997
- Type
- Hypothesis-testing method for detecting statistically significant spatial clusters
- Family
- Cluster detection and disease surveillance
What does it do?
The spatial scan statistic, introduced by Martin Kulldorff in 1997, detects and tests the statistical significance of spatial clusters of events such as disease cases.
It moves windows of many sizes and positions across the study region, treats each window as a candidate cluster, and scores it with a likelihood ratio that compares the event rate inside the window with the rate outside. The highest-scoring window is the most likely cluster, and its significance is assessed by Monte Carlo simulation, which accounts for the fact that many windows were examined.
The intuition behind the method
Looking at a map of disease cases, the eye is drawn to clumps, but clumps appear by chance even when risk is uniform, so the analyst needs a way to tell a genuine hotspot from noise. The scan statistic sweeps a flexible circle across the map, letting it grow and shrink, and at each position asks: are there many more cases inside this circle than the population there would predict? It keeps the circle that gives the most surprising excess, then asks how often a random scattering of the same cases would produce something equally surprising. If almost never, the cluster is declared significant. Because every candidate window is scanned and the maximum is judged against simulations, the test corrects for the fact that the analyst looked everywhere.
History
Martin Kulldorff published the spatial scan statistic in 1997 in Communications in Statistics – Theory and Methods. The paper extended the one-dimensional scan statistic to multi-dimensional point processes, allowed the area of the scanning window to vary, and allowed the baseline to be an inhomogeneous Poisson or Bernoulli process; it was illustrated on an epidemiological data set. Software implementations, notably SaTScan, later made the method widely available to public-health practitioners, and the framework was subsequently extended to space-time scanning.
When to use it
Use the spatial scan statistic when you have point or area-level counts of events together with a population or expected baseline, and you need to know whether and where statistically significant clusters occur. The classic settings are disease surveillance, outbreak detection, and crime or accident hotspot analysis. It is well suited to prospective surveillance, where incoming data are scanned repeatedly for emerging clusters, and to space-time extensions. It is less appropriate when you want a smooth continuous risk surface rather than discrete clusters, when the expected counts cannot be credibly specified, or when the events are not plausibly generated by an inhomogeneous Poisson-like process.
Limitations and considerations
- Circular windows favour compact clusters and can miss or distort elongated or irregular ones.
- Monte Carlo inference is computationally intensive, especially for large datasets and space-time scans.
- Results depend on the chosen maximum window size and on the specified expected (baseline) counts.
- It detects where clusters are but does not by itself explain their causes or rule out confounding.
- The null hypothesis is that cases follow the baseline model, with no excess not explained by it. The baseline (Poisson, Bernoulli, or another inhomogeneous process with intensity proportional to a known function) must correctly describe the population at risk, and the significance of any cluster is conditional on that specification and on the chosen maximum window size.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Provides a formal significance test for clusters that adjusts for the many windows examined, through the Monte Carlo distribution of the maximum likelihood ratio.
- Locates clusters without prior knowledge of their size or position, scanning many scales at once.
- The original formulation allows the baseline to be an inhomogeneous Poisson or Bernoulli process, so it can be used for different kinds of count and binary data.
- The method is implemented in the free SaTScan software, which the page identifies as the most common way of running it.
Applications
- Investigating suspected cancer or birth-defect clusters around environmental hazards.
- Prospective surveillance for emerging infectious-disease outbreaks in space and time.
- Detecting hotspots of crime, traffic accidents, or other geocoded events.
- Identifying clusters of low screening uptake or poor health outcomes for targeted intervention.
- Monitoring veterinary, agricultural, or ecological data for anomalous spatial concentrations.
How it works
How it works
A window, typically a circle but sometimes an ellipse or an irregular set of adjacent areas, is centred on each possible location and allowed to vary in size. The maximum size is usually capped; the page's usual figure is a window containing at most 50 percent of the population at risk, though this should be checked against the chosen software's default. Each distinct window defines a candidate cluster Z, consisting of a set of observed cases and a corresponding expected count. Because the procedure considers a large number of overlapping windows, clusters of different sizes and positions can be found.
Each window is scored under a probability model, commonly Poisson for count data. Let c be the observed cases inside the window and E the expected cases inside it, with C the total count in the study region, so that C - c and C - E are the outside observed and expected counts. The likelihood ratio LLR rewards windows where the inside rate c/E exceeds the outside rate. The statistic targets areas of elevated risk only: windows in which the inside rate does not exceed the outside rate are not treated as clusters and are excluded from the maximum, so reduced-risk areas are not reported.
Formula
LLR = \left(\frac{c}{E}\right)^c \left(\frac{C-c}{C-E}\right)^{C-c}The window that maximizes the likelihood ratio over all candidate windows is the most likely cluster Z*. Because it is the single best of a very large set of windows, it marks the location and extent at which the data depart most strongly from the no-cluster null, and it is the primary cluster reported. Secondary clusters that do not overlap the primary one can also be identified, but a large LLR alone does not make a secondary cluster significant. Each secondary cluster should be reported as significant only if it passes a significance test against the simulated null distribution.
Formula
Z^* = \arg\max_Z LLR(Z)
Because the most likely cluster is the maximum over many windows, its likelihood ratio cannot be referred to a standard chi-square distribution. Instead, the case locations are repeatedly reshuffled under the null hypothesis for B Monte Carlo replicates, the maximum LLR is recomputed for each replicate, and the observed maximum is ranked among them. The p-value is (1 + number of replicates whose maximum LLR is at least the observed maximum) / (1 + B). The added 1 in numerator and denominator ensures the p-value is never exactly zero. The number of replicates B should be large enough that the smallest attainable p-value, 1/(1 + B), is well below the chosen significance level; larger B reduces Monte Carlo error at greater computational cost.
Formula
p = \frac{1 + \#\{LLR^{(b)} \ge LLR^{obs}\}}{1 + B}Common pitfalls
- Setting the maximum cluster size too large or too small, which can hide real clusters or merge distinct ones.
- Using a poorly specified population at risk or expected count, which biases which windows look anomalous.
- Treating the exact cluster boundary as precise when only the approximate location is well identified.
- Reporting secondary clusters without checking whether they overlap the primary cluster.
Frequently asked questions
How does the scan statistic correct for multiple comparisons?
Although it evaluates a large number of overlapping windows, inference is based on the single maximum likelihood ratio rather than on each window separately. The null distribution of that maximum is obtained by Monte Carlo simulation: the cases are repeatedly reshuffled under the no-cluster hypothesis and the maximum is recomputed each time. Comparing the observed maximum with this simulated distribution gives a p-value that already accounts for having scanned everywhere, so no further multiple-testing adjustment is needed.
What shapes of cluster can the scan statistic find?
The classic version uses circular windows of varying radius, which is most powerful for roughly compact clusters but can poorly capture elongated or irregular ones. Extensions use elliptical windows and flexibly shaped scans built from sets of adjacent regions to detect non-circular clusters. More flexible window shapes increase computation and, if unconstrained, can over-fit, so the choice depends on the plausible geometry of the phenomenon.
What is the difference between retrospective and prospective scanning?
Retrospective scanning analyses a fixed historical dataset once to find where clusters occurred. Prospective scanning is applied repeatedly to accumulating data, for example in daily surveillance, to detect clusters as they emerge. Prospective versions adjust for the repeated analyses over time so that the running surveillance keeps correct overall significance. Space-time scanning is commonly used for this purpose in public-health surveillance.
Related methods
Sources
Kulldorff, M. (1997). A spatial scan statistic. Communications in Statistics – Theory and Methods, 26(6), 1481–1496.
Open DOI reference