arXiv · 2610.18781
Designing for Prediction: Planning Formulas for Expected Out-of-Sample $R^2$ and $r$
Abstract
Design calculations let researchers gauge, before data is collected, whether a planned study is likely to detect an effect. In this paper, we develop such calculations for predictive models using ordinary least squares and ridge regression under leave-one-out cross-validation. To do so, we derive closed-form expressions relating the expected out-of-sample $R^2$ and the expected correlation between observed and predicted outcomes to four design-stage quantities: sample size, number of predictors, an assumed population $R^2$ ($ρ^2_{in}$) and a design efficiency factor $D^*$ (which summarizes how leverage is distributed across observations). Unlike the classical shrinkage formulas, which depend only on sample size and dimension, these are sensitive to how covariates are arranged -- to imbalance and skew. A simulation study assesses the accuracy of the formulas against realized values under a variety of data generating mechanisms. We apply the methods to a published study predicting personality from smartphone behavior and show that the design formulas would have indicated, before any analyses were run, that least squares could not be expected to beat the sample mean while ridge could. An R package, predpower, implements the calculations.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Elizabeth Tipton. 2026-10-13. Designing for Prediction: Planning Formulas for Expected Out-of-Sample $R^2$ and $r$. https://arxiv.org/abs/2610.18781
Cite the original work for its findings. Save a collection to share your selection of sources.