A Bayesian Spatial Scan Statistic

Daniel B. Neill, Andrew W. Moore, Gregory F. CooperNeurIPS 2005

Introduction

Spatial cluster detection is the "Where’s Waldo?" of public health: identifying specific geographic regions where disease cases are significantly higher than expected. This capability is critical for catching naturally occurring epidemics, environmental hazards, or bioterrorist attacks as early as possible.

For years, the gold standard has been Kulldorff’s frequentist scan statistic. While effective, it relies on computationally expensive randomization tests. Researchers have now developed a Bayesian spatial scan statistic that identifies disease clusters up to 1,000 times faster than traditional frequentist methods. By replacing Monte Carlo simulations with a closed-form Bayesian framework, the model achieves higher detection power and provides more interpretable results for public health officials.

The Limitations of the Frequentist Approach

The traditional frequentist scan statistic has three major flaws:

  1. Computational Cost: To determine if a cluster is "statistically significant," the method requires running thousands of Monte Carlo simulations (randomization testing). This becomes incredibly slow for large datasets.
  2. Rigidity: It struggles to incorporate prior knowledge about how an outbreak might look.
  3. Overfitting: Because it relies on maximum likelihood estimates, it can be prone to "seeing" clusters that aren't actually there, fitting to noise rather than true signals.

A Bayesian Gamma-Poisson Model

To overcome these limitations, the authors propose a Bayesian Gamma-Poisson model. In the standard frequentist approach, a likelihood ratio is calculated for a region, and "fake" data is simulated to see how often that ratio occurs by chance.

In contrast, the Bayesian approach treats the disease rates inside and outside a potential cluster as random variables drawn from Gamma distributions (the conjugate prior for the Poisson distribution). Because they use conjugate priors, the authors derived a closed-form solution for the marginal likelihood. This allows the calculation of the posterior probability of an outbreak existing in a specific region without ever needing to run a single simulation.

The paper introduces two main Bayesian variants:

  • Bayes Max: Uses the posterior probability of the single most likely region.
  • Bayes Tot: Sums the posterior probabilities across all possible regions to calculate the overall probability that any outbreak is occurring.

Experimental Setup

The researchers evaluated their methods using a "semi-synthetic" approach, combining real-world baselines with simulated outbreaks:

  • Real-world Baseline: One year of real Emergency Department (ED) visit data and over-the-counter (OTC) drug sales from 88 zip codes in Allegheny County, Pennsylvania.
  • Simulated Outbreaks: They injected two types of simulated outbreaks into the real data: the sophisticated Bayesian Aerosol Release Detector (BARD) for inhalational anthrax, and a Fictional Linear Onset Outbreak (FLOO) where cases ramp up linearly over time.

Key Results

Massive Computational Speedup

The Bayesian method is roughly 900x to 1,200x faster than the naive frequentist approach.

Computation time comparison across grid sizes

As shown above, for a 256x256 grid, the frequentist method would take approximately 500 days to compute. The Bayesian method finishes the same task in just 10 to 12 hours.

Faster and More Robust Detection

Beyond speed, the Bayesian methods detected outbreaks between 0.13 and 0.43 days earlier than the frequentist approach on ED data, while maintaining the same low false-positive rate. In biosurveillance, a few hours can mean thousands of lives saved.

Detection times for different methods and outbreak scenarios

The Bayes_tot method proved particularly robust. Even if the exact boundaries of a cluster are fuzzy, summing the probabilities across many overlapping regions provides a much more stable signal than looking for one "perfect" rectangle. In the noisier OTC drug sales data, Bayes_tot significantly outperformed the frequentist approach, which struggled with the seasonal trends and "messiness" of retail data.

Interpretability and Future Work

A major advantage of the Bayesian approach is interpretability. Unlike the frequentist method, which picks one "best" estimate for disease rates, the Bayesian approach averages over all possible values (marginalization), making it less likely to overfit. Furthermore, instead of a cryptic p-value, the Bayesian model provides a direct probability (e.g., "There is an 86% chance an outbreak is occurring right now"), which is much easier to use in cost-benefit analyses for triggering public health alarms.

The authors acknowledge that choosing priors remains the most challenging part of the analysis. While they provide a way to estimate priors from historical data, a poorly chosen prior could lead to reduced performance. Future work will focus on multivariate detection (combining ED visits and OTC sales), extending the search to non-rectangular shapes, and applying the statistic to new domains like fMRI data analysis.

Summary updated

BibTeX
@inproceedings{neill2005bayesian,
  author = {Daniel B. Neill and Andrew W. Moore and Gregory F. Cooper},
  title = {{A Bayesian Spatial Scan Statistic}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2005},
}
Figure