Dynamic Interrupted Time Series

Statistics
Introduced by
Wagner, Soumerai, Zhang & Ross-Degnan; extended by Lopez Bernal, Cummins & Gasparrini
Year
2002–2017
Type
Quasi-experimental time-series design
Family
Quasi-experimental / causal inference

What does it do?

Dynamic Interrupted Time Series (Dynamic ITS) extends the segmented regression form of interrupted time series by replacing the single step indicator with several lagged intervention terms.

The estimated effect can therefore emerge after a delay, change over time, or fade. It suits evaluations of regularly spaced outcome series where an intervention has a known date and its effect is expected to unfold over several periods. The segmented model it builds on is described in Wagner et al. (2002) and Lopez Bernal, Cummins and Gasparrini (2017).

The intuition behind the method

Standard ITS assumes an intervention either shifts the outcome level or changes its trend from a fixed date, with the effect appearing at once and persisting. Many interventions do not behave this way. The effect of a vaccination campaign, a formulary change or a regulatory reform may appear only after some weeks or months, peak, and then partly fade. Dynamic ITS handles this with lagged intervention indicators. Because each indicator is a lagged step, the cumulative sum of the coefficients up to a given lag gives the estimated level change that many periods after the intervention. The output is therefore the intervention's trajectory over time, which answers when the effect appeared and how large it became, not only whether there was a change.

History

Wagner, Soumerai, Zhang and Ross-Degnan (2002) described segmented regression for evaluating interventions in medication use research, which is the base model that Dynamic ITS extends. Lopez Bernal, Cummins and Gasparrini (2017) published a tutorial on ITS analysis using segmented regression, covering autocorrelation, seasonal trends and design adaptations. The distributed-lag extension used in Dynamic ITS is not described in either cited source.

When to use it

Choose Dynamic ITS when you have a regularly spaced outcome series, a clearly datable intervention, and enough observations on both sides of the intervention to estimate the pre-intervention trend. A substantive reason to expect the effect to build, peak or decay over several periods, rather than appearing immediately and permanently, is also needed. Aggregate administrative data in health, education and policy are typical sources. An informal convention of about 12 observations per segment is sometimes used for segmented models; it is not taken from the cited sources and sets no minimum for models with lag terms, so the lag length should be justified against the data available and the post-intervention segment should comfortably exceed K. Avoid the method when segments are very short, when the intervention date is uncertain, when the intervention is rolled out at different times across many units without comparison, or when a panel design with control units would support the counterfactual better.

Limitations and considerations

  • The counterfactual rests on extrapolating the pre-intervention trend, so a short pre-period gives a poorly determined baseline and wide intervals.
  • The maximum lag K is a modelling choice. Too few lags miss delayed effects, and too many lags add parameters and inflate variance.
  • Concurrent events that coincide with the intervention cannot be separated from its effect without a comparison series. Lopez Bernal et al. (2017) discuss design adaptations that strengthen the basic ITS design.
  • Autocorrelation must be addressed for valid inference. The correction used (HAC errors, Prais-Winsten or Cochrane-Orcutt) depends on the data, and each choice adds modelling decisions that must be reported.
  • Staggered implementation across units requires multi-group extensions that go beyond the single-series model described here.

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

Strengths

  • Lag coefficients show when an effect starts, when it peaks and how it fades, which a single step term cannot show.
  • No untreated comparison series is required, since the pre-intervention trend serves as the counterfactual.
  • Applicable to aggregate administrative time series that are commonly available in health, education and policy databases.
  • Useful when the timing of the effect is uncertain or theoretically expected to be gradual, because the lag structure is estimated from the data rather than fixed in advance.

Applications

  • Evaluating the impact of drug safety warnings or formulary changes on prescription volumes over successive months.
  • Assessing how hospital readmission rates evolved quarter by quarter after a care-coordination policy was introduced.
  • Measuring the trajectory of road-fatality reductions following graduated licensing laws across multiple post-intervention years.
  • Estimating the delayed effect of school anti-bullying programmes on monthly incident reports.
  • Tracking the cumulative impact of public health awareness campaigns on smoking cessation rates.
  • Studying how alcohol outlet density regulations affect weekly emergency-department visits over a multi-year post-implementation window.

How it works

How it works

1

The analyst defines a regularly spaced series of aggregate or unit-level outcomes measured around an intervention date T*. The pre-intervention segment is used to estimate the counterfactual trend, and the post-intervention segment is used to detect departures from it. The key design decision is the maximum lag K, the number of periods over which the intervention effect is allowed to unfold. Lopez Bernal et al. recommend proposing the impact model before analysis, and K should be fixed on the same basis.

2

The starting point is the segmented regression model used by Wagner et al. (2002). The outcome Y at time t is regressed on a linear time trend (β1·t), a step indicator D that equals 1 after T* (β2), and an interaction of D with time elapsed since T* (β3). The model therefore estimates an immediate level change at the breakpoint and a change in slope after it.

Formula
Y_t = \beta_0 + \beta_1 t + \beta_2 D_t + \beta_3 (t - T^*) D_t + \varepsilon_t
3

Dynamic ITS replaces the single step indicator with a distributed-lag structure. The model includes lagged copies of D (D_{t−k} for k = 0 to K), each with its own coefficient γk. Because D is a step indicator equal to 1 after T*, the estimated level change j periods after T* is the cumulative sum of γ0 through γj, and the individual γk are the successive increments to that cumulative effect. The sequence of cumulative sums shows when the effect starts, whether it levels off or peaks, and whether it fades. A pulse-indicator specification would give the coefficients a different reading, so that choice must be stated if it is used. The slope term δ(t − T*)D_t can remain to adjust for the post-intervention trend. The distributed-lag extension is not documented in the cited sources, so its specification should be justified on substantive grounds.

Formula
Y_t = \beta_0 + \beta_1 t + \sum_{k=0}^{K} \gamma_k D_{t-k} + \delta (t - T^*) D_t + \varepsilon_t
4

Residuals from time series are often serially correlated, which violates the independence assumption behind ordinary standard errors and can make effects appear more precise than they are. Options include Newey-West HAC standard errors and error models such as Prais-Winsten or Cochrane-Orcutt corrections. Lopez Bernal et al. list autocorrelation, over-dispersion and seasonal trends among the main methodological issues in ITS analysis. The choice of correction depends on the data and should be stated with the analysis. Residual diagnostics (ACF, PACF, Durbin-Watson) should be inspected before and after correction, and the results of that check reported.

5

Significance is assessed for individual lag coefficients and for the joint null hypothesis that all γk are zero, using an F-test or chi-squared test. Cumulative sums of γk up to lag K summarise the cumulative level change over the post-intervention window and are usually more interpretable than single lags. Effect sizes with confidence intervals and cumulative plots should accompany p-values. Propose K before analysis from the expected time to effect, then report results for a stated range of values. A conclusion that changes across that range should not be presented as robust.

Common pitfalls

  • Reporting ordinary standard errors for serially correlated residuals, which typically overstates precision.
  • Choosing K after inspecting results. The impact model should be proposed before analysis, as Lopez Bernal et al. recommend, and sensitivity to K should be reported.
  • Mistaking a seasonal pattern in monthly or quarterly data for a level change at T*. Seasonal adjustment should be considered explicitly.
  • Assuming a linear pre-intervention trend when the data show curvature or seasonality that the model does not capture.
  • Reading the significance of individual γk as the size of the effect. Cumulative effect plots and effect sizes should accompany p-values.

Frequently asked questions

How is Dynamic ITS different from standard ITS?

Standard ITS estimates two parameters at the breakpoint, an immediate level change and a slope change, and assumes the effect is instantaneous and permanent. Dynamic ITS adds lagged intervention indicators so that the model can detect effects that emerge gradually, peak at some lag and then diminish. Its lag coefficients are successive increments, and their cumulative sums give the estimated level change at each delay. It is a distributed-lag generalisation of the standard segmented regression.

How many pre- and post-intervention observations do I need?

An informal convention of about 12 data points per segment is sometimes used for standard segmented models. It is not taken from the cited sources and gives no minimum for dynamic models, which estimate K+1 lag coefficients in addition to the trend terms. Post-intervention length should comfortably exceed K, and the pre-intervention segment should be long enough to estimate the trend and any seasonal pattern. Check that the estimates remain stable as K varies, and treat the required length as dependent on the lag structure you choose.

How do I choose the maximum lag K?

Ideally K is set from substantive knowledge of how long the intervention takes to act, for example a drug expected to reach full effect within three months would suggest K = 3. Information criteria such as AIC or BIC can help when theory is unclear. Whatever is chosen should be stated before the main analysis, and results should be reported for plausible alternative values of K.

Do I need a control series?

Adding a comparable series not exposed to the intervention is a common design adaptation for ITS. It allows concurrent secular trends or external shocks to be separated from the estimated effect. Lopez Bernal et al. (2017) discuss design adaptations that strengthen the basic ITS design. Without a comparison series, unmeasured co-interventions remain a threat to causal interpretation.

What software can I use?

Dynamic ITS requires regression with lagged terms and a method for serially correlated errors, which most general statistical environments support. Whatever tool you use, confirm in its documentation which standard error type and error model it applies and which residual diagnostics it reports. The StatWise route for this method is listed on this page.

Related methods

Sources

  1. 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
  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