After a policy takes effect, how much an indicator changes cannot be read from before-and-after averages alone: the indicator may already have been rising or falling. Interrupted time series extends the continuously observed pre-policy trend into the post-policy period to construct a comparison path for “what if the policy had not occurred,” then asks how far the actual path departs from it.[1]
Comparing two paths at the same time points
Imagine a region records monthly hospitalization rates that had been rising before a policy. Even if post-policy rates merely match the last pre-policy month, they may still lie below the level predicted by the prior trend. What interrupted time series compares is the actual outcome in a post-policy month with the no-policy prediction for that same month—not treating that prediction as another truly observed population.[1]
That no-policy path is a counterfactual. Building it rests on a key judgment: had the policy not occurred, the underlying pre-policy trend would have continued after the policy under the chosen model. When the policy coincides with another event that also affects the outcome, a change in a single series may mix both influences.[1]
Analysis begins by fixing the policy start time, the study population, and the outcome, then collecting repeatedly measured data at the same intervals before and after. Plot the series to inspect long-run trend, seasonality, outliers, and missing periods, and check whether population size, indicator definitions, recording, or diagnosis practices changed. When choosing the observation window, pre-policy data must be able to represent the trend just before implementation; a longer history does not automatically better represent conditions at that time.[1]
First imagine how the policy would reshape the curve
A policy may jump the indicator up or down at once (a level change), or change how fast it moves each period thereafter (a slope change). Both can occur together; effects may also lag or last only briefly. Researchers should choose a primary impact model from the policy mechanism and prior evidence, then probe other plausible specifications in sensitivity analyses—avoiding picking only the most significant curve after seeing results.[1]

Figure 1|Six impact-model sketches: a level change; b slope change; c simultaneous level and slope change; d lagged slope change; e temporary level change; f temporary slope change that leaves a lasting level gap. Source: original tutorial Figure 2 by James Lopez Bernal, Steven Cummins, and Antonio Gasparrini[1], licensed under CC BY 4.0.
For example, a rule that takes full effect from a given month can treat that month as the first post-policy observation; if rollout is gradual, define the implementation period and handle transition or lag according to the expected mechanism. Time-point coding must match the research question: announcement, start of enforcement, and actual coverage of the target population need not coincide.[1]
Estimating level and slope changes with segmented regression
For continuous outcomes, a common approach fits two linear segments. Let T be time since the study began and T₀ the value of T when the policy starts; Xₜ is 0 before the policy and 1 from the policy start onward. Letting Ŷₜ denote the model’s fitted mean outcome at that time, one can write:[2]
Ŷₜ = β₀ + β₁T + β₂Xₜ + β₃(T − T₀)Xₜ
Here β₀ is the baseline level when T is 0, and β₁ is the change per time unit before the policy. β₂ is the level gap at policy start between the policy-period fit and the no-policy prediction; β₃ is how much the post-policy slope differs from the pre-policy slope. Thus the post-policy slope is β₁ + β₃. After k time units into the post-policy period, the gap between the two fitted paths is β₂ + kβ₃.[2]
In coding, both Xₜ and (T − T₀)Xₜ are 0 before the policy; at the first post-policy observation Xₜ becomes 1 while (T − T₀)Xₜ remains 0, then 1, 2, 3, … thereafter. So β₂ corresponds to the level gap at the start.[3]
A constructed monthly example: set β₀=100, β₁=2, policy start at T₀=12, level change β₂=−8, slope change β₃=−1. In the start month, the no-policy path predicts 100+2×12=124; the policy-period fit is 124−8=116, a gap of −8. The previous month’s fit is 122; the change from 122 to 116 is −6, which is not the same as that month’s gap between the two paths.
At T=15, the no-policy path is 130 and the policy-period fit is 119, a gap of −11. The fitted post-policy slope still rises by 1 per month, but because the no-policy path rises by 2 per month, the gap keeps widening.
Where the time variable starts changes what coefficients mean. If the last term is written γ₃TXₜ and the policy indicator has coefficient γ₂, the level gap at policy start is γ₂+γ₃T₀; γ₂ is not itself the immediate change. Both parameterizations can fit the same curve; only the interpretation of parameters differs.[3]
How the original tutorial analyzed a smoking ban
Lopez Bernal and colleagues demonstrate the method with Italian smoking-ban data. A public-place smoking ban began on 10 January 2005; the tutorial uses 59 months of acute coronary event hospitalizations in Sicily for ages 0–69 from 2002–2006. Drawing on prior evidence, the authors presupposed a level change without lag, analyzed counts with a Poisson model, and used age-standardized population as an offset.[1]
Without seasonal adjustment, the estimated post-ban hospitalization rate was about 11% below the extrapolated no-ban level, rate ratio 0.894, 95% confidence interval 0.864–0.925. With seasonal adjustment, the rate ratio was 0.885, 95% confidence interval 0.839–0.933.[1] The comparison target is the model-extended pre-policy trend, not the hospitalization rate in some single pre-policy month.
Making the comparison more credible
Seasonality changes month-to-month comparability; residuals in adjacent months may also be correlated. Fit seasonality and residual dependence according to the outcome type, inspect residual plots and autocorrelation, and for counts account for population or exposure changes and overdispersion. When reporting, give the level change, trend gaps at relevant times, and confidence intervals—not only whether pre- and post-policy periods differ.[1]
If one can find a comparison population or outcome exposed to related external changes but not to the policy, a second series can be added. Analysis then asks how the gap between the two series changes around the policy; it still requires a judgment about how that gap would have evolved without the policy. For concurrent events, if the two series respond differently, adding a comparison series does not automatically remove confounding.[1]
Finally, place the observed data, policy timing, post-policy fitted path, and no-policy prediction on one figure, and state whether results change under the primary model and other plausible specifications. That shows when estimated differences arise, how they evolve, and how much conclusions depend on how the pre-policy trend is extended.[1]
References
-
James Lopez Bernal, Steven Cummins, Antonio Gasparrini. Interrupted time series regression for the evaluation of public health interventions: a tutorial. 2016-06-08.
-
James Lopez Bernal, Steven Cummins, Antonio Gasparrini. Corrigendum to: Interrupted time series regression for the evaluation of public health interventions: a tutorial. 2020-09-03.
-
Hong Xiao, Orvalho Augusto, Bradley H. Wagenaar. Reflection on modern methods: a common error in the segmented regression parameterization of interrupted time-series analyses. 2020-10-23.
-
Research Methods · Rituals can be copied; understanding cannot be faked
-
Information compiled and published by Scholay academic one-stop platform. Please report infringement for takedown.
-
Also published on Enter Scholar, a scholars' community for the intelligent age