# 时间序列设计（流行病学）

[流行病学](https://www.edgepedia.org/zh/epidemiology)中的时间序列设计是一种准实验研究设计，即在一段时间内对人群中某一结局进行反复测量，以发现与在明确界定的时间点发生的干预或暴露相关的变化。在中断时间序列（interrupted time series，ITS）设计中，“因果”变量是在单一时间点发生的事件或变化，其指定独立于对数据的检视。<sup>[1](https://www.cambridge.org/core/journals/law-and-society-review/article/abs/connecticut-crackdown-on-speeding/7D38DD80C2CD8EC6D8CA44C601E48E01)</sup> 当随机化不可行或试验数据不可得时，该设计被描述为评价干预措施的“次优”方法。<sup>[2](https://www.bmj.com/content/350/bmj.h2750)</sup> 它对照的是反事实——即若未发生干预，预期会出现的趋势——而非对照同期对照组来识别效应。<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC5407170/)</sup>

| 关键事实 | 详情 |
|---|---|
| 因果问题 | 在界定时间点发生事件后，结局是否超出了既有趋势所预测的范围而发生变化？<sup>[1](https://www.cambridge.org/core/journals/law-and-society-review/article/abs/connecticut-crackdown-on-speeding/7D38DD80C2CD8EC6D8CA44C601E48E01)</sup> |
| 反事实 | 若未发生干预，预期会出现的趋势。<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC5407170/)</sup> |
| 标准模型 | 以时间、干预虚拟变量及其交互项进行分段回归，估计水平变化和斜率变化。<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC5407170/)</sup> |
| 效应测量 | 水平变化（即时效应）与斜率变化（随时间推移的效应）。<sup>[4](https://bmjopen.bmj.com/content/7/6/e016018)</sup> |
| 数据要求 | Cochrane EPOC 最低要求每期 3 个点；方法学文献提示每期 8 个点，ARIMA 则约需 50 个点。<sup>[5](https://www.sciencedirect.com/science/article/abs/pii/S0895435617301129)</sup><sup> • </sup><sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC7231782/)</sup> |
| 自相关 | 已发表的公共卫生序列中估计值中位数为 0.23（IQR 0.08–0.57），因此不应忽视。<sup>[7](https://link.springer.com/article/10.1186/s12874-021-01306-w)</sup> |
| 主要用途 | 临床研究、卫生政策与药物利用评价。<sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC7231782/)</sup> |

## 工作原理

该设计立足于外推。干预前的序列界定了若无干预会发生什么；干预后观测值偏离该反事实的部分被归因于干预，前提是同期没有其他因素改变趋势。<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC5407170/)</sup> 其最简单的形式是回归（线性、逻辑斯蒂或泊松），含三个基于时间的协变量，分别估计干预前斜率、干预点处的水平变化以及斜率变化；此类模型也称为分段回归。回归断点分析是一种不同的准实验设计，其中处理分配由连续变量上的截断值决定，而非由界定的时间干预点决定。<sup>[2](https://www.bmj.com/content/350/bmj.h2750)</sup>

标准参数化使用三个变量：\( T \)，自研究开始起经过的时间；\( X_{t} \)，干预前编码为 0、干预后编码为 1 的虚拟变量；以及 \( Y_{t} \)，时间 \( t \) 的结局。<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC5407170/)</sup> 拟合模型为

\[ Y_{t} = b_{0} + b_{1} \cdot T + b_{2} \cdot X_{t} + b_{3} \cdot X_{t} \cdot T + \varepsilon_{t} \]

其中 \( b_{0} \) 为基线水平，\( b_{1} \) 为潜在的干预前趋势，\( b_{3} \) 为斜率变化；由于 \( T \) 度量的是自研究开始起的时间，干预时点 \( T_{0} \) 处的即时水平变化为 \( b_{2} + b_{3} \cdot T_{0} \)，因此只有当 \( T \) 以干预点为中心，或将干预后时间变量在干预前定义为零时，\( b_{2} \) 才单独等于水平变化。<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC5407170/)</sup> 水平或截距的变化构成即时效应，而斜率的变化意味着随时间推移而体验到的效应，并允许评估影响是否持续。<sup>[4](https://bmjopen.bmj.com/content/7/6/e016018)</sup> 由于时间序列数据通常存在[自相关](https://www.edgepedia.org/zh/autocorrelation)，误差常以滞后 1 形式建模为 \( \varepsilon_{t} = \rho \cdot \varepsilon_{t-1} + w_{t} \)，其中 \( \rho \) 的范围为 -1 到 1。<sup>[7](https://link.springer.com/article/10.1186/s12874-021-01306-w)</sup>

## 实施方法

分析有两个关键组成部分：通过外推干预前趋势来界定反事实，以及界定影响模型，涵盖效应是突发的水平变化还是渐进的斜率变化、任何滞后、过渡期以及天花板或地板效应。<sup>[8](https://researchonline.lshtm.ac.uk/id/eprint/4648066/1/A-Methodological-Framework-for-Model-Selection-in-Interrupted-Time-Series-Studies.pdf)</sup> 不鼓励依赖结局数据来选择影响模型，因为这会增加伪效应的可能性；模型应事先提出。<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC5407170/)</sup>

拟合回归后，需进行若干检查。过度离散通过缩放调整来校正，Krishnan Bhaskaran 及其同事在 2013 年发表于《International Journal of Epidemiology》关于环境流行病学[时间序列回归](https://www.edgepedia.org/zh/time-series-regression)的论文中对此作了详细说明。<sup>[9](https://doi.org/10.1093/ije/dyt092)</sup> 自相关通过残差图、偏自相关函数或 Breusch-Godfrey 检验来评估，并用 Prais 回归或 ARIMA 等方法加以调整。<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC5407170/)</sup> 对 190 个已发表数据集上六种方法的比较发现，ARIMA 和 Prais-Winsten 的自相关估计在短序列中明显偏小，而限制最大似然（REML）估计在不同序列长度间保持稳定，提示数据有限时 REML 可能更可取。<sup>[7](https://link.springer.com/article/10.1186/s12874-021-01306-w)</sup> 分阶段实施的干预可用三段模型（实施前、实施中、实施后）处理，或对分阶段实施期进行删失；多站点研究可合并站点级估计或对站点使用随机效应。<sup>[10](https://implementationscience.biomedcentral.com/track/pdf/10.1186/1748-5908-9-77)</sup>

## 起源

统计学基础是 G. E. P. Box 和 G. C. Tiao 于 1965 年发表在《[Biometrika](https://www.edgepedia.org/zh/biometrika)》上的论文《非平稳时间序列的水平变化》。<sup>[11](https://doi.org/10.1093/biomet/52.1-2.181)</sup> Gene V Glass 于 1968 年在《Law & Society Review》上发表了对[康涅狄格州](https://www.edgepedia.org/zh/connecticut)超速执法打击行动的时间序列准实验分析，将基于 Box-Tiao 的方法引入社会科学。<sup>[12](https://doi.org/10.2307/3052795)</sup> 该分析考察了康涅狄格州 1955 年打击行动前后每月的交通死亡人数，在与四个相邻州（纽约、新泽西、罗德岛和马萨诸塞）最有说服力的比较中，发现死亡人数下降，P 值在 .05 与 .07 之间。<sup>[1](https://www.cambridge.org/core/journals/law-and-society-review/article/abs/connecticut-crackdown-on-speeding/7D38DD80C2CD8EC6D8CA44C601E48E01)</sup> 该方法的基于 ARIMA 的扩展出现在 Gene V. Glass、Victor L. Willson 和 John M. Gottman 于 1975 年出版的《Design and Analysis of Time-Series Experiments》一书中。<sup>[13](https://doi.org/10.2307/2285785)</sup>

## 变体

受控设计通过增加对照组或不受干预影响的对照结局（受控中断时间序列）、在不同地点不同时间引入干预（多基线设计），或在引入后撤除干预（增加阶段）来应对随时间变化的混杂因素。<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC5407170/)</sup> 康涅狄格分析本身即展示了多时间序列变体，使用相邻的相似州作为非等价对照池来控制历史因素。<sup>[1](https://www.cambridge.org/core/journals/law-and-society-review/article/abs/connecticut-crackdown-on-speeding/7D38DD80C2CD8EC6D8CA44C601E48E01)</sup>

受控 ITS 与双重差分法密切相关：作为双重差分的扩展，它允许验证平行趋势假设，并可调整两组间的趋势差异，当干预前趋势平行时两种方法一致，而单组 ITS 假设时间建模可控制未观测混杂；合成控制方法以不同方式放松平行趋势。<sup>[14](https://researchonline.lshtm.ac.uk/id/eprint/4680623/1/Nianogo-etal-2023-a-comparison-quasi-experimental-methods-with-data-before-and-after-an-intervention-accepted.pdf)</sup> 实证支持相当有力：在一项与教育随机实验的同一研究内比较中，含六个前测时间点的比较 ITS 产生的效应估计与实验基准极为接近，无论是否匹配。<sup>[15](https://journals.sagepub.com/doi/10.1177/1098214014527337)</sup> Atle Fretheim 及其同事于 2013 年在《Journal of Clinical Epidemiology》上报告，一项 ITS 效应估计与整群随机对照试验结果一致。<sup>[16](https://doi.org/10.1016/j.jclinepi.2013.03.016)</sup> Francesco Manca 及其同事于 2026 年在《Journal of Epidemiology & Community Health》上发表的教程，为受控 ITS、分段回归和双重差分法沟通了计量经济学与公共卫生术语。<sup>[17](https://doi.org/10.1136/jech-2026-225915)</sup>

## 应用

已发表的应用集中于临床研究、公共卫生与政策以及药物研究；在一项对 1,365 项 ITS 研究的范围综述中，临床研究占 46%（N=621），公共卫生或政策占 32%（N=437），药物研究占 17%（N=238）。<sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC7231782/)</sup> 有记录的示例包括美国常规儿童肺炎球菌结合疫苗接种后肺炎入院人数下降、伦敦 20 英里/小时交通限速区对道路伤害的影响、苏格兰感染控制干预对 MRSA 的影响，以及一项评估英国质量与结果框架激励措施撤除的受控 ITS。<sup>[2](https://www.bmj.com/content/350/bmj.h2750)</sup> Racquel Jandoc 及其同事在 2015 年发表于《Journal of Clinical Epidemiology》的系统综述中记录了 ITS 在药物利用研究中应用的增加。<sup>[18](https://doi.org/10.1016/j.jclinepi.2014.12.018)</sup> V. Gebski 及其同事于 2012 年在《Epidemiology and Infection》上发表了一项关于建模中断时间序列以评价医疗机构感染预防与控制的研究。<sup>[19](https://doi.org/10.1017/s0950268812000179)</sup>

## 局限性与替代方法

简单 ITS 中内部效度的主要威胁是历史因素，即与干预同时起作用的其他力量；最好的控制是增加一个无处理对照组时间序列。<sup>[20](https://www.academicpeds.org/wp-content/uploads/gravity_forms/66-cffe81f82d0c22a20931a4634aea2e41/2023/03/Shadish-Cook-Cambell_2002_-ITS_Designs_OCR.pdf)</sup> 即使采用交叉设计，单组分析仍存在由历史因素造成的偏倚，因此应尽可能纳入可比的对照组。<sup>[21](https://onlinelibrary.wiley.com/doi/10.1111/jep.12668)</sup> 关键假设——干预前趋势将保持不变——在趋势非线性、干预逐渐引入或在多个时间点引入、存在外部随时间变化的混杂因素、或人群特征随时间变化时会失效，而自相关虽不使该假设失效，但必须在统计推断中加以考虑。<sup>[2](https://www.bmj.com/content/350/bmj.h2750)</sup><sup> • </sup><sup>[23](https://pmc.ncbi.nlm.nih.gov/articles/PMC10946734/)</sup> 邻近自相关误差使常规检验偏向于发现过多显著差异。<sup>[1](https://www.cambridge.org/core/journals/law-and-society-review/article/abs/connecticut-crackdown-on-speeding/7D38DD80C2CD8EC6D8CA44C601E48E01)</sup> 实践往往不足：使用适当回归的研究中超过 40% 未检验或考虑自相关、季节性或多方差性，<sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC7231782/)</sup> 一项对 Cochrane 综述的审查发现 ITS 研究应用了不恰当的统计方法，常将统计上不显著的效应判定为显著。<sup>[5](https://www.sciencedirect.com/science/article/abs/pii/S0895435617301129)</sup> 对聚合数据应用分段回归或 ARIMA 可能引入聚合偏倚，因为跨患者或站点聚合产生的不精确性未被考虑。<sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC7231782/)</sup>

与替代方法比较：一项模拟比较发现，当存在足够长的干预前数据且模型正确指定时，ITS 表现非常好，而双重差分法和受控 ITS 不要求很长的干预前序列，但须满足平行趋势假设，合成控制方法则须满足可比性条件。<sup>[14](https://researchonline.lshtm.ac.uk/id/eprint/4680623/1/Nianogo-etal-2023-a-comparison-quasi-experimental-methods-with-data-before-and-after-an-intervention-accepted.pdf)</sup> 简单前后设计表现更差；1970–71 年发表的 40 项卫生项目评价中，14 项（35%）使用单一处理组在治疗前后测量，与随机对照组相比，该设计产生无效估计。<sup>[22](https://stacks.cdc.gov/view/cdc/64995/cdc_64995_DS1.pdf)</sup>

## References

1. [The Connecticut Crackdown on Speeding: Time-Series Data in Quasi-Experimental Analysis (Campbell & Ross, Law & Society Review 1968)](https://www.cambridge.org/core/journals/law-and-society-review/article/abs/connecticut-crackdown-on-speeding/7D38DD80C2CD8EC6D8CA44C601E48E01)
2. [Regression based quasi-experimental approach when randomisation is not an option: interrupted time series analysis (BMJ 2015)](https://www.bmj.com/content/350/bmj.h2750)
3. [Interrupted time series regression for the evaluation of public health interventions: a tutorial (Lopez Bernal, Cummins & Gasparrini, Int J Epidemiol 2016)](https://pmc.ncbi.nlm.nih.gov/articles/PMC5407170/)
4. [Methods, applications, interpretations and challenges of interrupted time series (ITS) data: protocol for a scoping review (BMJ Open 2017)](https://bmjopen.bmj.com/content/7/6/e016018)
5. [Heterogeneity in application, design, and analysis characteristics was found for controlled before-after and interrupted time series studies included in Cochrane reviews (J Clinical Epidemiology)](https://www.sciencedirect.com/science/article/abs/pii/S0895435617301129)
6. [Methods, Applications and Challenges in the Analysis of Interrupted Time Series Data: A Scoping Review](https://pmc.ncbi.nlm.nih.gov/articles/PMC7231782/)
7. [Comparison of six statistical methods for interrupted time series studies: empirical evaluation of 190 published series (BMC Med Res Methodol 2021)](https://link.springer.com/article/10.1186/s12874-021-01306-w)
8. [A Methodological Framework for Model Selection in Interrupted Time Series Studies (LSHTM)](https://researchonline.lshtm.ac.uk/id/eprint/4648066/1/A-Methodological-Framework-for-Model-Selection-in-Interrupted-Time-Series-Studies.pdf)
9. [Krishnan Bhaskaran and colleagues (2013). Time series regression studies in environmental epidemiology. International Journal of Epidemiology.](https://doi.org/10.1093/ije/dyt092)
10. [Segmented regression analysis of interrupted time series studies (Penfold & Zhang, Implementation Science 2014)](https://implementationscience.biomedcentral.com/track/pdf/10.1186/1748-5908-9-77)
11. [G. E. P. Box, G. C. Tiao (1965). A change in level of a non-stationary time series. Biometrika.](https://doi.org/10.1093/biomet/52.1-2.181)
12. [Gene V Glass (1968). Analysis of Data on the Connecticut Speeding Crackdown as a Time-Series Quasi-Experiment. Law & Society Review.](https://doi.org/10.2307/3052795)
13. [Paul Newbold and colleagues (1976). Design and Analysis of Time-Series Experiments.. Journal of the American Statistical Association.](https://doi.org/10.2307/2285785)
14. [A comparison of quasi-experimental methods with data before and after an intervention: an introduction for epidemiologists and a simulation study (Nianogo et al., 2023)](https://researchonline.lshtm.ac.uk/id/eprint/4680623/1/Nianogo-etal-2023-a-comparison-quasi-experimental-methods-with-data-before-and-after-an-intervention-accepted.pdf)
15. [Examining the Internal Validity and Statistical Precision of the Comparative Interrupted Time Series Design by Comparison With a Randomized Experiment (St.Clair, Cook & Hallberg, Am J Evaluation 2014)](https://journals.sagepub.com/doi/10.1177/1098214014527337)
16. [Atle Fretheim and colleagues (2013). Interrupted time-series analysis yielded an effect estimate concordant with the cluster-randomized controlled trial result. Journal of Clinical Epidemiology.](https://doi.org/10.1016/j.jclinepi.2013.03.016)
17. [Francesco Manca and colleagues (2026). Controlled interrupted time series, segmented regression and difference-in-difference: a guide bridging econometric terminology for public health researchers. Journal of Epidemiology & Community Health.](https://doi.org/10.1136/jech-2026-225915)
18. [Racquel Jandoc and colleagues (2015). Interrupted time series analysis in drug utilization research is increasing: systematic review and recommendations. Journal of Clinical Epidemiology.](https://doi.org/10.1016/j.jclinepi.2014.12.018)
19. [V. GEBSKI and colleagues (2012). Modelling interrupted time series to evaluate prevention and control of infection in healthcare. Epidemiology and Infection.](https://doi.org/10.1017/s0950268812000179)
20. [Interrupted Time-Series (chapter from Shadish, Cook & Campbell, Experimental and Quasi-Experimental Designs, 2002)](https://www.academicpeds.org/wp-content/uploads/gravity_forms/66-cffe81f82d0c22a20931a4634aea2e41/2023/03/Shadish-Cook-Cambell_2002_-ITS_Designs_OCR.pdf)
21. [Persistent threats to validity in single-group interrupted time series analysis with a cross over design (J Evaluation in Clinical Practice)](https://onlinelibrary.wiley.com/doi/10.1111/jep.12668)
22. [Nonexperimental Designs Evaluating Health Services (American Journal of Public Health, Feb 1973; CDC repository)](https://stacks.cdc.gov/view/cdc/64995/cdc_64995_DS1.pdf)
23. [pmc.ncbi.nlm.nih.gov](https://pmc.ncbi.nlm.nih.gov/articles/PMC10946734/)

---
*Initially written Sep 29, 2026 · Reviewed: Sep 30, 2026 · Edited: Sep 30, 2026; Oct 25, 2026 · Last review: Sep 30, 2026*

Topic: 生命与健康 › 人类健康与医学 › 公共卫生与医疗保健 › Epidemiology as a discipline

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/time-series-design-epidemiology

English original: https://www.edgepedia.org/time-series-design-epidemiology
