Saved in:
Bibliographic Details
Main Authors: Lal, Apoorva, Fischer, Alexander, Wardrop, Matthew
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.09952
Tags: Add Tag
No Tags, Be the first to tag this record!
Table of Contents:
  • 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.