Interrupted time series analysis with quantile regression: A practical guide to evaluating intervention effects across the outcome distribution
Abstract
Interrupted time series analysis commonly uses linear regression to evaluate intervention-associated changes in the mean, but interventions may also affect other regions of the outcome distribution. This tutorial introduces quantile regression for evaluating changes in the median and other conditional quantiles while accounting for serial dependence. Three approaches are considered: heteroskedasticity- and autocorrelation-consistent (HAC) inference, conditional Cochrane-Orcutt (CO)-type estimation, and Prais-Winsten (PW)-type estimation with autoregressive errors. Two examples using artificial data illustrate the evaluation of a prediabetes management intervention, including model specification, dependence assessment, estimation, graphical presentation, and interpretation. The first compares mean and median estimates under heavy-tailed variation; the second illustrates how examining several quantiles reveals declining variability that a central summary alone would not describe. Supporting simulations compare the approaches across series lengths, dependence structures, innovation distributions, and quantiles. PW- and CO-type estimation generally provided better confidence-interval coverage and fewer false-positive findings than HAC inference under positive autocorrelation, although none performed reliably across all strongly persistent conditions. HAC inference detected intervention effects more frequently, but much of this apparent advantage diminished after accounting for its higher false-positive rate. This tutorial provides practical guidance and illustrates the analyses using the community-contributed Stata programs qreghac and qregark.
Create a lesson
Metadata
- Categories
- stat.ME, stat.AP
Related papers
Principal Treatment Effects With Time-Varying Nonadherence: Instrumented Hidden Markov Models for Survival Outcomes
Shared title terminologystat.MERui Wang, Kwun Chuen Gary Chan, Fei Gao
Sequential Regressions for Continuous-Time Causal Inference with Treatment-Assigned-At-Visit Interventions
Shared title terminologystat.MEJohan Sebastian Ohlendorff, Anders Munch, Helene Charlotte Wiese Rytgaard et al.
Communication-efficient distributed quantile regression via signed voting
Shared title terminologystat.MEJinyuan Chang, Yifan Jiang, Lin Yang et al.
Efficient and Robust Variable Selection in Large-Scale Data via L^k-Quantile Regression with Distributed Computation and Inference
Shared title terminologystat.MEAbdellah Atanane, Abdallah Mkhadri, Karim Oualkacha
Detecting Multiple Structural Shifts in Gaussian Mixture Time Series with Copula-Based Markov Models
Shared title terminologystat.MELi-Hsien Sun, Cathy W. S. Chen, Travis C. Y. Hu
Quantile Regression by Composition
Shared title terminologystat.MERong Jiang, Jiangfeng Wang, Keming Yu