Interrupted time series & regression discontinuity (quasi-experimental designs)
Interrupted time series (ITS) evaluates an intervention introduced at a known time by comparing outcome levels and trends before and after, using the pre-intervention trend as the counterfactual; its main threats are co-occurring events, seasonality and autocorrelation. Regression discontinuity (RD) estimates a causal effect when treatment is assigned by a cutoff on a continuous score, comparing people just above and just below the threshold; it is valid locally if the score cannot be manipulated and nothing else changes at the cutoff.
Overview
- Quasi-experimental designs estimate causal effects without randomization, using a natural 'as-if random' feature of how an intervention was introduced. They sit between observational studies and RCTs in the evidence hierarchy.
- Used when randomization is impossible, unethical or impractical: national policies (smoking bans, taxes, vaccine mandates), hospital quality-improvement programs, guideline changes, and treatment thresholds (HbA1c, birth weight, age cutoffs).
- Two classic designs: interrupted time series (exploits timing) and regression discontinuity (exploits a threshold). Related designs: difference-in-differences (exploits a comparison group over time) and instrumental variables.
- Strengths: real-world settings (good external validity), routinely collected data, easy graphical presentation, stronger causal inference than simple before–after comparisons.
Interrupted time series: design & model
- Design: an outcome measured repeatedly at regular intervals (e.g., monthly admissions) before and after an intervention introduced at a clearly defined point. The pre-intervention trend, projected forward, is the counterfactual.
- Segmented regression model: Y(t) = β0 + β1·T + β2·X + β3·T·X
- β0 = baseline level; β1 = pre-intervention trend (slope).
- β2 = level change (immediate step) after the intervention.
- β3 = slope change (change in trend) after the intervention.
- Impact model must be chosen in advance (level change, slope change, both, lagged, or temporary), based on how the intervention is expected to act — not by fitting whichever looks best (data-driven selection inflates false positives).
- Data points: no fixed minimum; power depends on the number of points before and after, variability, effect size and seasonality. Short series or small effects may be underpowered; simulation-based power calculation is recommended.
- Worked example: Italy's national indoor smoking ban (January 2005) and monthly admissions for acute coronary events — level-change model RR ≈ 0.89 (about an 11% reduction), similar after adjusting for seasonality and overdispersion.
Interrupted time series: threats & fixes
| Threat | What happens | Fix |
|---|---|---|
| History / co-interventions (time-varying confounders) | Another event at the same time causes the change | Controlled ITS with a comparison series (control population or control outcome); model measured confounders |
| Seasonality | Uneven months before/after bias the estimate | Calendar-month terms, Fourier terms or splines |
| Autocorrelation | Consecutive points are correlated → standard errors too small | Check residuals/PACF; Prais–Winsten, ARIMA models |
| Overdispersion (count data) | Variance > mean in Poisson models | Scale standard errors (quasi-Poisson) or negative binomial |
| Instrumentation | Change in coding or data recording at the intervention time | Check data definitions; sensitivity analyses |
| Regression to the mean / selection | Intervention started after an unusual spike | Long baseline series shows the underlying trend |
| Gradual or delayed rollout | Effect diluted or mis-timed | Lagged impact models; exclude a transition period |
- Other adaptations: multiple baselines (intervention introduced at different times in different places) and reversal designs (intervention withdrawn).
Regression discontinuity: design
- Setting: treatment is assigned by whether a continuous 'running' (assignment) variable crosses a cutoff, e.g., statins if 10-year risk ≥ threshold, NICU care for birth weight <1500 g, a program for people aged ≥65, antiretroviral therapy started below a CD4 count.
- Logic: people just above and just below the cutoff are essentially similar in all other respects (as if randomized near the threshold). A jump (discontinuity) in the outcome at the cutoff estimates the treatment effect.
- Sharp RD: everyone above the cutoff is treated, nobody below. Fuzzy RD: the cutoff changes the probability of treatment (incomplete adherence); analyzed like an instrumental variable (the cutoff is the instrument).
- Analysis: local linear (or polynomial) regression on each side within a chosen bandwidth; graph outcome vs running variable; sensitivity analyses across bandwidths.
- Estimate = a local treatment effect at the cutoff (for people near the threshold), not an average effect for everyone.
Regression discontinuity: assumptions & limits
- Key assumptions:
- No precise manipulation of the running variable around the cutoff (e.g., clinicians or patients cannot shift scores to qualify). Check with a density test: a pile-up just above or below the cutoff suggests manipulation.
- Continuity: nothing else changes at the same cutoff (other programs triggered by the same age or score). Check covariate balance on each side.
- Correct functional form: high-order polynomials can create spurious jumps; prefer local linear fits.
- Limitations: low precision (uses only data near the cutoff, needs large samples), limited generalizability away from the threshold, measurement error in the running variable.
- Strength: when assumptions hold, internal validity approaches that of an RCT for people near the cutoff — often called the most credible quasi-experimental design.
Choosing a quasi-experimental design
| Design | Uses | Counterfactual | Main threat |
|---|---|---|---|
| Interrupted time series | Intervention at a known time, many repeated measurements | Projected pre-intervention trend | Co-occurring events, seasonality, autocorrelation |
| Regression discontinuity | Assignment by a cutoff on a continuous score | People just on the other side of the cutoff | Manipulation of the score, other changes at the cutoff |
| Difference-in-differences | Treated and untreated groups, before and after | Change in the control group | Non-parallel trends |
| Instrumental variable | A factor that affects treatment but not outcome directly | Variation induced by the instrument | Invalid instrument (direct effect) |
| Simple before–after | Two time points | Pre-period value | Secular trends, regression to the mean (weakest) |
🩺 Next best step: classic exam scenarios
- A state introduces a sugar tax in January; researchers have 5 years of monthly dental-caries admissions before and 3 years after. → Interrupted time series (segmented regression for level and slope change).
- Investigators compare outcomes of infants born at 1,490 g vs 1,510 g where a 1,500-g threshold triggers extra NICU care. → Regression discontinuity.
- ITS shows a fall in MRSA infections after a hand-hygiene campaign, but a new screening program began the same month. → History/co-intervention bias; add a control series (e.g., another hospital or a non-targeted infection).
- Many patients have HbA1c values recorded at exactly 6.5% just above the treatment cutoff. → Manipulation of the running variable; RD validity is threatened (density test).
- A before-after comparison of 1 month pre vs 1 month post shows a drop in falls; falls had been declining for 2 years. → Secular trend; ITS with the full series would show the trend was already present.
- An ITS gives a significant effect with suspiciously narrow confidence intervals in monthly data. → Check for autocorrelation.
🔥 Exam pearls
- 🔥 ITS: β2 = level change, β3 = slope change; pre-trend = counterfactual.
- 🔥 Biggest ITS threat: co-occurring events (history) → add a control series.
- 🔥 Monthly data → watch seasonality and autocorrelation.
- 🔥 RD = treatment by cutoff; compare just above vs just below.
- 🔥 RD effect is local (near the cutoff only).
- 🔥 Bunching at the cutoff = manipulation → invalid RD.
- 🔥 Fuzzy RD ≈ instrumental variable analysis.
