# 扫描统计量

扫描统计量是一种统计方法，通过在研究区域内移动大小可变的窗口，检验任一窗口内的事件计数是否高于随机预期，从而探测空间或时间点数据中的聚集。

该方法报告最可能聚集区（MLC），即似然比最大的窗口，同时给出蒙特卡洛p值和次级聚集区；扫描统计量为 \(\lambda_{R} = \max_{z} \lambda(z)\)，即备择假设下似然与零假设下似然之比，最可能聚集区是达到该最大值的窗口 \( z^{*} = \arg\max_{z} \lambda(z) \)。<sup>[1](https://projecteuclid.org/journalArticle/Download?isResultClick=True&urlid=10.1214/21-SS132)</sup> 包括美国国家癌症研究所、华盛顿州公共卫生部、纽约市精神卫生与卫生局在内的机构，通过SaTScan软件将其用于回顾性和前瞻性监测。<sup>[2](https://www.stat.purdue.edu/~tlzhang/scancdsa2008.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 检验统计量 | 所有候选窗口上的最大对数似然比；使似然比最大的窗口即最可能聚集区<sup>[1](https://projecteuclid.org/journalArticle/Download?isResultClick=True&urlid=10.1214/21-SS132)</sup> |
| 显著性 | 蒙特卡洛p值 \( p = R/(M+1) \)，在零假设下对任意重复次数 \( M \) 均精确<sup>[3](https://dash.harvard.edu/server/api/core/bitstreams/7312037c-6416-6bd4-e053-0100007fdf3b/content)</sup> |
| 最大窗口大小 | 通常设定为圆形窗口最多包含50%的高危人群<sup>[3](https://dash.harvard.edu/server/api/core/bitstreams/7312037c-6416-6bd4-e053-0100007fdf3b/content)</sup> |
| 起源 | 时间形式由Naus（1965）研究；空间似然比检验由Kulldorff和Nagarwalla（1995）提出；一般空间扫描统计量由Kulldorff（1997）提出<sup>[4](https://doi.org/10.1080/01621459.1965.10480810)</sup><sup> • </sup><sup>[5](https://doi.org/10.1002/sim.4780140809)</sup><sup> • </sup><sup>[6](https://doi.org/10.1080/03610929708831995)</sup> |
| 概率模型 | 泊松、伯努利、时空置换、有序、指数和正态模型，均在SaTScan中实现<sup>[7](http://cdemat.free.fr/iurc/demattei/satscan.7.0/SaTScan_Users_Guide.pdf)</sup>；当前版本SaTScan v10.3.3（2025年9月）已增加更多模型和功能<sup>[8](https://www.satscan.org/download.html)</sup> |
| 操作实践 | 纽约市每日运行前瞻性置换扫描，重复999次，报告复发间隔而非 \( P < .05 \) 的截断值<sup>[9](https://publichealth.jmir.org/2024/1/e50653/PDF)</sup> |

## 工作原理

该方法检验无聚集的零假设，备择假设为某个子区域发生率升高。在伯努利形式中，候选区域 \( z \) 内的病例概率为 \( p \)，其补集内为 \( q \)，检验 \( H_{0}: p = q \)（对所有 \( z \)）对 \( H_{1}: p > q \)（至少一个 \( z \)）。<sup>[1](https://projecteuclid.org/journalArticle/Download?isResultClick=True&urlid=10.1214/21-SS132)</sup> 在泊松形式中，区域 \( z \) 的期望计数为 \( \mu_{z} = C \cdot (n_{z}/N) \)，其中 \( C \) 为总病例数，\( n_{z} \) 为高危人群；区域内的相对风险为 \( I(z) = c_{z}/\mu_{z} \)，区域外为 \( (C - c_{z})/(C - \mu_{z}) \)。<sup>[10](https://ij-healthgeographics.biomedcentral.com/articles/10.1186/1476-072X-10-47)</sup> 对于应用于连续数据的正态概率模型，\( X \) 和 \( x_{z} \) 为观测值之和，\( N \) 和 \( n_{z} \) 为样本量；零假设下均值的最大似然估计为 \( \mu = X/N \)，备择假设下圆 \( z \) 内均值为 \( \mu_{z} = x_{z}/n_{z} \)，圆外为 \( \lambda_{z} = (X - x_{z})/(N - n_{z}) \)。<sup>[3](https://dash.harvard.edu/server/api/core/bitstreams/7312037c-6416-6bd4-e053-0100007fdf3b/content)</sup>

扫描统计量是所有候选窗口上逐窗口似然比的最大值。由于该最大值的零分布一般无法解析处理，显著性通过蒙特卡洛假设检验评估：在零假设下模拟数据，对每个模拟数据集重新计算扫描统计量，p值为 \( p = R/(M+1) \)，其中 \( R = 1 + \#\{T_{m} \ge T_{obs}\} \) 是观测统计量在包含其自身和 \( M \) 次重复的全部 \( M+1 \) 个值中的秩，当重复数据与观测数据在零假设下可交换时该p值精确，重复次数通常为999、4,999或99,999。<sup>[3](https://dash.harvard.edu/server/api/core/bitstreams/7312037c-6416-6bd4-e053-0100007fdf3b/content)</sup> 标准蒙特卡洛校正在不同聚集大小间并不均匀：小聚集的拒绝率约为0.03至0.04，低于名义0.05水平，表明检验在此处过于保守、假阳性过少；而与随机化地图中同大小聚集进行数据驱动的比较，可使拒绝率更接近0.05。<sup>[10](https://ij-healthgeographics.biomedcentral.com/articles/10.1186/1476-072X-10-47)</sup>

## 操作流程

实践者选择概率模型（计数数据带人群分母用泊松，病例对照数据用伯努利，仅有病例数据时用时空置换，以及有序、指数或正态模型）、窗口形状（圆形、椭圆形、圆柱形或灵活形状）和最大窗口大小，通常为高危人群的50%。<sup>[7](http://cdemat.free.fr/iurc/demattei/satscan.7.0/SaTScan_Users_Guide.pdf)</sup><sup> • </sup><sup>[11](https://journals.plos.org/plosmedicine/article?id=10.1371%2Fjournal.pmed.0020059)</sup> 随后SaTScan扫描所有候选窗口，计算每个窗口的对数似然比，返回MLC、次级聚集区、相对风险和蒙特卡洛p值 \( p = R/(1 + \text{模拟次数}) \)。<sup>[7](http://cdemat.free.fr/iurc/demattei/satscan.7.0/SaTScan_Users_Guide.pdf)</sup> 对于灵活扫描，FleXScan和rflexscan R包实现了Tango和Takahashi的方法，默认每个窗口最多 \( K = 15 \) 个相邻区域，建议 \( K \le 30 \)，因为穷举搜索随 \( K \) 呈指数增长。<sup>[12](https://journals.sagepub.com/doi/10.1177/0962280220930562)</sup><sup> • </sup><sup>[13](https://www.jstatsoft.org/article/download/v099i13/4153)</sup><sup> • </sup><sup>[14](https://doi.org/10.18637/jss.v099.i13)</sup> 在前瞻性监测中，实践者报告复发间隔 \( RI = 1/P \) 而非P<.05阈值：每日分析时 \( P < .05 \) 截断值每年约产生18个虚假信号，而999次重复下p值为0.001对应每2.7年一次假警报。<sup>[9](https://publichealth.jmir.org/2024/1/e50653/PDF)</sup><sup> • </sup><sup>[15](https://doi.org/10.1186/1476-072x-7-14)</sup>

## 起源

时间扫描统计量，即固定长度滑动区间内的最大事件数，由Joseph I. Naus在其1965年发表于《美国统计协会杂志》的关于直线上最大点聚集的论文中首次详细研究。<sup>[4](https://doi.org/10.1080/01621459.1965.10480810)</sup> Wallenstein于1980年在《美国流行病学杂志》上的检验提供了时间扫描统计量的尾概率表。<sup>[16](https://doi.org/10.1093/oxfordjournals.aje.a112908)</sup> Openshaw、Charlton、Wymer和Craft（1987）的地理分析机是较早的自动移动圆方法，但因候选圆数量极多、仅限圆形聚集以及多重检验导致的假阳性而受到批评。<sup>[17](https://doi.org/10.1080/02693798708927821)</sup> Kulldorff和Nagarwalla 1995年发表于《医学统计学》的论文引入了变半径圆形窗口的空间聚集似然比检验，<sup>[5](https://doi.org/10.1002/sim.4780140809)</sup> Kulldorff 1997年发表于《统计学通讯：理论与方法》的论文同时将一维扫描统计量扩展到三个方向：多维点过程、可变大小扫描窗口以及任意非齐次泊松或伯努利基线过程。<sup>[6](https://doi.org/10.1080/03610929708831995)</sup>

## 变体

圆柱形时空扫描统计量扫描相互重叠的圆柱体，其圆形底面覆盖空间，高度覆盖时间；Kulldorff 2001年的前瞻性版本在定期时间周期监测中检测当前活跃的聚集，并校正多个位置、大小、时间区间和重复分析。<sup>[18](https://doi.org/10.1111/1467-985x.00186)</sup> 时空置换模型不需要人群数据，因为期望计数仅由病例导出，多重检验通过置换每个病例的空间和时间属性处理。<sup>[11](https://journals.plos.org/plosmedicine/article?id=10.1371%2Fjournal.pmed.0020059)</sup> Kulldorff、Huang、Pickle和Duczmal于2006年引入椭圆扫描统计量用于非圆形聚集，并带有非紧凑性惩罚 \( [4s/(s+1)^{2}]^{a} \)，其中 \( s \) 为轴比。<sup>[19](https://doi.org/10.1002/sim.2490)</sup> Tango和Takahashi 2005年的灵活扫描将候选聚集限制为每个区域及其K个最近邻的连通子集，<sup>[20](https://doi.org/10.1186/1476-072x-4-11)</sup> Takahashi、Kulldorff、Tango和Yih 2008年的灵活时空版本使用底面形状任意的棱柱形窗口。<sup>[15](https://doi.org/10.1186/1476-072x-7-14)</sup> 其他变体包括Kulldorff及其同事（2007）的多变量扫描统计量，它将病例数高于期望的各数据集的对数似然比相加，<sup>[21](https://doi.org/10.1002/sim.2818)</sup> 用于数据库监测的基于树的扫描统计量（Kulldorff、Fang和Walsh，2003），<sup>[22](https://doi.org/10.1111/1541-0420.00039)</sup> 以及不规则形状搜索，如上层集合、动态最小生成树和快速子集扫描。<sup>[23](https://par.nsf.gov/servlets/purl/10332670)</sup> 2024年，French、Meysami和Lipner引入了预过滤成分贪心（PreCoG）扫描方法用于不规则形状聚集，在smerc R包中实现，报告了高检验效能、灵敏度和阳性预测值且计算成本低。<sup>[24](https://doi.org/10.1002/sim.10170)</sup>

## 应用

纽约市传染病局几乎每日运行前瞻性时空置换扫描；该模型以非参数方式校正季节性、长期趋势和星期效应，参数按疾病调整，例如基础分析中每个聚集最少2个事件，沙门氏菌病最大时间聚集大小为60天，李斯特菌病为120天。<sup>[9](https://publichealth.jmir.org/2024/1/e50653/PDF)</sup> 在纽约市急诊科评估中，五个最强信号中有四个可能是轮状病毒、诺如病毒和流感全市暴发的局部前兆。<sup>[11](https://journals.plos.org/plosmedicine/article?id=10.1371%2Fjournal.pmed.0020059)</sup> 癌症聚集调查是另一项成熟应用：1995年的检验在纽约州北部的白血病上作了示例，<sup>[5](https://doi.org/10.1002/sim.4780140809)</sup> 前瞻性扫描则用于1973至1992年新墨西哥州男性甲状腺癌。<sup>[18](https://doi.org/10.1111/1467-985x.00186)</sup>

## 局限与替代方法

圆形扫描有三个已记录的缺点：它检测单一圆形聚集，会高估或低估不规则形状的真实聚集，且蒙特卡洛检验耗时。<sup>[1](https://projecteuclid.org/journalArticle/Download?isResultClick=True&urlid=10.1214/21-SS132)</sup> SaTScan的圆形扫描倾向于返回远大于真实聚集的MLC，因为它吸收了无风险升高的邻近区域；Tango的限制似然比仅扫描风险升高的区域，在模拟中更正确地识别真实聚集。<sup>[12](https://journals.sagepub.com/doi/10.1177/0962280220930562)</sup> 参数设置影响很大：最大扫描窗口过大会产生包含非升高区域的过大聚集，而自SaTScan 9.3起可用的基尼系数窗口大小选择标准可能将若干小聚集合并为一个大的。<sup>[25](https://www.frontiersin.org/journals/public-health/articles/10.3389/fpubh.2024.1432645/full)</sup> MLC的观测相对风险存在向上偏倚，因为扫描会挑选高发生率区域；当零假设为真时观测相对风险总是大于1，不过随着检验效能增加该估计基本变为无偏。<sup>[26](https://pmc.ncbi.nlm.nih.gov/articles/PMC4047196/)</sup> 扫描统计量还偏向地理上小单元多的区域，在空间分辨率精细处挑选聚集。<sup>[1](https://projecteuclid.org/journalArticle/Download?isResultClick=True&urlid=10.1214/21-SS132)</sup> 在泰国登革热研究中，SaTScan在孤立峰值上表现优异，但受圆形窗口对不规则行政边界的限制，而贝叶斯卷积建模总体精度最高；Getis-Ord Gi*和局部Moran遗漏了一些聚集并在边界处产生虚假检测。<sup>[27](https://link.springer.com/article/10.1186/s12874-023-02135-9)</sup> 在前瞻性监测中，效能与假警报之间存在不可避免的权衡，前瞻性纯时间扫描对全市暴发效能较高，但对地理局部暴发效能较低。<sup>[28](https://www.cdc.gov/MMWR/preview/mmwrhtml/su5301a28.htm)</sup> 一项在51个聚集模型下对1,220,000个模拟数据集的基准测试发现，扫描统计量对局部热点聚集有良好效能，而Tango的最大化超额事件检验更适合整个区域的全局聚集。<sup>[29](https://compbio.hms.harvard.edu/publications/pdf/kulldorff_2003_disease_clustering_power.pdf)</sup> 已发表的比较在圆形窗口对非圆形聚集表现多差上存在分歧：一项研究发现对非圆形聚集的完全准确检测效能为零，<sup>[15](https://doi.org/10.1186/1476-072x-7-14)</sup> 而另一项效能分析发现圆形扫描即使对非圆形聚集也表现很好，并建议常规监测可能不需要计算密集的不规则形状方法。<sup>[30](https://est.ufmg.br/~duczmal/duczmal_et_al_jcgs_2006.pdf)</sup> Gangnon和Clayton的加权平均似然比检验是最大似然方法的替代方案，对精细分辨率区域的偏倚较小，<sup>[31](https://doi.org/10.1002/sim.917)</sup> 时空扫描监测可纳入一般CUSUM框架，将其与工业质量控制联系起来。<sup>[32](https://doi.org/10.1002/sim.2898)</sup>

## References

1. [An up-to-date review of scan statistics](https://projecteuclid.org/journalArticle/Download?isResultClick=True&urlid=10.1214/21-SS132)
2. [A model-based spatial scan statistic (Zhang & Lin, Computational Statistics and Data Analysis 53 (2009) 2851-2858)](https://www.stat.purdue.edu/~tlzhang/scancdsa2008.pdf)
3. [A spatial scan statistic for normally distributed data (Kulldorff et al., Harvard DASH full text)](https://dash.harvard.edu/server/api/core/bitstreams/7312037c-6416-6bd4-e053-0100007fdf3b/content)
4. [Joseph I. Naus (1965). The Distribution of the Size of the Maximum Cluster of Points on a Line. Journal of the American Statistical Association.](https://doi.org/10.1080/01621459.1965.10480810)
5. [Martin Kulldorff, Neville Nagarwalla (1995). Spatial disease clusters: Detection and inference. Statistics in Medicine.](https://doi.org/10.1002/sim.4780140809)
6. [Martin Kulldorff (1997). A spatial scan statistic. Communication in Statistics- Theory and Methods.](https://doi.org/10.1080/03610929708831995)
7. [SaTScan User Guide (version 7.0)](http://cdemat.free.fr/iurc/demattei/satscan.7.0/SaTScan_Users_Guide.pdf)
8. [SaTScan - Register & Download](https://www.satscan.org/download.html)
9. [SaTScan parameter settings for syndromic surveillance at the NYC Bureau of Communicable Disease (JMIR Public Health, 2024)](https://publichealth.jmir.org/2024/1/e50653/PDF)
10. [Data-driven inference for the spatial scan statistic (International Journal of Health Geographics)](https://ij-healthgeographics.biomedcentral.com/articles/10.1186/1476-072X-10-47)
11. [A Space–Time Permutation Scan Statistic for Disease Outbreak Detection (Kulldorff et al., PLOS Medicine)](https://journals.plos.org/plosmedicine/article?id=10.1371%2Fjournal.pmed.0020059)
12. [Spatial scan statistics can be dangerous](https://journals.sagepub.com/doi/10.1177/0962280220930562)
13. [Flexible Scan Statistics for Detecting Spatial Disease Clusters: The rflexscan R Package (Journal of Statistical Software)](https://www.jstatsoft.org/article/download/v099i13/4153)
14. [Takahiro Otani, Kunihiko Takahashi (2021). Flexible Scan Statistics for Detecting Spatial Disease Clusters: The rflexscan R Package. Journal of Statistical Software.](https://doi.org/10.18637/jss.v099.i13)
15. [Kunihiko Takahashi and colleagues (2008). A flexibly shaped space-time scan statistic for disease outbreak detection and monitoring. International Journal of Health Geographics.](https://doi.org/10.1186/1476-072x-7-14)
16. [SYLVAN WALLENSTEIN (1980). A TEST FOR DETECTION OF CLUSTERING OVER TIME. American Journal of Epidemiology.](https://doi.org/10.1093/oxfordjournals.aje.a112908)
17. [STAN OPENSHAW and colleagues (1987). A Mark 1 Geographical Analysis Machine for the automated analysis of point data sets. International Journal of Geographical Information Systems.](https://doi.org/10.1080/02693798708927821)
18. [Martin Kulldorff (2001). Prospective Time Periodic Geographical Disease Surveillance Using a Scan Statistic. Journal of the Royal Statistical Society Series A (Statistics in Society).](https://doi.org/10.1111/1467-985x.00186)
19. [Martin Kulldorff and colleagues (2006). An elliptic spatial scan statistic. Statistics in Medicine.](https://doi.org/10.1002/sim.2490)
20. [Toshiro Tango, Kunihiko Takahashi (2005). A flexibly shaped spatial scan statistic for detecting clusters. International Journal of Health Geographics.](https://doi.org/10.1186/1476-072x-4-11)
21. [Martin Kulldorff and colleagues (2007). Multivariate scan statistics for disease surveillance. Statistics in Medicine.](https://doi.org/10.1002/sim.2818)
22. [Martin Kulldorff, Zixing Fang, Stephen J Walsh (2003). A Tree‐Based Scan Statistic for Database Disease Surveillance. Biometrics.](https://doi.org/10.1111/1541-0420.00039)
23. [A comparison of spatial scan methods for cluster detection](https://par.nsf.gov/servlets/purl/10332670)
24. [Joshua P. French, Mohammad Meysami, Ettie M. Lipner (2024). Prefiltered component‐based greedy (PreCoG) scan method. Statistics in Medicine.](https://doi.org/10.1002/sim.10170)
25. [Comparing circular and flexibly-shaped scan statistics for disease clustering detection (Frontiers in Public Health, 2024)](https://www.frontiersin.org/journals/public-health/articles/10.3389/fpubh.2024.1432645/full)
26. [Relative risk estimates from spatial and space-time scan statistics: Are they biased?](https://pmc.ncbi.nlm.nih.gov/articles/PMC4047196/)
27. [Evaluation and comparison of spatial cluster detection methods for improved decision making of disease surveillance: a case study of national dengue surveillance in Thailand](https://link.springer.com/article/10.1186/s12874-023-02135-9)
28. [Benchmark Data and Power Calculations for Evaluating Disease Outbreak Detection Methods (MMWR 2004, Kulldorff et al.)](https://www.cdc.gov/MMWR/preview/mmwrhtml/su5301a28.htm)
29. [Power comparisons for disease clustering tests (Kulldorff, Tango, Park, Computational Statistics and Data Analysis 2003)](https://compbio.hms.harvard.edu/publications/pdf/kulldorff_2003_disease_clustering_power.pdf)
30. [A major problem with scan statistics methods is the fixed shape of the clusters to be detected (Duczmal et al., Journal of Computational and Graphical Statistics 2006)](https://est.ufmg.br/~duczmal/duczmal_et_al_jcgs_2006.pdf)
31. [Ronald E. Gangnon, Murray K. Clayton (2001). A weighted average likelihood ratio test for spatial clustering of disease. Statistics in Medicine.](https://doi.org/10.1002/sim.917)
32. [Christian Sonesson (2007). A CUSUM framework for detection of space–time disease clusters using scan statistics. Statistics in Medicine.](https://doi.org/10.1002/sim.2898)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Statistical inference, estimation, sampling, and testing › Hypothesis testing

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/scan-statistic

English original: https://www.edgepedia.org/scan-statistic
