Separation-like irregularity and sample size optimism in high-discrimination logistic prediction models.
Ye Liang, Louis Shuo Wang, Jiguang Yu, Xin Zan
Department of Industrial and Systems Engineering, University of Iowa, Iowa City, Iowa, United States of America. · Department of Mathematics, University of Tennessee, Knoxville, Tennessee, United States of America.
Key points
From the paper's conclusion- We defined nreq as the smallest n such that 𝔼(bn)≥0.90 and Pr(bn<0.80)≤0.20, where bn is the truth-based logit-scale calibration slope evaluated on a large fixed validation covariate set of size Nval=50,000.
Abstract
Closed-form minimum sample size criteria for developing logistic prediction models, such as the Riley framework implemented in pmsampsize, are widely used but may become optimistic when anticipated discrimination is high. We conducted a Monte Carlo simulation study to compare the formula-based recommended development sample size, nRiley, with an empirical required sample size, nreq, defined by out-of-sample calibration-slope stability under repeated development sampling. Scenarios fixed the candidate parameter dimension at p = 10 and crossed predictor distribution (normal, standardized skewed continuous, binary), signal density (dense versus sparse), prevalence (ϕ∈{0.05,0.10,0.20}), and target discrimination (AUCtarget∈{0.70,0.75,0.80,0.85,0.90}), with intercept and signal strength calibrated to match targets. We defined nreq as the smallest n such that 𝔼(bn)≥0.90 and Pr(bn<0.80)≤0.20, where bn is the truth-based logit-scale calibration slope evaluated on a large fixed validation covariate set of size Nval=50,000. At moderate discrimination, nRiley approximated nreq, but as discrimination increased the formula increasingly underestimated the sample size required for calibration stability, with large deficits at AUCtarget=0.90. Separation-like behavior (extreme fitted risks and linear predictors) at n=nRiley became common in high-discrimination settings despite nominal convergence, providing a plausible mechanism for formula optimism. These findings support augmenting formula-based planning with targeted simulation stress tests and instability diagnostics when high discrimination is anticipated.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Recent criteria and simple rules agreed often on required sample size for developed clinical prediction models.Journal of clinical epidemiology · 2026
- Influence of Continuous Predictor Modelling Methods on Prediction Stability in Clinical Prediction Model Development: An Empirical Comparison Using Real Clinical Data.Clinical epidemiology · 2026
- Agreement between heuristic shrinkage factor and optimal shrinkage factors in logistic regression for risk prediction: a simulation study across different sample sizes and settingsDiagnostic and Prognostic Research · 2026
- The influence of sample size, modelling algorithms, and hyperparameters on bootstrap-based prediction stability in clinical prediction model development: An empirical study using the HOPE datasetBMC Medical Research Methodology · 2026
- Single-fit inference for the realized prediction error of a logistic model with many predictorsarXiv · 2026
- Bayesian Sample Size Calculations for External Validation Studies of Risk Prediction ModelsStatistics in Medicine · 2026