SOTAVerified

Large Scale Longitudinal Experiments: Estimation and Inference

2024-10-13Code Available2· sign in to hype

Apoorva Lal, Alexander Fischer, Matthew Wardrop

Code Available — Be the first to reproduce this paper.

Reproduce

Code

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.

Tasks

Reproductions