English

Anytime-Valid Linear Models and Regression Adjusted Causal Inference in Randomized Experiments

Methodology 2025-07-08 v5 Statistics Theory Statistics Theory

Abstract

Linear models are foundational tools in statistics and ubiquitous across the applied sciences. However, conventional statistical inference -- such as tt-tests and FF-tests -- are only valid at fixed sample sizes, making them unsuitable for sequential settings such as online A/B testing. We develop an anytime-valid theory of inference for the linear model, introducing sequential analogues of classical tests and confidence sets that provide Type-I error control and coverage guarantees uniformly over all sample sizes. Our construction is based on likelihood ratios of invariantly sufficient statistics, yielding simple closed-form expressions of ordinary least squares estimators and standard errors. The resulting tests are optimal in the GROW/REGROW sense for both frequentist and Bayesian alternative hypotheses. We then relax the linear model assumptions to provide heteroskedasticity-robust asymptotic sequential tests and confidence sequences, which enable sequential regression-adjusted inference for causal estimands in randomized controlled experiments. This formally allows experiments to be continuously monitored for significance, stopped early, and safeguards against statistical malpractices in data collection. We demonstrate the practical utility of our approach through simulations and applications to real A/B test data from Netflix.

Keywords

Cite

@article{arxiv.2210.08589,
  title  = {Anytime-Valid Linear Models and Regression Adjusted Causal Inference in Randomized Experiments},
  author = {Michael Lindon and Dae Woong Ham and Martin Tingley and Iavor Bojinov},
  journal= {arXiv preprint arXiv:2210.08589},
  year   = {2025}
}
R2 v1 2026-06-28T03:45:18.556Z