# 中断时间序列分析

中断时间序列（ITS）分析是一种准实验设计，通过拟合回归模型来估计干预效果，所用结局数据来自干预前后多个时间点的采集。当随机试验不可行时可采用此方法，在该情形下，它被称为评估纵向干预效果的最强准实验设计。<sup>[1](https://www.bmj.com/content/350/bmj.h2750)</sup> 由于该设计对干预前趋势进行了显式建模，ITS在很大程度上不受那些随时间保持相对恒定的混杂因素影响，例如人口年龄分布或社会经济地位，这些因素会被潜在的长期趋势吸收。<sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC5407170/)</sup>

| 关键事实 | 详情 |
|---|---|
| 估计什么 | 在既定干预时间点上结局的水平变化和斜率（趋势）变化，参照从干预前趋势外推的反事实<sup>[1](https://www.bmj.com/content/350/bmj.h2750)</sup> |
| 标准模型 | 含时间、干预前/后指示变量及其交互项的分段回归<sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC5407170/)</sup> |
| 解释 | 水平变化是即时效应；斜率变化是随时间推移而显现的效应<sup>[3](https://bmjopen.bmj.com/content/7/6/e016018)</sup> |
| 最低数据要求 | EPOC接受每期至少3个时间点；已发表的经验法则范围为6至12个<sup>[4](https://www.sciencedirect.com/science/article/abs/pii/S0895435617301129)</sup><sup> • </sup><sup>[5](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0301301)</sup> |
| 自相关 | 公共卫生ITS数据集中滞后1期自相关的中位数为0.23，因此不应忽视<sup>[6](https://link.springer.com/article/10.1186/s12874-021-01306-w)</sup> |
| 主要变体 | 对照（比较）ITS增加一个对照序列，主要用于防范历史偏倚<sup>[7](http://www.ag-myresearch.com/uploads/1/3/8/6/13864925/2018_lopezbernal_ije.pdf)</sup> |
| 典型数据 | 常规数据，最常见为月度数据；在药物利用研究中，76%的研究使用月度数据，14%使用季度数据<sup>[8](https://www.sciencedirect.com/science/article/pii/S0895435615001237)</sup> |

## 工作原理

在最简单的形式中，分段回归拟合一个含三个时间协变量的模型：<sup>[1](https://www.bmj.com/content/350/bmj.h2750)</sup>

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

其中 \( T \) 为自研究开始以来的时间，\( X_{t} \) 为干预前/后虚拟变量，\( \beta_{0} \) 为基线水平，\( \beta_{1} \) 为潜在的干预前趋势，\( \beta_{3} \) 为斜率变化。由于 \( T \) 未以干预时间 \( \delta \) 为中心进行中心化，模型化的即时水平变化为 \( \beta_{2} + \beta_{3} \cdot \delta \)，而非单独的 \( \beta_{2} \)；在交互项中将时间中心化为 \( (T - \delta) \) 可使 \( X_{t} \) 的系数直接估计即时变化。<sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC5407170/)</sup><sup> • </sup><sup>[9](https://link.springer.com/article/10.1186/s12874-025-02556-8)</sup> 水平变化构成即时的干预效应，而斜率变化意味着效应随时间推移而显现，并允许测量影响的可持续性。<sup>[3](https://bmjopen.bmj.com/content/7/6/e016018)</sup>

参数化对解释至关重要。在贝尔纳尔（Bernal）的参数化中，即时效应是干预时间 \( \delta \) 处干预前模型与干预后模型之间的均值差，而非截距差——后者在文献中有时被误解。在瓦格纳（Wagner）的参数化中，交互项是干预指示变量与自实施以来经过时间 \( T - \delta \) 的乘积，因此干预指示变量的系数直接估计即时效应；两种参数化产生相同的干预前和干预后模型。<sup>[9](https://link.springer.com/article/10.1186/s12874-025-02556-8)</sup>

残差通常用一阶自回归结构建模，\( \epsilon_{t} = \rho \cdot \epsilon_{t-1} + w_{t} \)，其中 \( \rho \) 为自相关幅度，\( w_{t} \) 为白噪声。<sup>[6](https://link.springer.com/article/10.1186/s12874-021-01306-w)</sup> [普通最小二乘法](https://www.edgepedia.org/zh/ordinary-least-squares)存在问题，因为若存在自相关，会导致标准误被低估，并可能得出误导性结论。<sup>[10](https://doh-pmp-epi.quarto.pub/interrupted-time-series-brief-tutorial/Statistical%20Models.html)</sup>

## 实施方法

实践者组装时间序列并定义三个必需变量：自研究开始以来的时间、干预前/后虚拟变量和结局。<sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC5407170/)</sup> 模型设定有两个关键组成部分：通过外推干预前趋势定义反事实，以及定义效应模型，涵盖效应是突变还是渐变、是否有滞后、过渡期以及天花板或地板效应。<sup>[11](http://www.ag-myresearch.com/uploads/1/3/8/6/13864925/2018_lopezbernal_jce.pdf)</sup> 效应模型应预先设定；依赖结局数据来选择它会增加因随机波动而检测到效应的可能性。<sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC5407170/)</sup>

拟合后，应通过检查残差图和偏自相关函数来评估自相关，对于正态分布数据，可使用Breusch-Godfrey检验等检验方法；若存在自相关，可用Prais回归或ARIMA模型进行调整。<sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC5407170/)</sup> [估计](https://www.edgepedia.org/zh/estimation)方法选择包括普通最小二乘法、带Newey-West标准误的普通最小二乘法、Prais-Winsten、广义最小二乘法、限制性极大似然（REML）和ARIMA。<sup>[10](https://doh-pmp-epi.quarto.pub/interrupted-time-series-brief-tutorial/Statistical%20Models.html)</sup><sup> • </sup><sup>[6](https://link.springer.com/article/10.1186/s12874-021-01306-w)</sup> Newey-West调整标准误以对自相关和某些异方差具有稳健性，而Prais-Winsten通过广义最小二乘法消除AR(1)自相关。<sup>[10](https://doh-pmp-epi.quarto.pub/interrupted-time-series-brief-tutorial/Statistical%20Models.html)</sup> 在一项基于190个已发表数据集的经验比较中，REML估计的自相关始终较大（中位数0.2），而ARIMA（0.04）或Prais-Winsten（0.05）较小，且在不同序列长度下表现稳定，提示其更适合短序列；而ARIMA产生的标准误系统性偏大，对短序列可能存在问题。<sup>[6](https://link.springer.com/article/10.1186/s12874-021-01306-w)</sup>

已发表的最低数据要求存在冲突。Cochrane EPOC规定ITS研究应在干预前后各至少使用三个数据点，并明确定义干预发生的时间，<sup>[4](https://www.sciencedirect.com/science/article/abs/pii/S0895435617301129)</sup> 而高于该下限的经验法则为每期6至12个时间点。<sup>[5](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0301301)</sup> 数据点数量没有固定限制；检验效能还取决于变异性、效应强度和季节性等混杂因素。<sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC5407170/)</sup> 两种效应类型的检验效能取决于不同的量：阶跃变化的检验效能主要取决于样本量，而斜率变化的检验效能取决于时间点数量。在一项模拟中，检测阶跃变化需要1,100的样本量和至少12个时间点，而检测斜率变化需要500的样本量和8个时间点。<sup>[5](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0301301)</sup>

## 起源

统计学基础是博克斯（Box）和刁锦寰（Tiao）于1975年在《美国统计学会杂志》上发表的论文《干预分析及其在经济与环境问题中的应用》，该文使用差分方程模型对干预和噪声进行建模，在存在相依噪声的情况下建模干预对响应变量的效应，并讨论了测量水平变化的参数的极大似然估计量。<sup>[12](https://doi.org/10.1080/01621459.1975.10480264)</sup> 该方法被引入卫生服务研究以评估区域化围产期保健的影响。<sup>[8](https://www.sciencedirect.com/science/article/pii/S0895435615001237)</sup> 其在卫生研究中的现代形式很大程度上归功于瓦格纳（Wagner）及其同事2002年发表在《临床药学与治疗学杂志》上的关于药物使用研究中中断时间序列的分段回归分析的论文，<sup>[13](https://doi.org/10.1046/j.1365-2710.2002.00430.x)</sup> 孔托潘特利斯（Kontopantelis）及其同事2015年在BMJ上的教程将其确定为分段回归的关键参考文献；该教程将ITS框定为当随机化不可行时基于回归的准实验方法。<sup>[14](https://doi.org/10.1136/bmj.h2750)</sup> 支持性方法学文献包括张（Zhang）、瓦格纳（Wagner）和罗斯-德格南（Ross-Degnan）2011年发表在《临床流行病学杂志》上基于模拟的检验效能计算论文，<sup>[15](https://doi.org/10.1016/j.jclinepi.2011.02.007)</sup> 彭福尔德（Penfold）和张（Zhang）2013年发表在《学术儿科学》上的关于ITS在卫生保健质量改进中应用的论文，<sup>[16](https://doi.org/10.1016/j.acap.2013.08.002)</sup> 以及赫伊特马（Huitema）和麦基恩（McKean）2000年发表在《[教育与心理测量](https://www.edgepedia.org/zh/educational-and-psychological-measurement)》上的关于时间序列干预模型设计设定问题的工作，包括他们对分段线性回归模型的参数化。<sup>[17](https://doi.org/10.1177/00131640021970358)</sup>

## 变体

对照（或比较）中断时间序列（CITS）增加一个未暴露于干预的对照序列，创建基于前后比较和干预-对照比较两者的反事实。<sup>[7](http://www.ag-myresearch.com/uploads/1/3/8/6/13864925/2018_lopezbernal_ije.pdf)</sup> 对照分为六种类型：基于地点的组、基于特征的组、基于行为的组、历史队列对照、对照结局和对照时间段。多基线设计是CITS的扩展，在不同时间对不同组引入干预，类似于阶梯楔形整群随机试验，但通常不涉及随机化。<sup>[7](http://www.ag-myresearch.com/uploads/1/3/8/6/13864925/2018_lopezbernal_ije.pdf)</sup> 针对未测量的时变混杂因素的进一步设计改编包括带对照组或对照结局的对照ITS、多基线设计和中断后撤回设计。<sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC5407170/)</sup>

方法学文献还描述了使用两阶段变化点方法的稳健ITS方法，其中变化点不必是效应开始的时间；用于对照序列的基于倾向评分的加权ITS，要求组间有实质性重叠；以及类似于双重差分的对照ITS方法，要求每期超过六个时间点。<sup>[18](https://pmc.ncbi.nlm.nih.gov/articles/PMC7231782/)</sup> 标准分段回归的扩展适用于多个暴露期和交错采用的情况。<sup>[9](https://link.springer.com/article/10.1186/s12874-025-02556-8)</sup>

## 应用

已发表的应用包括美国肺炎球菌结合疫苗接种后肺炎入院的下降、伦敦20英里/小时交通限速区对道路伤害的影响，以及感染控制干预和抗生素使用对苏格兰耐甲氧西林金黄色葡萄球菌的影响。<sup>[1](https://www.bmj.com/content/350/bmj.h2750)</sup> 在药物利用研究中，ITS的使用正在增加，最常见的方法为分段回归（67%）、ARIMA模型（16%）和线性回归（11%），35%的研究使用了对照组。<sup>[8](https://www.sciencedirect.com/science/article/pii/S0895435615001237)</sup>

## 局限性与替代方案

简单ITS基于三个假设：干预前趋势为线性、人口特征保持不变、没有比较组来对照非干预所致的变化。外部时变效应和自相关并不使ITS本身不适用，但它们需要适当的建模或对照序列，未测量的同期事件可使简单ITS产生偏倚；当趋势非线性、干预逐渐引入或在多个时间点引入、或人群随时间变化时，最简单的分段模型也不适用。<sup>[1](https://www.bmj.com/content/350/bmj.h2750)</sup><sup> • </sup><sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC5407170/)</sup> ITS控制了短期波动、长期趋势和均值回归，但仍易受同期事件导致的历史偏倚和结局测量变化导致的工具效应影响。<sup>[11](http://www.ag-myresearch.com/uploads/1/3/8/6/13864925/2018_lopezbernal_jce.pdf)</sup> 干预时间前后的同期干预或自然事件是时变混杂因素的特殊类别；<sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC5407170/)</sup> CITS主要控制这种简单ITS无法排除的历史偏倚。<sup>[7](http://www.ag-myresearch.com/uploads/1/3/8/6/13864925/2018_lopezbernal_ije.pdf)</sup> 气象事件、季节性和贫困程度等时变混杂因素可通过纳入模型进行调整。<sup>[11](http://www.ag-myresearch.com/uploads/1/3/8/6/13864925/2018_lopezbernal_jce.pdf)</sup>

自相关常见且影响重大：公共卫生数据集中滞后1期自相关的中位数为0.23。<sup>[6](https://link.springer.com/article/10.1186/s12874-021-01306-w)</sup> 实践往往不尽如人意。超过40%的使用适当[时间序列回归](https://www.edgepedia.org/zh/time-series-regression)的研究未检验或考虑自相关、季节性、异方差性，<sup>[18](https://pmc.ncbi.nlm.nih.gov/articles/PMC7231782/)</sup> 在近50%的审查序列中未考虑自相关或无法确定调整方法；仅1.5%报告了样本量计算。<sup>[6](https://link.springer.com/article/10.1186/s12874-021-01306-w)</sup> 一项对Cochrane综述的审查发现ITS研究应用了不恰当的统计方法，导致经常将统计上不显著的效应判定为显著。<sup>[4](https://www.sciencedirect.com/science/article/abs/pii/S0895435617301129)</sup> 当数据按时间点聚合或偏态分布时，常用方法也往往不恰当，且易受聚合偏倚、不精确和检验效能损失的影响。<sup>[3](https://bmjopen.bmj.com/content/7/6/e016018)</sup>

ITS与邻近设计存在重叠：它通常使用分段回归进行分析，而回归不连续是一种独特的准实验设计，在某些情况下可使用时间作为分配变量，<sup>[1](https://www.bmj.com/content/350/bmj.h2750)</sup> 一种对照ITS方法被描述为类似于双重差分。<sup>[18](https://pmc.ncbi.nlm.nih.gov/articles/PMC7231782/)</sup> 当CITS和简单ITS结果一致且选择了适当的对照时，该设计在公共卫生干预的证据强度中排名仅次于随机对照设计。<sup>[7](http://www.ag-myresearch.com/uploads/1/3/8/6/13864925/2018_lopezbernal_ije.pdf)</sup>

## References

1. [Regression based quasi-experimental approach when randomisation is not an option: interrupted time series analysis (BMJ 2015;350:h2750)](https://www.bmj.com/content/350/bmj.h2750)
2. [Interrupted time series regression for the evaluation of public health interventions: a tutorial (Lopez Bernal, Cummins, Gasparrini; International Journal of Epidemiology)](https://pmc.ncbi.nlm.nih.gov/articles/PMC5407170/)
3. [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)
4. [Heterogeneity in application, design, and analysis characteristics was found for controlled before-after and interrupted time series studies included in Cochrane reviews (J Clin Epidemiol)](https://www.sciencedirect.com/science/article/abs/pii/S0895435617301129)
5. [The performance of interrupted time series designs with a limited number of time points: Learning losses due to school closures during the COVID-19 pandemic (PLOS One, 2024)](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0301301)
6. [Comparison of six statistical methods for interrupted time series studies: empirical evaluation of 190 published series (BMC Medical Research Methodology)](https://link.springer.com/article/10.1186/s12874-021-01306-w)
7. [The use of controls in interrupted time series studies of public health interventions (International Journal of Epidemiology)](http://www.ag-myresearch.com/uploads/1/3/8/6/13864925/2018_lopezbernal_ije.pdf)
8. [Interrupted time series analysis in drug utilization research is increasing: systematic review and recommendations (J Clin Epidemiol, 2015)](https://www.sciencedirect.com/science/article/pii/S0895435615001237)
9. [Interpretation of coefficients in segmented regression for interrupted time series analyses (BMC Medical Research Methodology, 2025)](https://link.springer.com/article/10.1186/s12874-025-02556-8)
10. [An Epidemiological Guide to Interrupted Time Series Analysis - Statistical Methods (Washington State DOH)](https://doh-pmp-epi.quarto.pub/interrupted-time-series-brief-tutorial/Statistical%20Models.html)
11. [A methodological framework for model selection in interrupted time series studies (Journal of Clinical Epidemiology, Lopez Bernal et al. 2018)](http://www.ag-myresearch.com/uploads/1/3/8/6/13864925/2018_lopezbernal_jce.pdf)
12. [G. E. P. Box, G. C. Tiao (1975). Intervention Analysis with Applications to Economic and Environmental Problems. Journal of the American Statistical Association.](https://doi.org/10.1080/01621459.1975.10480264)
13. [A. K. Wagner and colleagues (2002). Segmented regression analysis of interrupted time series studies in medication use research. Journal of Clinical Pharmacy and Therapeutics.](https://doi.org/10.1046/j.1365-2710.2002.00430.x)
14. [E. Kontopantelis and colleagues (2015). Regression based quasi-experimental approach when randomisation is not an option: interrupted time series analysis. BMJ.](https://doi.org/10.1136/bmj.h2750)
15. [Fang Zhang, Anita K. Wagner, Dennis Ross-Degnan (2011). Simulation-based power calculation for designing interrupted time series analyses of health policy interventions. Journal of Clinical Epidemiology.](https://doi.org/10.1016/j.jclinepi.2011.02.007)
16. [Robert B. Penfold, Fang Zhang (2013). Use of Interrupted Time Series Analysis in Evaluating Health Care Quality Improvements. Academic Pediatrics.](https://doi.org/10.1016/j.acap.2013.08.002)
17. [Bradley E. Huitema, Joseph W. Mckean (2000). Design Specification Issues in Time-Series Intervention Models. Educational and Psychological Measurement.](https://doi.org/10.1177/00131640021970358)
18. [Methods, Applications and Challenges in the Analysis of Interrupted Time Series Data: A Scoping Review](https://pmc.ncbi.nlm.nih.gov/articles/PMC7231782/)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 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/interrupted-time-series-analysis

English original: https://www.edgepedia.org/interrupted-time-series-analysis
