Power Analysis for Experiments with Clustered Data, Ratio Metrics, and Regression for Covariate Adjustment
Abstract
We describe how to calculate standard errors for A/B tests that include clustered data, ratio metrics, and/or covariate adjustment. We may do this for power analysis/sample size calculations prior to running an experiment using historical data, or after an experiment for hypothesis testing and confidence intervals. The different applications have a common framework, using the sample variance of certain residuals. The framework is compatible with modular software, can be plugged into standard tools, doesn't require computing covariance matrices, and is numerically stable. Using this approach we estimate that covariate adjustment gives a median 66% variance reduction for a key metric, reducing experiment run time by 66%.
- Publication:
-
arXiv e-prints
- Pub Date:
- June 2024
- DOI:
- 10.48550/arXiv.2406.06834
- arXiv:
- arXiv:2406.06834
- Bibcode:
- 2024arXiv240606834H
- Keywords:
-
- Statistics - Methodology;
- Mathematics - Statistics Theory;
- Primary 62K99;
- Secondary 62P30;
- G.3
- E-Print:
- 17 pages, 6 figures