- Introduced by
- Shadish, Cook & Campbell (design framework); Bernal, Cummins & Gasparrini (epidemiological tutorial)
- Year
- 2000s–2010s
- Type
- Quasi-experimental causal inference
- Family
- Quasi-experimental / causal inference
What does it do?
Panel Data Interrupted Time Series (panel ITS) is a quasi-experimental method that estimates the effect of an intervention with a known start date, using repeated observations of several units over time.
The model tests for an immediate change in the outcome level and for a change in its slope after the intervention. Because several units are observed, the design can combine variation within each unit over time with differences across units. The specification presented here applies one intervention date to all units. Extensions that add unexposed units as a comparison group require a unit-specific treatment indicator and are a separate extension of this model.
The intuition behind the method
Imagine tracking hospital readmission rates across dozens of hospitals before and after a new discharge policy takes effect. A single-hospital ITS can detect whether that hospital's series shifted, but an unrelated event at the same time could explain the shift. Panel ITS pools series from many hospitals, gives each hospital its own baseline level through a fixed effect, and estimates a pre-intervention trend that is shared across them. The intervention's effect appears as a sharp departure in level or slope at the interruption date, and the design asks whether that departure is consistent across units.
History
The single-series segmented regression approach to interrupted time series is set out in a tutorial by Lopez Bernal, Cummins and Gasparrini (2017) in the International Journal of Epidemiology. That tutorial describes the design, the impact model specified in advance, and the main segmented regression model, and discusses over-dispersion, autocorrelation, seasonal trends and time-varying confounders. The panel version extends this model to several units observed over the same period, with unit-level baselines and a pooled pre-intervention trend.
When to use it
Use panel ITS when a dated policy change or intervention affects several units at approximately the same time, and each unit is observed over many periods before and after the interruption. As a rule of thumb from practice, at least 8 periods per segment is advisable, although the appropriate length depends on outcome variability and seasonality. Panel ITS is preferable to single-unit ITS when multiple units are available, because pooling gives more data for estimating the common trend. Do not use it when intervention timing varies widely across units without a common date (a staggered difference-in-differences design suits that case better), when there are fewer than 6 pre-intervention periods, or when it is implausible that the pre-intervention trend would have continued unchanged without the intervention.
Limitations and considerations
- Requires a clearly identified intervention date that is common, or approximately common, across units; endogenous or staggered timing complicates interpretation.
- The counterfactual assumes the pre-intervention trend would have continued linearly without the intervention; non-linear or seasonal baselines need explicit modelling.
- A short pre-intervention window leaves the baseline trend poorly estimated. As a rule of thumb from practice rather than a formal requirement, fewer than 8 periods per segment makes inference fragile, and fewer than 6 pre-intervention periods generally makes the design unadvisable.
- Contemporaneous events, often called history threats, that coincide with the intervention date and affect all units simultaneously can confound the estimate.
- If autocorrelation in the residuals is ignored, standard errors are typically too small, so the estimated level and slope changes can look more precise than the data support.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Uses both variation over time within each unit and differences across units, so the estimate draws on more data than a single aggregate series.
- Reports an immediate level change and a gradual slope change separately, so the two kinds of effect can be read as distinct quantities.
- Unit fixed effects absorb stable differences between units that do not change over the study period.
- Identifies the effect from departures from the pre-intervention trend at a known date, without needing randomisation; the estimate remains valid only if that trend would have continued, which is why the assumption must be examined.
- Suited to policy evaluation where randomisation is infeasible but the intervention date is known and external to the outcome process.
Applications
- Evaluating the effect of a national public health regulation (e.g., a smoking ban) on health outcomes across multiple regions simultaneously.
- Assessing the impact of an educational policy change on test scores across many schools before and after the reform date.
- Measuring how a financial market regulation affects trading volumes or volatility across multiple exchanges at the point of implementation.
- Examining whether a hospital-wide clinical protocol change reduced infection rates across multiple hospitals that adopted the protocol simultaneously.
- Estimating the effect of a tax policy change on consumer spending patterns across many geographic units.
- Studying the trajectory of air pollution levels across cities before and after the introduction of emission standards.
How it works
How it works
A segmented regression is specified for each unit i at time t. The model includes a unit fixed effect (alpha_i) for stable differences between units, a linear time trend (beta_1), an intervention indicator (X_t, 0 before and 1 after), and an interaction of the indicator with time (beta_3). Because X_t carries no unit index, the interruption falls on the same date for every unit. Covariates Z_i can be added for further adjustment. Because the trend beta_1 is common to all units in this specification, the pre-intervention slope is pooled across units rather than estimated separately for each one.
Formula
y_{it} = \alpha_i + \beta_1 T_t + \beta_2 X_t + \beta_3 (X_t \cdot T_t) + \beta_4 Z_i + \varepsilon_{it}The coefficient beta_2 on the intervention indicator is the immediate step change in the outcome level at the interruption point. Its reading depends on how time is coded: if T_t is calendar time that is not centred at the interruption, beta_2 describes the shift where T_t equals zero, which may not be the interruption date.
Formula
\Delta_{\text{level}} = \hat{\beta}_2The coefficient beta_3 measures how the time slope changes after the intervention, relative to the pre-intervention slope beta_1. A positive or negative value indicates that the outcome trajectory accelerates or decelerates following the intervention.
Formula
\Delta_{\text{slope}} = \hat{\beta}_3The counterfactual is the trajectory the model predicts for the post-intervention period without the intervention. It is projected from the fitted pre-intervention trend using the unit fixed effect, the common baseline slope, and the covariate term (beta_4 Z_i). Comparing observed post-intervention values with this projection gives the estimated effect at each post-intervention time point.
Formula
\hat{y}^{cf}_{it} = \hat{\alpha}_i + \hat{\beta}_1 T_t + \hat{\beta}_4 Z_iResiduals in time-series data are typically autocorrelated. In panel ITS, standard errors should be corrected for within-unit serial correlation and, often, for clustering across units. Three common approaches are Newey-West standard errors, which adjust the variance for serial correlation up to a chosen lag; GLS with AR(p) errors, which models the residual autocorrelation directly; and cluster-robust standard errors at the unit level, which allow arbitrary correlation within each unit and generally require a reasonable number of units. Lopez Bernal, Cummins and Gasparrini (2017) discuss autocorrelation and its consequences for segmented regression in detail.
Common pitfalls
- Using ordinary OLS standard errors without correcting for autocorrelation within units. Apply Newey-West, GLS with AR(p) errors, or cluster-robust standard errors as described above.
- Fitting a linear baseline when the true pre-intervention pattern is seasonal or non-linear. This biases the counterfactual and can produce a spurious effect; seasonal terms such as harmonics or calendar-month dummies in the pre-intervention segment are common remedies.
- Reading beta_2 and beta_3 without checking how time is coded. The level change is evaluated at the origin of the time variable, and the slope change is relative to the common pre-intervention slope, so centring time at the interruption changes the reported level change.
- Neglecting to plot the observed values, the fitted pre-intervention trend and the projected counterfactual together; this comparison is the most direct check on whether the model describes the data.
- Applying panel ITS to a staggered rollout in which different units receive the intervention at different times. Use a staggered difference-in-differences estimator, such as Callaway-Sant'Anna or Sun-Abraham, in that setting.
Frequently asked questions
How is panel ITS different from standard single-unit ITS?
Standard ITS applies to a single aggregate series (e.g., one country or one hospital). Panel ITS stacks data from many units and adds unit fixed effects to control for stable differences between them. Pooling across units can improve precision when unit-level residuals are not strongly correlated, but precision also depends on within-unit serial correlation and correlation across units, so standard errors must be corrected as described above.
How many time points do I need before and after the intervention?
As a rule of thumb from practice, at least 8 time points per segment (pre and post) supports reasonable trend estimation. The required number depends on outcome variability and seasonality, and these figures are not formal requirements. With fewer than 6 pre-intervention periods the baseline trend is generally too poorly estimated to rely on, even if many units are available.
Can I include control units that were not exposed to the intervention?
A comparison group of unexposed units is a common extension of this design, but it is not part of the specification above. Adding unexposed units requires a unit-specific treatment indicator, so that treatment status varies across units as well as over time. If the outcome shifts in treated units but not in comparable control units at the same date, the intervention is more plausibly responsible, which helps address history threats.
What if different units received the intervention at different times?
Staggered adoption breaks the single-interruption-point assumption of standard panel ITS. In that setting, use a staggered difference-in-differences estimator (e.g., Callaway-Sant'Anna or Sun-Abraham) or a unit-specific ITS combined in a meta-analytic framework.
How do I handle seasonality in the baseline?
Include harmonic terms (sine and cosine functions of calendar time) or month/quarter dummy variables in the pre-intervention segment regression. Failing to account for seasonality can produce a badly estimated counterfactual and a biased treatment-effect estimate.
Related methods
Sources
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 referenceShadish, W. R., Cook, T. D., & Campbell, D. T. (2002). Experimental and Quasi-Experimental Designs for Generalized Causal Inference. Houghton Mifflin.
ISBN: 978-0395615560