Find the cluster before it spreads.
Find where and when cases cluster with a space-time scan, and judge each cluster's significance by Monte Carlo replications.

Case counts rise in a few places, and you need to tell real clusters from chance before you deploy staff or issue an alert.
Where and when did avian influenza in poultry hit harder than the chicken population would predict?
- Start from the outbreaksThe sample holds 3,443 outbreak reports from October 2021 to September 2023; 3,375 fall on a 50 km grid of 1,664 cells.How to: Data Library
- Set the populationChicken counts from the FAO's GLW4 for 2020 were aggregated onto the same grid, to serve as each cell's population.How to: Preparing data
- Run the scanSpace-time scan, Poisson, high rates: at most 10% of the population and 20% of the study period in one cluster, 999 replications, seed 42.How to: Scan statistics
The scan reports 11 clusters, all at p = 0.001. The most likely is 1,319 outbreaks in western France from February to June 2022, against 30.4 expected (relative risk 43.4). A smaller one, 170 outbreaks in east-central Europe in April and May 2022, has a relative risk of 205.
A scan finds where and when outbreaks cluster, not why, and its result depends on the maximum sizes: rerun at a smaller maximum before calling a cluster local or short-lived.