This vignette provides an overview of the Controlled Interrupted Time Series (CITS) methodology, explaining its analytic principles, model structure, and workflow.
CITS extends the standard Interrupted Time Series (ITS) framework by introducing a comparison (control) group that did not receive the intervention, improving causal interpretation.
CITS evaluates how an intervention affects an outcome variable over time by comparing trends between a treatment group and a control group.
Unlike a single‐group ITS model, the CITS design helps adjust for external shocks or secular trends through the inclusion of a parallel control series.
A typical CITS dataset includes:
The canonical CITS specification is:
$$ y_{it} = \beta_0 + \beta_1 T_t + \beta_2 I_t + \beta_3 E_i + \beta_4 (T \times I)t + \beta_5 (E \times T){it} + \beta_6 (E \times I){it} + \beta_7 (E \times T \times I){it} + \varepsilon_{it} $$
Where:
The error term ( \varepsilon_{it} ) may exhibit temporal autocorrelation.
The citsr package addresses this by fitting the model using generalized least squares (GLS) with optional ARMA(p,q) correlation structures.
The cits() function:
Data preparation
Construct variables ( y, T, I, E ) and their interaction terms.
(The cits() function creates interactions automatically if not provided.)
Model fitting
Estimate the CITS model using GLS or ARMA‐GLS via the cits() function.
Intervention effect estimation
Coefficients ( \beta_2, \beta_4, \beta_6, \beta_7 ) describe level and trend changes attributable to the intervention.
Counterfactual prediction
Counterfactual trajectories for the treatment group are generated by setting
( I = 0 ) after the intervention time and recomputing relevant interaction terms.
This enables comparison of actual vs. no‐intervention outcomes.
Linden, A., & Adams, J. L. (2011). Applying a propensity score–based weighting model to interrupted time series data: Improving causal inference in program evaluation. Journal of Evaluation in Clinical Practice, 17(6), 1231–1238.
Lopez Bernal, J., Cummins, S., & Gasparrini, A. (2018). Use of controls in interrupted time series studies of public health interventions. International Journal of Epidemiology, 47(6), 2082–2093.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.