Interrupted Time Series (ITS) Analysis

Statistics
Introduced by
Wagner, Soumerai, Zhang & Ross-Degnan (segmented regression); Bernal, Cummins & Gasparrini (tutorial)
Year
2002
Type
Quasi-experimental segmented regression

What does it do?

Interrupted time series (ITS) analysis is a quasi-experimental design that estimates the effect of a single, well-dated intervention by comparing the trajectory of an outcome before and after it occurs.

The design had been analysed in the quasi-experimental literature before, for example by McCain and McCleary (1979) and McDowall and colleagues (1980). Wagner and colleagues (2002) showed how segmented regression could be applied to ITS in medication-use research, and Bernal, Cummins and Gasparrini (2017) later presented it as a tutorial for public-health evaluation. The intervention's impact is expressed as a change in level and a change in slope.

The intuition behind the method

Picture an outcome tracked at regular intervals, such as monthly hospital admissions. A policy or treatment is introduced at one known moment. ITS draws a trend line through the pre-intervention points and projects it forward as the counterfactual, assuming the earlier trend would have continued unchanged. It then asks two questions: did the line jump up or down right after the intervention (a level change), and did its slope tilt afterwards (a trend change)? The gap between what happened and the projected baseline is the estimated effect, and its credibility depends largely on how believable that projection is.

History

Interrupted time series analysis had been studied earlier. McCain and McCleary (1979) analysed the simple interrupted time-series quasi-experiment, and McDowall and colleagues (1980) wrote on interrupted time series analysis. Wagner, Soumerai, Zhang and Ross-Degnan (2002) showed how segmented regression could be used to evaluate policy and educational interventions intended to improve the quality of medication use or contain costs in interrupted time series studies. Bernal, Cummins and Gasparrini (2017) later published a tutorial in the International Journal of Epidemiology that describes the design, the impact model to be specified in advance, and the issues of autocorrelation, seasonality and time-varying confounding.

When to use it

Choose ITS when the outcome is measured repeatedly over time, the date of a single intervention is known and can be defined precisely, and there is a reasonably long run of observations before the intervention to establish the baseline trend. The segmented model in this entry is written for a continuous outcome. For count outcomes, the linear model should not be applied without first checking for over-dispersion, and count-model specifications that account for over-dispersion are alternatives to consider. Autocorrelation should be modelled and seasonal patterns accounted for, because the formula contains no seasonal term and unmodelled seasonality can be mistaken for an intervention effect. Adding a comparable control series (controlled ITS) strengthens the design by netting out external trends. ITS is a poor choice when the pre-intervention series is short, when the intervention date is uncertain, or when other events coincide with the intervention and cannot be separated from it.

Limitations and considerations

  • In its basic form the design has no concurrent comparison group, so any other change that begins at the intervention date is attributed to the intervention.
  • The segmented model assumes a straight-line trend within each period and an abrupt change at t₀. A gradual rollout, a lagged effect or a curved pre-existing trend is not captured by this specification.
  • The counterfactual is an extrapolation of the pre-intervention trend, so the estimated effect is only as credible as that trend. Serially correlated errors also make the conclusions about β₂ and β₃ depend on the HAC correction being adequate.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Builds the counterfactual from the series' own pre-intervention trend, so a randomised control group is not needed for a single-group evaluation.
  • The model separates the intervention effect into an immediate level change (β₂) and a change in slope (β₃), which address different questions about timing and persistence.
  • Wagner et al. (2002) describe ITS as a strong quasi-experimental approach for estimating the longitudinal effects of interventions, and the segmented model can be fitted by ordinary least squares.

Applications

  • Evaluating a health policy or regulation whose effect is tracked in a routinely collected outcome, such as prescribing rates in medication-use research.
  • Assessing a programme launch or rule change where a randomised comparison is not feasible.
  • Evaluating educational or quality-improvement interventions measured through regularly recorded data, as Wagner et al. (2002) illustrate for medication use.

How it works

How it works

1

The outcome at time t is modelled by a segmented regression with four terms: a baseline trend (β₁·t) capturing the pre-intervention slope, an intervention indicator Dₜ that is 0 before and 1 after the cut-point, and an interaction (t − t₀)·Dₜ that allows the slope to change after the intervention. β₂ measures the immediate level change and β₃ measures the change in slope attributable to the intervention.

Formula
Y_t = \beta_0 + \beta_1\,t + \beta_2\,D_t + \beta_3\,(t - t_0)\,D_t + \varepsilon_t
2

The coefficients are estimated by ordinary least squares. Because observations close in time are usually correlated, ordinary standard errors are not reliable on their own, so the covariance matrix is estimated with a heteroscedasticity- and autocorrelation-consistent (HAC, Newey-West) estimator, which is what the variance term refers to. Some analysts instead model the error process directly, for example with an ARIMA error structure; that is a different approach from the estimator written above and is not part of this formula.

Formula
\hat{\beta} = (X^{\top}X)^{-1}X^{\top}Y,\quad \widehat{\operatorname{Var}}(\hat{\beta})\;\text{via HAC (Newey-West)}

Common pitfalls

  • Using plain OLS standard errors without the autocorrelation correction in the estimator step, which understates uncertainty and can make the level or slope change look more significant than it is.
  • Placing t₀ at the wrong date. The estimates of β₂ and β₃ depend on where the step and slope change are placed, so anticipation effects or a delayed start shift the estimated effect into the wrong period.
  • Omitting seasonal terms. The formula has no seasonal component, so a recurring seasonal pattern that coincides with the intervention can bias β₂ or β₃ unless it is added to the model.
  • Applying the linear model to a count outcome without checking for over-dispersion. Bernal et al. (2017) list over-dispersion of time series data among the main methodological issues in ITS analysis.

Frequently asked questions

How is the intervention effect read off an ITS model?

Two coefficients capture it: the level-change term (β₂) is the immediate jump in the outcome right after the intervention, and the slope-change term (β₃) is how much the trend tilts afterwards relative to the pre-intervention slope. Together they describe the intervention's short-term and longer-term impact against the projected baseline.

Why does autocorrelation matter so much in ITS?

Observations close in time tend to be correlated, which breaks the independence assumption behind ordinary standard errors. If this is not corrected, the standard errors are understated and the level or slope change looks more precise than the data support. The estimator in the formula uses HAC (Newey-West) standard errors to address this; an ARIMA error model is a different approach.

How long a pre-intervention series do I need?

There is no fixed minimum number of pre-intervention observations that applies to every series; the length needed depends on how stable the baseline trend and any seasonal pattern are. The series needs enough points before the intervention to establish the baseline trend and, where present, the seasonal pattern. With a short pre-period the projected counterfactual is unstable, and the estimated effect can change substantially with small changes in the model.

What is a controlled ITS?

A controlled ITS adds a comparable series that did not receive the intervention. By comparing the change in the treated series to the control series, external trends and shocks affecting both can be netted out, strengthening the causal interpretation.

Related methods

Sources

  1. Bernal, J. L., Cummins, S., & Gasparrini, A. (2017). Interrupted time series regression for the evaluation of public health interventions: a tutorial. International Journal of Epidemiology, 46(1), 348-355.

    Open DOI reference
  2. Wagner, A. K., Soumerai, S. B., Zhang, F., & Ross-Degnan, D. (2002). Segmented regression analysis of interrupted time series studies in medication use research. Journal of Clinical Pharmacy and Therapeutics, 27(4), 299-309.

    Open DOI reference
  3. Using Multivariate Statistics (6th Edition), p. 1041