The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
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. doi:10.1111/j.1365-2753.2010.01504.x
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. doi:10.1093/ije/dyy135
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.