Explorerβ€ΊData Scienceβ€ΊStatistics
Research PaperResearchia:202610.14027

Designing for Prediction: Planning Formulas for Expected Out-of-Sample $R^2$ and $r$

Elizabeth Tipton

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,...

Submitted: October 14, 2026Subjects: Statistics; Data Science

Description / Details

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 R2R^2 and the expected correlation between observed and predicted outcomes to four design-stage quantities: sample size, number of predictors, an assumed population R2R^2 (ρin2ρ^2_{in}) and a design efficiency factor Dβˆ—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.


Source: arXiv:2610.18781v1 - http://arxiv.org/abs/2610.18781v1 PDF: https://arxiv.org/pdf/2610.18781v1 Original Link: http://arxiv.org/abs/2610.18781v1

Please sign in to join the discussion.

No comments yet. Be the first to share your thoughts!

Access Paper
View Source PDF
Submission Info
Date:
Oct 14, 2026
Topic:
Data Science
Area:
Statistics
Comments:
0
Bookmark
Designing for Prediction: Planning Formulas for Expected Out-of-Sample $R^2$ and $r$ | Researchia