Stratified Sampling for Model-Assisted Estimation with Surrogate Outcomes
Reagan Mozer, Nicole E. Pashley, Luke Miratrix
TL;DR
This paper tackles the challenge of unbiasedly estimating treatment effects in trials where outcomes are costly to measure but surrogate predictions are available. It introduces stratified sampling within the model-assisted estimation framework, deriving exact variance expressions and a Neyman-type optimal allocation to distribute human coding effort across strata. Through extensive simulations and two empirical applications (MORE and PERSUADE), the authors show that stratification yields meaningful efficiency gains when surrogate errors exhibit structured bias or heteroskedasticity, with modest additional gains from optimal allocation. The work provides practical design-based guidelines and an open-source R package (stratsampling) to implement these methods across settings where outcomes are expensive, extending beyond text data to any costly outcome measurement scenario.
Abstract
In many randomized trials, outcomes such as essays or open-ended responses must be manually scored as a preliminary step to impact analysis, a process that is costly and limiting. Model-assisted estimation offers a way to combine surrogate outcomes generated by machine learning or large language models with a human-coded subset, yet typical implementations use simple random sampling and therefore overlook systematic variation in surrogate prediction error. We extend this framework by incorporating stratified sampling to more efficiently allocate human coding effort. We derive the exact variance of the stratified model-assisted estimator, characterize conditions under which stratification improves precision, and identify a Neyman-type optimal allocation rule that oversamples strata with larger residual variance. We evaluate our methods through a comprehensive simulation study to assess finite-sample performance. Overall, we find stratification consistently improves efficiency when surrogate prediction errors exhibit structured bias or heteroskedasticity. We also present two empirical applications, one using data from an education RCT and one using a large observational corpus, to illustrate how these methods can be implemented in practice using ChatGPT-generated surrogate outcomes. Overall, this framework provides a practical design-based approach for leveraging surrogate outcomes and strategically allocating human coding effort to obtain unbiased estimates with greater efficiency. While motivated by text-as-data applications, the methodology applies broadly to any setting where outcome measurement is costly or prohibitive, and can be applied to comparisons across groups or estimating the mean of a single group.
