Sample Size Calculations for Developing Clinical Prediction Models: Overview and pmsims R package
Diana Shamsutdinova, Felix Zimmer, Oyebayo Ridwan Olaniran, Sarah Markham, Daniel Stahl, Gordon Forbes, Ewan Carr

TL;DR
This paper reviews current methods for determining sample sizes in clinical prediction models, introduces a novel simulation-based approach, and provides an open-source R package, pmsims, to facilitate flexible and accurate sample size estimation.
Contribution
It presents a new simulation-based framework for sample size calculation in prediction modeling and implements it in an accessible R package, improving flexibility and accuracy.
Findings
Sample size estimates vary widely across methods and models.
pmsims offers flexible, efficient, and interpretable sample size calculations.
The approach accounts for variability in model performance and is applicable to diverse models.
Abstract
Background: Clinical prediction models are increasingly used to inform healthcare decisions, but determining the minimum sample size for their development remains a critical and unresolved challenge. Inadequate sample sizes can lead to overfitting, poor generalisability, and biased predictions. Existing approaches, such as heuristic rules, closed-form formulas, and simulation-based methods, vary in flexibility and accuracy, particularly for complex data structures and machine learning models. Methods: We review current methodologies for sample size estimation in prediction modelling and introduce a conceptual framework that distinguishes between mean-based and assurance-based criteria. Building on this, we propose a novel simulation-based approach that integrates learning curves, Gaussian Process optimisation, and assurance principles to identify sample sizes that achieve target…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMachine Learning in Healthcare · Artificial Intelligence in Healthcare and Education · Sepsis Diagnosis and Treatment
