No retraction, correction or concern found when last checked on Oct 15, 2026.
Interrupted time series regression for the evaluation of public health interventions: a tutorial
James Lopez Bernal, Steven Cummins, Antonio Gasparrini
International Journal of Epidemiology · 2016
Abstract
Interrupted time series (ITS) analysis is a valuable study design for evaluating the effectiveness of population-level health interventions that have been implemented at a clearly defined point in time. It is increasingly being used to evaluate the effectiveness of interventions ranging from clinical therapy to national public health legislation. Whereas the design shares many properties of regression-based approaches in other epidemiological studies, there are a range of unique features of time series data that require additional methodological considerations. In this tutorial we use a worked example to demonstrate a robust approach to ITS analysis using segmented regression. We begin by describing the design and considering when ITS is an appropriate design choice. We then discuss the essential, yet often omitted, step of proposing the impact model a priori. Subsequently, we demonstrate the approach to statistical analysis including the main segmented regression model. Finally we describe the main methodological issues associated with ITS analysis: over-dispersion of time series data, autocorrelation, adjusting for seasonal trends and controlling for time-varying confounders, and we also outline some of the more complex design adaptations that can be used to strengthen the basic ITS design.
Full text
From PubMed Central, U.S. National Library of Medicine, as current on Oct 16, 2026. Paragraph numbers are ours, so an answer can point at one.
Introduction
Traditional epidemiological study designs such as cohort and case-control studies can provide important evidence about disease aetiology, but they are less useful as intervention studies, due to limitations such as confounding owing to group differences and, in particular, healthy user bias. Randomized controlled trials (RCTs) have long been considered the gold standard design for evaluating the effectiveness of an intervention, yet RCTs are not always possible, in particular for health policies and programmes targeted at the population level. Furthermore, there is often a need to retrospectively evaluate interventions which have already been implemented, often for political reasons, either without randomization or to a whole population and so without any control. The interrupted time series (ITS) study design is increasingly being used for the evaluation of public health interventions; it is particularly suited to interventions introduced at a population level over a clearly defined time period and that target population-level health outcomes., ITS has been used for the evaluation of a wide range of public health interventions including new vaccines, cycle helmet legislation, changes to paracetamol packaging, traffic speed zones and precautions against nosocomial infections, as well as in the evaluation of health impacts of unplanned events such as the global financial crisis. Other articles have outlined the design and highlighted the strengths and limitations of ITS.,,, Further methodological papers have described some of the more specific in-depth modelling techniques that may be employed by those familiar with the analysis of time series data., Nevertheless, there is a lack of introductory guidance for those implementing an ITS evaluation for the first time. Here, we aim to demonstrate a step-by-step ITS analysis including: considering when an ITS might be an appropriate design choice and the data required; hypothesizing the type of impact the intervention will have on the outcome; how to use a regression model to analyse the effect; the main methodological issues that need to be taken into account; and finally, a brief outline of model checking techniques. A worked example is used to illustrate the methods (Box 1) and the supplementary material (available as Supplementary data at IJE online) includes the dataset used as well as code for use with the statistical packages Stata and R, so that readers may reproduce the analysis.
The interrupted time series design
A time series is a continuous sequence of observations on a population, taken repeatedly (normally at equal intervals) over time. In an ITS study, a time series of a particular outcome of interest is used to establish an underlying trend, which is ‘interrupted’ by an intervention at a known point in time. The hypothetical scenario under which the intervention had not taken place and the trend continues unchanged (that is: the ‘expected’ trend, in the absence of the intervention, given the pre-existing trend) is referred to as the ‘counterfactual’. This counterfactual scenario provides a comparison for the evaluation of the impact of the intervention by examining any change occurring in the post-intervention period.,Figure 1 illustrates the design using the smoking ban example (Box 1): the graph displays the pre-intervention trend of monthly rates of ACE admissions (continuous line), and the counterfactual scenario (dashed line). Given that most of the points lie below the counterfactual line, there is a visual suggestion of a decrease in the ACE admissions in the post-intervention period which is compatible with a possible positive impact of the smoking ban. ITS models, described below, can provide statistical evidence about whether this represents a real decrease.
Step 1: is an interrupted time series design appropriate?
The first decision when considering an ITS is whether it is an appropriate design for the particular evaluation in question. This depends on the nature of both the intervention and the outcome of interest, as well as the type of data available:
The intervention
ITS requires a clear differentiation of the pre-intervention period and the post-intervention period. In some evaluations it may be difficult to define when the intervention began and to differentiate the effects of different components. This does not necessarily require the intervention to be introduced overnight but the period of implementation should be well defined so that it can be considered separately.
The implementation of the example intervention was very clear with a ban on smoking in public places throughout Italy from 10 January 2005. Where interventions have a gradual roll-out, the implementation phase can be modelled as a gradual (slope) change (see Step 2).
The outcome
Outcomes may take various forms such as counts, continuous data or binary variables. ITS works best with short-term outcomes that are expected to change either relatively quickly after an intervention is implemented or after a clearly defined lag.
ACEs, the outcome in the worked example, are a short-term outcome with rapid onset, and the authors of the study quote evidence suggesting that the acute effects of both active and passive smoking disappear quickly after the exposure is removed. Other diseases associated with smoking, such as lung cancer, may have been less appropriate as the timing between intervention and outcome is much less clear and can be highly variable. In this situation it may be preferable to use an intermediate outcome such as smoking prevalence.
Data requirements
Sequential measures of the outcome should be available both before and after the intervention. There are no fixed limits regarding the number of data points, as the power depends on various other factors including distribution of data points before and after the intervention, variability within the data, strength of effect, and the presence of confounding effects such as seasonality. Zhang et al. conducted simulations with power calculations under different model parameters, and suggest that studies with few time points or with small expected effect sizes should be interpreted with caution as they may be underpowered, and that similar simulations should be conducted a priori under such circumstances. Power increases with the number of time points, but it is not always preferable to have more data points where historical trends have changed substantially, as this would not provide an accurate depiction of the current underlying trends. It is therefore recommended that pre-intervention data are inspected visually. Power is also increased if the numbers of data points are equally distributed before and after the intervention, though this is often not practical. Given the requirement for a relatively long time series, routine data are often most appropriate in ITS studies. As with all study designs, it is important to assess the quality of the data in terms of its validity and reliability. With routine data it is especially important to understand the potential impact of changes to data collection or recording, particularly when these coincide with the implementation of the intervention, as this could bias results.
The example dataset has 59 months of routine hospital admissions data with 600-1100 ACEs at each time point. The large number of time points and minimal variability within the data provides enough power to detect relatively small changes in the hospital admission rate. In practice, as is the case in the worked example, the ITS design is often used in the evaluation of ‘natural experiments’ occurring in real-world settings and is becoming ever more possible with the increasing availability and quality of routine data spanning before and after interventions.
Step 2: proposing the impact model
Once an ITS design is chosen, the next step is to hypothesize how the intervention would impact on the outcome if it were effective, in particular whether the change will be a gradual change in the gradient of the trend, a change in the level or both, and whether the change will follow the intervention immediately or there will be a lag period before any effect is expected. Examples of some possible impact models are illustrated in Figure 2. It is important that this decision is made a priori based on existing literature and knowledge of the intervention and the mechanism by which it is expected to act on the outcome. Where existing knowledge of the intervention is limited, selecting the most appropriate impact model can be difficult and may require exploratory analysis of alternative data. Relying on the outcome data to select the best impact model is discouraged as this increases the likelihood of an effect being detected due to random fluctuations or chance, and consequent artefactual conclusions on the effect of the intervention.
Barone-Adesi et al. assumed a level change in ACEs occurring with no lag. This assumption was based on existing evidence suggesting that the acute cardiovascular risks from passive smoking disappear within a short time.
Step 3: descriptive analysis
As with all statistical analyses, initial summary statistics and plots should be undertaken to familiarize researchers with the data. This should include a scatter plot of the time series, as displayed in Figure 1, which can help to identify the underlying trend, seasonal patterns and outliers. More traditional descriptive analyses, such as summaries and bivariate comparisons between the outcome and potential time-varying confounders, as well as simple before-and-after comparisons, are recommended.
Step 4: regression analysis
A minimum of three variables are required for an ITS analysis:: the time elapsed since the start of the study in with the unit representing the frequency with which observations are taken (e.g. month or year);: a dummy variable indicating the pre-intervention period (coded 0) or the post-intervention period (coded 1); the outcome at time.
: the time elapsed since the start of the study in with the unit representing the frequency with which observations are taken (e.g. month or year);
: a dummy variable indicating the pre-intervention period (coded 0) or the post-intervention period (coded 1);
the outcome at time.
In standard ITS analyses, the following segmented regression model is used: where represents the baseline level at = 0, is interpreted as the change in outcome associated with a time unit increase (representing the underlying pre-intervention trend), is the level change following the intervention and indicates the slope change following the intervention (using the interaction between time and intervention: ). The regression model above represents the impact model (c) in Figure 2; models (a) and (b) can easily be specified by excluding the terms or, respectively. Impact models (d)-(f) require slightly more complex variable specifications (Supplementary Appendix 5, available as Supplementary data at IJE online).
In our example, and are shown in Table 1. As is frequently the case in population health evaluations, here the outcome is a count and, without loss of generality, a Poisson regression model was used. Other regression models can equally be used, such as ordinary least squares (linear) regression for continuous outcomes, for example the duration of cycling trips in an ITS study looking at the impact of public transport strikes on usage of a bicycle share programme in London. Most of the steps described in this tutorial remain the same for the analysis of other types of outcomes, unless specifically stated. Furthermore, the age-standardized population (in person-years) was included as an offset variable to convert the outcome into a rate and adjust for any potential changes in the population over time (though this is not essential if the population is relatively stable over time, as in this case). Given that a level change model was hypothesized, the interaction term for the slope change is not required in the model. This model, shown using Stata code and R code in Supplementary Appendices 2 and 3 (available as Supplementary data at IJE online), suggests that there is very strong evidence of a reduction in ACEs following the smoking ban, with a decrease of 11% [relative risk (RR) 0.894; 95% confidence interval (CI) 0.864-0.925; P < 0.001) as illustrated in Figure 3.
Step 5: addressing methodological issues
Whereas the basic model implemented so far provides an indication of the potential association between the intervention and the outcome, there are a number of distinctive issues with time series data that may need to be addressed in order to improve the robustness of the analysis.
Seasonality
Many diseases and other outcomes have a seasonal pattern and this is evident in the ACE data in Figure 1. Seasonality can cause two problems: first, if there is an uneven distribution of months before and after the intervention, such as a higher proportion of winter months, this could bias the results, especially in the analysis of short series. Second, outcomes in one month tend to be more similar to those in neighbouring months within the same time of year, leading to autocorrelation and over-dispersion (discussed below). There are a range of methods for controlling for seasonality and other long-term trends; these include: a model stratified by the calendar month (or other time period); or using more complex functions such as Fourier terms (pairs of sine and cosine functions); or splines. Each of these methods is explained in more detail by Bhaskaran et al. 2013.Figure 4 shows the example analysis after adjustment for seasonality through a Fourier term, with results suggesting that the association is largely unaffected: (RR: 0.885; 95% CI 0.839-0.933; P < 0.001).
Time-varying confounders
One of the strengths of ITS studies is that they are generally unaffected by typical confounding variables which remain fairly constant, such as population age distribution or socioeconomic status, as these only change relatively slowly over time and are normally taken into account when modelling the underlying long-term trend. Nevertheless, ITS can be affected by time-varying confounders that change more rapidly. Seasonality can be considered a time-varying confounder; others may include levels of a particular infectious disease that is prone to outbreaks, weather events etc. Where such time-varying confounders have been measured, they can be controlled for by including variables representing them in the regression model, as is commonly undertaken in other epidemiological analyses. A special category of time-varying confounders are other events that occur around the same time as the intervention and that potentially influence the outcome. These might include other simultaneous interventions targeting the same outcome, or risk factors for that outcome, or natural events that could affect the outcome.
Potential time-varying confounders in the smoking ban study might include changes in diagnostic procedures for detecting ACEs, for example a new troponin test had been progressively implemented in Italy since 2000, or interventions targeting other risk factors for cardiovascular disease such as a healthy eating intervention.
Use of controls and other more complex ITS designs
Where time-varying confounders are either unmeasured or unknown, a range of design adaptations can be used to control for possible concurrent events including: adding a control group or control outcome which would not have been affected by the intervention (known as a controlled interrupted time series); using a multiple baseline design whereby the intervention is introduced in different locations at different times; or adding additional phases so that the intervention is first introduced and then withdrawn to establish whether withdrawal of the intervention leads to a reversal of the effect. These methods are described in more detail elsewhere.,,,
Over-dispersion
An assumption of the Poisson distribution is that the variance is equal to the expected count. However, in analyses of real data, the variance frequently tends to be greater (a phenomenon known as over-dispersion) which would lead to incorrect estimation of the standard errors. A scaling adjustment is therefore made to correct to the model to correct this, detailed by Bhaskaran et al. and illustrated in Supplementary Appendices 2 and 3 (available as Supplementary data at IJE online). This issue does not apply for the analysis of continuous outcomes when a Gaussian distribution, including a residual error to be estimated, is assumed. In the example this widens the 95% confidence interval marginally to 0.839-0.953, yet there is still very strong evidence of an effect (P = 0.001).
Autocorrelation
A second assumption of standard regression models is that observations are independent. This assumption is often violated in time series data because consecutive observations tend to be more similar to one another than those that are further apart, a phenomenon known as autocorrelation. Fortunately, in many epidemiological data, autocorrelation is largely explained by other variables, in particular seasonality (discussed above); therefore, after controlling for these factors, residual autocorrelation is rarely a problem. Nevertheless, autocorrelation should always be assessed by examining the plot of residuals and the partial autocorrelation function and, where data are normally distributed, conducting tests such as the Breusch-Godfrey test., Where residual autocorrelation remains, this should be adjusted for using methods such as Prais regression or autoregressive integrated moving average (ARIMA), described in more detail elsewhere., There is very little evidence of autocorrelation in the worked example and even less after adjustment for seasonality (Supplementary Appendices 2 and 3, available as Supplementary data at IJE online).
Further extensions
Further extensions, as described by Bhaskaran et al. (2013) for environmental time series, and in more detail elsewhere, can also be applied to ITS studies, including: stratified analyses according to potential effect-modifying variables; increasing power by allowing different locations to have trends modelled individually rather than relying on the aggregated trend; and modelling non-linear trends.,,
Step 6: model-checking and sensitivity analyses
A range of model-checking techniques have been described above including plotting residuals and partial autocorrelation functions. Furthermore, sensitivity analyses can be conducted to test the impact of varying a range of model assumptions, such as different lags, types of impact model or approaches to adjusting for seasonality.,
Summary
In this article we have introduced the key steps for readers undertaking an ITS study, including highlighting the main methodological considerations and how they may be addressed. ITS analyses are one of the strongest evaluative designs when randomization is not possible; furthermore, they often allow a more detailed assessment of the longitudinal impact of an intervention than may be possible with an RCT and, given that they are frequently undertaken in real-world settings, may have stronger external validity. Another important feature in ensuring that research gets translated into practice is that graphical and numerical presentation of results can be easily understood by those with little expert knowledge of statistical and epidemiological methods. Nevertheless, there are some important threats to the validity of ITS analyses, perhaps the most important of which include the potential for the erroneous conclusion of intervention effectiveness due to data-driven model specification, and lack of control for time-varying confounders. It is therefore essential that any interpretations regarding the causal effect of any association are undertaken with caution and that some of the key steps to analysis highlighted in this article, such as a priori model specification and methodological extensions to control for confounders, are followed. With carefully planned analyses and handling of potential threats to validity, ITS can provide valuable evidence about the effectiveness of health interventions.
Supplementary Data
Supplementary data are available at IJE online.
References 27
- 1.
Soumerai SB. How do you know which health care effectiveness research you can trust? A guide to study design for the perplexed. Prev Chronic Dis2015;12:E101.
Not in our library10.5888/pcd12.150187
- 2.
Bonell CP, Hargreaves J, Cousens S Alternatives to randomisation in the evaluation of public health interventions: Design challenges and solutions. J Epidemiol Community Health2009;65:582-87.
Not in our library10.1136/jech.2008.082602
- 3.
Victora CG, Habicht J-P, Bryce J. Evidence-based public health: moving beyond randomized trials. Am J Public Health2004;94:400–05.
Not in our library10.2105/ajph.94.3.400
- 4.
Campbell M, Fitzpatrick R, Haines A, Kinmonth AL, Sandercock P, Spiegelhalter D, Framework for design and evaluation of complex interventions to improve health. BMJ2000;321:694.
Not in our library10.1136/bmj.321.7262.694
- 5.
Wagner AK, Soumerai SB, Zhang F, Ross-Degnan D. Segmented regression analysis of interrupted time series studies in medication use research. J Clin Pharm Ther2002;27:299-309.
Not in our library10.1046/j.1365-2710.2002.00430.x
- 6.
Lau WCY, Murray M, El-Turki A Impact of pneumococcal conjugate vaccines on childhood otitis media in the United Kingdom. Vaccine2015;33(39):5072–9.
Not in our library10.1016/j.vaccine.2015.08.022
- 7.
Dennis J, Ramsay T, Turgeon AF, Zarychanski R. Helmet legislation and admissions to hospital for cycling related head injuries in Canadian provinces and territories: interrupted time series analysis. BMJ2013;346;f2674.
Not in our library10.1136/bmj.f2674
- 8.
Hawton K, Bergen H, Simkin S Long term effect of reduced pack sizes of paracetamol on poisoning deaths and liver transplant activity in England and Wales: interrupted time series analyses. BMJ2013;346;f403.
Not in our library10.1136/bmj.f403
- 9.
Grundy C, Steinbach R, Edwards P, Green J, Armstrong B, Wilkinson P. Effect of 20 mph traffic speed zones on road injuries in London, 1986-2006: controlled interrupted time series analysis. BMJ2009;339;b4469.
Not in our library10.1136/bmj.b4469
- 10.
Derde LP, Cooper BS, Goossens H Interventions to reduce colonisation and transmission of antimicrobial-resistant bacteria in intensive care units: an interrupted time series study and cluster randomised trial. Lancet Infect Dis2014;14:31-39.
Not in our library10.1016/s1473-3099(13)70295-0
- 11.
Lopez Bernal J, Gasparrini A, Artundo C, McKee M. The effect of the late 2000s financial crisis on suicides in Spain: an interrupted time series analysis. EJPH. 2013:23(5):732–6.
Not in our library10.1093/eurpub/ckt083
- 12.
Shadish WR, Cook TD, Campbell DT. Experimental and quasi-experimental designs for generalized causal inference, Boston, Houghton Mifflin, 2002.
Not in our library
- 13.
Biglan A, Ary D, Wagenaar AC. The value of interrupted time series experiments for community intervention research. Prev Sci2000;1:31-49.
Not in our library10.1023/a:1010024016308
- 14.
- 15.
Linden A, Adams JL. Applying a propensity score-based weighting model to interrupted time series data: improving causal inference in programme evaluation. J Eval Clin Pract2011;17:1231-38.
Not in our library10.1111/j.1365-2753.2010.01504.x
- 16.
Barone-Adesi F, Gasparrini A, Vizzini L, Merletti F, Richiardi L. Effects of Italian smoking regulation on rates of hospital admission for acute coronary events: a country-wide study. PLoS One2011;6:e17419.
Not in our library10.1371/journal.pone.0017419
- 17.
Campbell DT, Stanley JC. Experimental and Quasi-experimental Designs for Research. Boston, MA: Houghton Mifflin, 1963.
Not in our library
- 18.
Callinan JE, Clarke A, Doherty K, Kelleher C. Legislative smoking bans for reducing secondhand smoke exposure, smoking prevalence and tobacco consumption. Cochrane Database Syst Rev2010;4.
Not in our library10.1002/14651858.cd005992.pub2
- 19.
Zhang F,, Wagner AK,, Ross-Degnan D. Simulation-based power calculation for designing interrupted time series analyses of health policy interventions. J Clin Epidemiol2011;64:1252-61.
Not in our library10.1016/j.jclinepi.2011.02.007
- 20.
Robinson S, Harris H. Smoking and Drinking Among Adults, 2009: A Report on the 2009 General Lifestyle Survey. London: Office for National Statistics, 2009.
Not in our library
- 21.
Fuller D, Sahlqvist S, Cummins S, Ogilvie D. The impact of public transportation strikes on use of a bicycle share program in London: interrupted time series design. Prev Med2012;54:74-76.
Not in our library10.1016/j.ypmed.2011.09.021
- 22.
Bhaskaran K, Gasparrini A, Hajat S, Smeeth L, Armstrong B. Time series regression studies in environmental epidemiology. Int J Epidemio2013;42:1187-95.
Not in our library10.1093/ije/dyt092
- 23.
Gasparrini A, Gorini G, Barchielli A. On the relationship between smoking bans and incidence of acute myocardial infarction. Eur J Epidemiol2009;24:597-602.
Not in our library10.1007/s10654-009-9377-0
- 24.
Hawkins NG, Sanson-Fisher RW, Shakeshaft A, D’Este C, Green LW. The multiple baseline design for evaluating population-based research. Am J Prev Med2007;33:162-68.
Not in our library10.1016/j.amepre.2007.03.020
- 25.
Godfrey L. Misspecification tests and their uses in econometrics. J Stat Plann Infer1996;49:241-60.
Not in our library
- 26.
Prais SJ, Winsten CB. Trend estimators and serial correlation. Cowles Commission discussion paper Stat No. 383, Chicago, 1954.
Not in our library
- 27.
Nelson BK. Time series analysis using autoregressive integrated moving average (ARIMA) models. Acad Emerg Med1998;5:739-44.
Not in our library10.1111/j.1553-2712.1998.tb02493.x
Cited by papers we hold 23
- Global trends in antibiotic consumption during 2016–2023 and future projections through 2030 · 2024No notice
- Long-term spill-over impact of COVID-19 on health and healthcare of people with non-communicable diseases: a study protocol for a population-based cohort and health economic study · 2022Not checked
- Analysis of the Effects of Electronic Medical Records and a Payment Scheme on the Length of Hospital Stay · 2022Not checked
- COVID-19 and resilience of healthcare systems in ten countries · 2022No notice
- Trajectory of long covid symptoms after covid-19 vaccination: community based cohort study · 2022No notice
- Effects of the Mental Health and Welfare Law revision on schizophrenia patients in Korea: an interrupted time series analysis · 2021Not checked
- Effects of the FDA Codeine Safety Investigation on Racial and Geographic Disparities in Opioid Prescribing after Pediatric Tonsillectomy and/or Adenoidectomy · 2021Not checked
- Interrupted time series analysis using autoregressive integrated moving average (ARIMA) models: a guide for evaluating large-scale health interventions · 2021No notice
- The impact of the COVID-19 lockdown on HIV care in 65 South African primary care clinics: an interrupted time series analysis · 2021No notice
- Effectiveness of Wolbachia-infected mosquito deployments in reducing the incidence of dengue and other Aedes-borne diseases in Niterói, Brazil: A quasi-experimental study · 2021No notice
- Sustained reduction of healthcare-associated infections after the introduction of a bundle for prevention of ventilator-associated pneumonia in medical-surgical intensive care units · 2020Not checked
- Reducing unnecessary caesarean sections: scoping review of financial and regulatory interventions · 2020Not checked
- Disruption of a primary health care domestic violence and abuse service in two London boroughs: interrupted time series evaluation · 2020Not checked
- Reduced dengue incidence following deployments of Wolbachia-infected Aedes aegypti in Yogyakarta, Indonesia: a quasi-experimental trial using controlled interrupted time series analysis · 2020No notice
- An evaluation of Chile’s Law of Food Labeling and Advertising on sugar-sweetened beverage purchases from 2015 to 2017: A before-and-after study · 2020No notice
- Incidence, Microbiology, and Outcomes in Patients Hospitalized With Infective Endocarditis · 2020Corrected
- Impact of the announcement and implementation of the UK Soft Drinks Industry Levy on sugar content, price, product size and number of available soft drinks in the UK, 2015-19: A controlled interrupted time series analysis · 2020No notice
- WHO guidance for digital health: What it means for researchers · 2020No notice
- Association of Preterm Births Among US Latina Women With the 2016 Presidential Election · 2019No notice
- Data availability, reusability, and analytic reproducibility: evaluating the impact of a mandatory open data policy at the journal Cognition · 2018No notice
and 3 more
Reads
Read by people on this page
None yet.
Checked or read by AI through naulon
None yet.
A person counts once a day per paper. We keep no cookie and no address: a reader is a hash that changes every day. Any month under five reads shows no number.
Are you an author?
Is this your paper?
Claim it to add your note and be paid when agents cite it. Free.