大规模纵向实验:估计与推断
Large Scale Longitudinal Experiments: Estimation and Inference
AI总结:
针对大规模随机实验中因冗余参数导致面板回归计算困难的问题,利用Mundlak见解将常见估计量改写为加权最小二乘形式,结合SQL内存外压缩策略提升计算效率,并提供Python实现库。
摘要:
大规模随机实验很少使用面板回归方法进行分析,因为数以百万计的冗余参数带来了计算挑战。我们利用Mundlak的见解,即可以通过使用精心选择的回归变量平均值来消除个体截距,从而将几种常见的估计量改写为适合带频率权重的加权最小二乘估计的形式。这使得涉及任意层级截距的回归在处理超大型数据集时变得可行,且关键压缩步骤可选择在SQL中进行内存外计算。我们证明这些方法比其他常用估计量产生更精确的估计,并发现压缩策略大幅提升了计算效率。我们提供了内存内和内存外python库来实现这些估计量。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。