Unifying regression-based and design-based causal inference in time-series experiments
Zhexiao Lin, Peng Ding
TL;DR
This paper develops a design-based framework for regression-based causal inference in time-series experiments, enabling consistent estimation of lagged treatment effects by regressing a centered, scaled treatment history on future outcomes. It proves consistency and a central limit theorem for a diverging number of lags, and shows that HAC variance estimators provide conservative inference for the design-based variances, even under misspecification. The framework extends naturally to continuous treatments and includes Fisher randomization tests for sharp and weak nulls. Empirical studies—both simulations and a real trading dataset—demonstrate accurate finite-sample performance and reveal heterogeneous lagged effects across contexts. The approach offers a robust, regression-based pathway to dynamic causal inference in single-unit and potentially panel settings, with extensions to interactions and general exposure mappings discussed as future directions.
Abstract
Time-series experiments, also called switchback experiments or N-of-1 trials, play increasingly important roles in modern applications in medical and industrial areas. Under the potential outcomes framework, recent research has studied time-series experiments from the design-based perspective, relying solely on the randomness in the design to drive the statistical inference. Focusing on simpler statistical methods, we examine the design-based properties of regression-based methods for estimating treatment effects in time-series experiments. We demonstrate that the treatment effects of interest can be consistently estimated using ordinary least squares with an appropriately specified working model and transformed regressors. Our analysis allows for estimating a diverging number of treatment effects simultaneously, and establishes the consistency and asymptotic normality of the regression-based estimators. Additionally, we show that asymptotically, the heteroskedasticity and autocorrelation consistent variance estimators provide conservative estimates of the true, design-based variances. Importantly, although our approach relies on regression, our design-based framework allows for misspecification of the regression model.
