English

Large Scale Longitudinal Experiments: Estimation and Inference

Econometrics 2024-10-15 v1

Abstract

Large-scale randomized experiments are seldom analyzed using panel regression methods because of computational challenges arising from the presence of millions of nuisance parameters. We leverage Mundlak's insight that unit intercepts can be eliminated by using carefully chosen averages of the regressors to rewrite several common estimators in a form that is amenable to weighted-least squares estimation with frequency weights. This renders regressions involving arbitrary strata intercepts tractable with very large datasets, optionally with the key compression step computed out-of-memory in SQL. We demonstrate that these methods yield more precise estimates than other commonly used estimators, and also find that the compression strategy greatly increases computational efficiency. We provide in-memory (pyfixest) and out-of-memory (duckreg) python libraries to implement these estimators.

Keywords

Cite

@article{arxiv.2410.09952,
  title  = {Large Scale Longitudinal Experiments: Estimation and Inference},
  author = {Apoorva Lal and Alexander Fischer and Matthew Wardrop},
  journal= {arXiv preprint arXiv:2410.09952},
  year   = {2024}
}

Comments

python libraries [1](https://github.com/py-econometrics/pyfixest) [2](https://github.com/py-econometrics/duckreg)

R2 v1 2026-06-28T19:19:41.036Z