Interrupted Time Series for Public Health

Statistics
Introduced by
Anita K. Wagner, Stephen B. Soumerai et al. (segmented-regression formulation); James Lopez Bernal, Steven Cummins & Antonio Gasparrini (public-health tutorial)
Year
2002
Type
Quasi-experimental design estimating level and slope changes in a population outcome after an intervention
Family
Quasi-experimental time-series evaluation / public-health policy analysis

What does it do?

Interrupted time series (ITS) analysis, usually implemented as segmented regression, is a quasi-experimental design for evaluating a public-health intervention introduced at a known point in time.

It tracks a population-level outcome, such as prescribing rates, infections, injuries or hospital admissions, over many equally spaced periods before and after the intervention. It asks whether the outcome's level jumped and whether its trend changed, relative to the pre-intervention trajectory projected forward as the counterfactual. Wagner and colleagues described segmented regression for evaluating medication-use and policy interventions, and the tutorial by Lopez Bernal, Cummins and Gasparrini in the International Journal of Epidemiology gives a practical guide to the approach for public-health applications.

The intuition behind the method

Suppose a city bans smoking in restaurants and you want to know whether heart-attack admissions fell. You cannot run a trial, but you do have monthly admission counts for years before and after the ban. The idea of interrupted time series is simple: draw the trend line through the before-period data and extend it forward as your best guess of what would have happened without the ban — that projection is the counterfactual. Then look at what actually happened after the ban and measure two things. First, did the line jump up or down right at the moment of the ban — a sudden level change? Second, did the line's slope tilt — did admissions start climbing or falling faster or slower than before? Together these capture an immediate effect and a gradual one. The honest version of this analysis worries about a few things that can fool you: outcomes in adjacent months are correlated, there are seasonal swings (flu season, summer), and other events may coincide with the intervention. So good practice models the autocorrelation and seasonality and, whenever possible, compares against a similar population that did not get the intervention to rule out coincident trends.

History

Segmented regression is the model used in interrupted time series analysis, and it was adapted for evaluating health-services and policy interventions. Wagner, Soumerai, Zhang and Ross-Degnan's 2002 paper in the Journal of Clinical Pharmacy and Therapeutics applied it to policy and educational interventions intended to improve medication use or contain costs, and set out how the segmented model can estimate those effects. Lopez Bernal, Cummins and Gasparrini later published a tutorial in the International Journal of Epidemiology that works through segmented regression for public-health interventions. It covers proposing the impact model a priori, autocorrelation, seasonal adjustment and design extensions.

When to use it

Use interrupted time series for public health when an intervention or policy was introduced at a clearly identifiable time and you have a reasonably long run of equally spaced outcome measurements before and after it. The required length depends on how stable the pre-intervention trend and seasonal pattern are rather than on a fixed minimum count, so the pre-trend should be checked for stability before any post-intervention change is interpreted. It is well suited to evaluating smoking bans, prescribing-guideline changes, vaccination campaigns, traffic or alcohol laws, and similar population-level interventions where randomization is impossible and the outcome is measured routinely. It is strongest when a comparison series is available and when the intervention's timing is sharp rather than gradual or anticipated. It is a poor choice when the series is short, when the intervention coincides with other major events that cannot be separated, when the outcome is measured only a few times, or when the effect is expected to be so gradual or delayed that distinguishing it from the underlying trend is hopeless. For single-unit policies with rich donor pools, synthetic control is a complementary or alternative design.

Limitations and considerations

  • Requires a sufficiently long, stable pre-intervention series; short series give unreliable trends and weak power.
  • Vulnerable to confounding by other events occurring at or near the intervention time unless a control series is used.
  • Autocorrelation and seasonality must be modeled correctly or significance is overstated and effects misattributed.
  • Extrapolating the pre-trend far into the post period can be fragile, especially for slow-onset or anticipated effects.

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

Strengths

  • Estimates both an immediate level change and a change in trend, capturing distinct kinds of intervention effect.
  • Uses the pre-intervention trend as an explicit, projectable counterfactual, making assumptions transparent and visual.
  • Strong quasi-experimental design for routinely collected population data where randomization is impossible.
  • Greatly strengthened by adding a comparison series, which controls for events coinciding with the intervention.

Applications

  • Evaluating whether a public smoking ban reduced hospital admissions for cardiovascular or respiratory disease.
  • Assessing the impact of a prescribing guideline, formulary change, or drug-safety warning on medication use.
  • Measuring the effect of a vaccination campaign or screening program on disease incidence.
  • Studying traffic-safety or alcohol laws on injuries, crashes, or alcohol-related harm.
  • Evaluating the effect of an emergency public-health measure on infections, mortality, or service use during an outbreak.

How it works

How it works

1

The analysis begins by specifying a segmented regression of the outcome on time. The model includes a continuous time variable for the pre-intervention trend, an indicator that switches on at the intervention point, and an interaction between that indicator and the time elapsed since the intervention, which allows the slope to change afterward. One equation therefore describes both segments on a shared time axis. Wagner and colleagues use this segmented-regression formulation to estimate intervention effects in medication-use and policy studies. The breakpoint should be fixed from the known date on which the intervention took effect, and the impact model should be proposed before the outcome data are analysed. If the intervention was phased in or its effect was expected to lag, the transition period can either be excluded from the fit or modelled explicitly, and the estimates should be checked for sensitivity to the chosen breakpoint.

Formula
Y_t=\beta_0+\beta_1\,t+\beta_2\,D_t+\beta_3\,(t-T_0)D_t+\varepsilon_t,\quad D_t=\mathbb{1}[t> T_0]
2

From the fitted model, two coefficients carry the causal interpretation. The coefficient on the intervention indicator is the immediate change in the level of the outcome at the intervention point, a step up or down. The coefficient on the post-intervention time term is the change in slope, that is, how much the trend after the intervention differs from the trend before it. A policy can produce an abrupt shift, a gradual change in trajectory, both, or neither, so the two parameters are estimated and reported separately rather than collapsed into a single before-and-after difference.

Formula
\beta_2=\text{immediate level change},\quad \beta_3=\text{change in trend (slope)}
3

Time-series outcomes violate the independence assumption of ordinary regression, because observations close in time tend to be correlated, and many public-health series have seasonal cycles. Seasonality is a feature of the mean of the outcome, so it is included in the segmented model through harmonic (sine and cosine) terms or month indicators. Autocorrelation is a feature of the residuals, so it is modelled separately, for example with an autoregressive error term or with Newey-West-type standard errors. Ignoring positive autocorrelation understates standard errors and can overstate significance, and unmodelled seasonality can be mistaken for an intervention effect. The tutorial by Lopez Bernal and colleagues lists over-dispersion, autocorrelation and seasonal trends among the main methodological issues in ITS analysis.

Formula
\varepsilon_t=\rho\,\varepsilon_{t-1}+u_t;\quad +\textstyle\sum_k \bigl[\gamma_k\sin(\tfrac{2\pi k t}{s})+\delta_k\cos(\tfrac{2\pi k t}{s})\bigr]
4

Where possible, the design is strengthened by adding a control series: an equivalent outcome from a population or area not exposed to the intervention. Interacting a group indicator with the intervention and post-intervention time terms gives a controlled ITS, in which the effect is the difference in level and slope changes between the treated and comparison series. This helps guard against confounding by events that coincide with the intervention but affect both groups. The tutorial by Lopez Bernal and colleagues describes such design adaptations as ways to strengthen the basic ITS design.

Formula
Y_t=\dots+\alpha\,G+\theta_2\,(G\cdot D_t)+\theta_3\,(G\cdot(t-T_0)D_t),\quad G\in\{0,1\}
5

Finally, the effect is quantified by contrasting the observed post-intervention outcomes with the counterfactual obtained by projecting the pre-intervention trend forward as if the intervention had not occurred. At each post-intervention time point, the vertical distance between the observed series and this extrapolated trend is the estimated effect, which can be summarized as an absolute or relative difference at chosen horizons. Plotting the observed series, the fitted segments and the counterfactual together is a useful check, because it makes poor fit and implausible extrapolation visible.

Formula
\widehat{\text{effect}}_t=Y_t-\hat{Y}_t^{\,\text{counterfactual}},\quad \hat{Y}_t^{\,cf}=\hat{\beta}_0+\hat{\beta}_1 t

Common pitfalls

  • Fitting ordinary least squares without correcting for autocorrelation, which deflates standard errors.
  • Failing to model seasonality, so seasonal swings are mistaken for an intervention effect.
  • Using too few pre-intervention points to establish a credible baseline trend.
  • Attributing the post-intervention change to the policy when a coincident event affecting the same population is the real cause and no comparison series is included.
  • Choosing the breakpoint, lag or model specification after inspecting the outcome data, which inflates the chance of finding an apparent effect; the impact model should be specified a priori.

Frequently asked questions

What is the difference between the level change and the slope change?

The level change is the immediate, step-like shift in the outcome at the moment the intervention takes effect, the jump up or down at the interruption. The slope change is how much the underlying trend tilts afterward, that is, whether the outcome starts rising or falling faster or more slowly than it did before. A policy might cause an abrupt drop with no change in trend, a gradual change in trend with no immediate jump, both, or neither. Because these are different effect patterns, it is useful to estimate and report both rather than a single before-and-after difference.

Why do I need to worry about autocorrelation?

In a time series, observations close together are correlated, so the residuals of an ordinary regression are not independent. Ignoring this leaves the point estimates roughly unbiased but makes standard errors too small, which inflates significance and raises the risk of false positives. Common responses are to test for autocorrelation (for example with the Durbin-Watson statistic or autocorrelation plots) and to account for it with autoregressive error models or Newey-West standard errors. Seasonality should be modelled at the same time, since seasonal cycles otherwise contaminate both the trend and the estimated effect.

How does a comparison series strengthen the design?

A single interrupted series can be confounded by anything else that happened around the intervention time. Adding an equivalent series from a population that did not receive the intervention turns the analysis into a controlled interrupted time series, in which the effect becomes the difference between the treated and control series in their level and slope changes. If both series are subject to the same coincident shocks but only the treated one received the intervention, the comparison removes those shared influences. The comparison series does not remove all confounding, since the two populations must still be similar enough for the control series to represent the treated series' counterfactual trend.

Related methods

Sources

  1. 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
  2. Lopez Bernal, J., 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