Spatial Scan Statistic

Statistics
Introduced by
Martin Kulldorff (with Neville Nagarwalla)
Year
1997
Type
Likelihood-ratio scanning procedure for detecting and testing geographic disease clusters
Family
Spatial cluster detection / scan statistics

What does it do?

The spatial scan statistic is a likelihood-ratio method for detecting and testing geographic disease clusters without specifying in advance where they are.

Kulldorff and Nagarwalla (1995) proposed a likelihood-ratio test for spatial disease clusters of any size, located anywhere in the study region, and Kulldorff (1997) extended the scan to varying window areas and general baseline processes. For each candidate window the method compares observed with expected cases inside and outside it, takes the window with the largest likelihood ratio as the most likely cluster, and assesses its significance by Monte Carlo simulation under the null of no clustering.

The intuition behind the method

Suppose you have a map dotted with cases of a disease and you want to know whether any neighborhood has unusually many, not just by eyeballing it but with a defensible test. The naive approach, drawing a circle wherever the cases look dense and testing that one spot, is cheating: you chose the spot because it looked suspicious, so any test there is biased. The scan statistic fixes this by being honest about the search. It systematically tries an enormous catalog of circles, every center, every radius up to a cap, and scores each by how much more disease sits inside than the population would predict. It keeps the single most surprising circle, then asks the crucial question: if there were really no clustering, how often would random chance throw up a circle this surprising somewhere on the map? By simulating that null many times it gets a p-value that already pays the multiple-testing tax for having looked everywhere. So the scan statistic turns 'that area looks like a hot spot' into 'this is the most likely cluster and here is how surprised we should be.'

History

Kulldorff and Nagarwalla's 1995 paper in Statistics in Medicine presented a likelihood-ratio approach to spatial disease clusters with a clearly defined alternative hypothesis. Its clusters were not restricted to predefined administrative or political borders, and the test could be applied to spatially aggregated data or to exact coordinates; the method was illustrated with leukaemia data from Upstate New York. Kulldorff's 1997 paper in Communications in Statistics - Theory and Methods extended the approach to a multi-dimensional spatial scan with variable window area and baseline processes that may be inhomogeneous Poisson or Bernoulli. The scan is implemented in the SaTScan software described on this page.

When to use it

Use the spatial scan statistic when you have geolocated disease data and want to test whether localized clusters exist and pinpoint where, without specifying candidate locations in advance. It is well suited to routine surveillance, outbreak investigation, and screening of cancer or chronic-disease registries, and it extends naturally to space-time scanning for emerging clusters. The method assumes you can compute expected counts from a population at risk (or use a control group) and that the cluster shape is reasonably approximated by the chosen window geometry, typically circular, though elliptical and irregular variants exist. It is less appropriate when clusters are expected to be highly irregular or linear and only circular windows are used, when the population denominator is poorly measured, or when the scientific question is smooth risk estimation across the map rather than detection of discrete clusters, for which Bayesian disease mapping is a better fit. Key assumptions to check before use are: cases are independent of one another; the population at risk is accurately measured and complete for the study area and period; the null model conditions on the total number of cases and uses the expected counts as its baseline, with covariate effects such as age and sex built into those expected counts; and the true cluster is reasonably approximated by the chosen window shape and size range.

Limitations and considerations

  • The classic circular window has low power for irregularly shaped or elongated clusters and can over- or under-estimate their extent.
  • Results are sensitive to the maximum-window-size setting, which trades off detecting small versus large clusters.
  • It detects and tests clusters but does not produce a smooth, full-map estimate of relative risk.
  • Accuracy depends on correct expected counts; poor population denominators or unadjusted confounders produce spurious or missed clusters.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Detects clusters of unknown location and size without pre-specifying where to look, avoiding the bias of testing a hand-picked area.
  • Monte Carlo inference adjusts automatically for the massive multiplicity of overlapping windows, controlling false positives.
  • Provides interpretable output per cluster: location, size, observed vs expected counts, relative risk, and a p-value.
  • Flexible across data types and models (Poisson, Bernoulli, space-time, multinomial) and supported by mature, free software (SaTScan).

Applications

  • Investigating suspected cancer clusters around environmental exposures using registry data.
  • Real-time and prospective surveillance for emerging infectious-disease clusters in space and time.
  • Screening for geographic clusters of adverse birth outcomes, chronic disease, or injury.
  • Detecting clustering of vaccine-preventable disease or under-immunization to target interventions.
  • Identifying hot spots of health-service utilization or outcomes for resource allocation.

How it works

How it works

1

The procedure first defines the family of candidate clusters to scan. In the classic formulation this is a set of circular windows centered on each case location or area centroid, with radius growing continuously from zero up to a maximum, conventionally 50% of the total population at risk, so the search covers small tight clusters and large diffuse ones alike. Each circle defines an 'inside' and an 'outside,' and the collection of all such circles is the search space. Allowing the window size to vary is what gives the method its power to find clusters of unknown extent, and capping the radius keeps the alternative interpretable as a true cluster rather than the whole region.

Formula
Z = \{z : z \text{ a circle centered at } c_i,\ \text{radius up to } 50\%\ \text{of population at risk}\}
2

For each candidate window the method specifies a likelihood under a probability model, most often Poisson for counts (or Bernoulli for case-control point data). The likelihood compares the case rate inside the window to the rate outside, and is maximized when there is a sharp excess inside relative to the expected count derived from the population at risk. An indicator restricts attention to windows with elevated, not depressed, risk when scanning for high clusters. This per-window likelihood is the engine of the method: it turns each candidate circle into a single number measuring how much the data favor an elevated-risk cluster there over a uniform-risk null.

Formula
L(z) = \left(\frac{n_z}{\mu_z}\right)^{n_z}\left(\frac{N-n_z}{N-\mu_z}\right)^{N-n_z}\ \mathbb{1}\!\left[\frac{n_z}{\mu_z} > \frac{N-n_z}{N-\mu_z}\right]
3

The scan then computes, for every window in the search space, the ratio of its likelihood to the likelihood under the null of constant risk across the whole region, and records the maximum. The window achieving this maximum likelihood ratio is the most likely cluster, the single location and size best supported by the data. Taking the maximum over all windows is exactly what makes the test a scan rather than a single hypothesis test, and it is why naive significance thresholds cannot be applied: the maximized statistic has a distribution shaped by the entire search, which the next step handles.

Formula
\lambda = \max_{z\in Z}\ \frac{L(z)}{L_0},\qquad L_0 = \sup_{p\le q} \prod_i \text{Poisson}(n_i;\,p,q)
4

Because the maximum likelihood ratio is taken over a vast number of overlapping windows, its null distribution has no closed form, so significance is assessed by Monte Carlo hypothesis testing. Under the null of no clustering, the total observed cases are reallocated across areas many times, conditional on that total, with each area's chance of receiving a case proportional to its expected count (population at risk multiplied by the baseline rate). The maximum likelihood ratio is recomputed for each simulated dataset, and the rank of the observed statistic among these simulated maxima gives the p-value. Because every simulated statistic is itself a maximum over all windows, this simulation-based inference automatically adjusts for the multiple comparisons across all windows, which is the key reason the scan statistic controls false positives where ad hoc cluster tests do not.

Formula
p = \frac{1 + \#\{b : \lambda^{(b)} \ge \lambda_{\text{obs}}\}}{1 + B},\quad b=1,\dots,B\ \text{simulated datasets}
5

Finally the method reports the most likely cluster and then identifies secondary clusters: additional windows with significant likelihood ratios that do not geographically overlap the primary one. Reporting non-overlapping secondary clusters lets a single scan flag several distinct hot spots rather than only the strongest, which matters in surveillance where multiple outbreaks may coexist. The output for each cluster typically includes its location, radius, observed and expected counts, relative risk, and p-value, giving public-health users an interpretable, ranked list of candidate clusters to investigate. Reading the output: the relative risk inside a window equals (observed/expected cases inside) divided by (observed/expected cases outside), so a value above 1 indicates elevated risk inside the window relative to the rest of the study region. When scanning for high clusters the indicator restricts windows to elevated risk, so the test is one-sided; low-risk clusters require a separate scan. The p-value of a cluster is the Monte Carlo rank p-value for that window. The primary cluster and its p-value describe the best-fitting window within the chosen shape and size family, not an exact epidemiological boundary. A significant secondary cluster is a ranked candidate for investigation rather than a confirmed separate outbreak, and results from further subgroup or post hoc scans require additional adjustment for the extra looks taken.

Formula
\text{report } z^{*}=\arg\max_z \lambda(z),\ \text{then non-overlapping } z\ \text{with } p<\alpha\ \text{(secondary clusters)}

Common pitfalls

  • Treating the reported cluster boundary as a precise epidemiological boundary rather than the best-fitting window of a constrained shape.
  • Leaving the maximum cluster size at the default without checking sensitivity, which can merge or split real clusters.
  • Ignoring covariate adjustment, so that demographic differences (age, sex) masquerade as disease clusters.
  • Interpreting secondary clusters or post hoc subgroup scans without accounting for the additional looks taken.

Frequently asked questions

How does the scan statistic avoid the multiple-testing problem from examining so many windows?

It uses Monte Carlo hypothesis testing rather than analytic p-values. After computing the maximum likelihood ratio over all candidate windows in the real data, it generates many datasets under the null of no clustering, in which the total cases are reallocated across areas in proportion to their expected counts (population at risk times the baseline rate), and recomputes the same maximized statistic for each. The observed statistic's rank among the simulated maxima yields the p-value. Because each simulated dataset's statistic is itself a maximum over all windows, the null distribution already embodies the full multiplicity of the search, so the test is correctly sized despite scanning an enormous number of overlapping circles.

What does the maximum cluster size setting do and how should I choose it?

The maximum cluster size caps how large a scanning window can grow, typically expressed as a fraction of the population at risk (50% is the conventional default). A smaller cap focuses power on tight, local clusters and can split a large diffuse cluster, while a larger cap can detect broad excesses but may report implausibly large 'clusters' that cover much of the map. Because results depend on this choice, good practice is to run the scan at several maximum sizes and report sensitivity, choosing a value motivated by the plausible spatial scale of the disease process under study rather than accepting the default uncritically.

When should I use a spatial scan statistic instead of disease mapping?

Use the scan statistic when the goal is detection and hypothesis testing: deciding whether discrete clusters exist and locating them with a p-value, as in surveillance and outbreak investigation. Use Bayesian disease mapping when the goal is estimation: producing a smooth, full-map picture of relative risk with stabilized small-area rates and uncertainty. The two are complementary, scanning answers 'is there a significant hot spot and where,' while mapping answers 'what is the estimated risk surface everywhere.' Many studies run both, using the scan to flag clusters and a smoothed map to characterize the underlying risk pattern.

Related methods

Sources

  1. Kulldorff, M. (1997). A spatial scan statistic. Communications in Statistics - Theory and Methods, 26(6), 1481-1496.

    Open DOI reference
  2. Kulldorff, M., & Nagarwalla, N. (1995). Spatial disease clusters: detection and inference. Statistics in Medicine, 14(8), 799-810.

    Open DOI reference