# Sample Size Calculations for Developing Clinical Prediction Models: Overview and pmsims R package

arXiv: https://arxiv.org/abs/2602.23507 · HTML: https://mlsanity.com/paper/2602.23507/

## Key facts

- Cited by 1 papers in the map (data through 14 Oct 2026).
- Builds on 7 of its 46 references that are in the map.
- First posted on arXiv 26 Feb 2026.

## Builds on (most cited first, 7 of 7)

- [Scaling Laws for Neural Language Models](https://mlsanity.com/paper/2001.08361/) (2020)
- [The Shape of Learning Curves: a Review](https://mlsanity.com/paper/2103.10948/) (2021)
- [Multi-Label Clinical Time-Series Generation via Conditional GAN](https://mlsanity.com/paper/2204.04797/) (2022)
- [Minimum Sample Size for Developing a Multivariable Prediction Model using Multinomial Logistic Regression](https://mlsanity.com/paper/2207.12892/) (2022)
- [Sample size determination via learning-type curves](https://mlsanity.com/paper/2303.09575/) (2023)
- [A general sample size framework for developing or updating a clinical prediction model](https://mlsanity.com/paper/2504.18730/) (2025)
- [Formalising Sample Size Calculations for the Development of Risk Prediction Models: The Importance of Accounting for Performance Variability](https://mlsanity.com/paper/2509.14028/) (2025)

## Built on by (most cited first, 1 of 1)

- [Adaptive Gaussian Process Search for Simulation-Based Sample Size Estimation in Clinical Prediction Models: Validation of the pmsims R Package](https://mlsanity.com/paper/2603.23688/) (2026)

## Abstract (arXiv)

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 performance with high probability. This approach is implemented in pmsims, an open-source, model-agnostic R package. Results: Through case studies, we demonstrate that sample size estimates vary substantially across methods, performance metrics, and modelling strategies. Compared to existing tools, pmsims provides flexible, efficient, and interpretable solutions that accommodate diverse models and user-defined metrics while explicitly accounting for variability in model performance. Conclusions: Our framework and software advance sample size methodology for clinical prediction modelling by combining flexibility with computational efficiency. Future work should extend these methods to hierarchical and multimodal data, incorporate fairness and stability metrics, and address challenges such as missing data and complex dependency structures.
