Bayesian sample size calculations for external validation studies of risk prediction models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Sadatsafavi, Mohsen, Gustafson, Paul, Setayeshgar, Solmaz, Wynants, Laure, Riley, Richard D
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912899683844096
author Sadatsafavi, Mohsen
Gustafson, Paul
Setayeshgar, Solmaz
Wynants, Laure
Riley, Richard D
author_facet Sadatsafavi, Mohsen
Gustafson, Paul
Setayeshgar, Solmaz
Wynants, Laure
Riley, Richard D
contents Contemporary sample size calculations for external validation of risk prediction models require users to specify fixed values of assumed model performance metrics alongside target precision levels (e.g., 95% CI widths). However, due to the finite samples of previous studies, our knowledge of true model performance in the target population is uncertain, and so choosing fixed values represents an incomplete picture. As well, for net benefit (NB) as a measure of clinical utility, the relevance of conventional precision-based inference is doubtful. In this work, we propose a general Bayesian framework for multi-criteria sample size considerations for prediction models for binary outcomes. For statistical metrics of performance (e.g., discrimination and calibration), we propose sample size rules that target desired expected precision or desired assurance probability that the precision criteria will be satisfied. For NB, we propose rules based on Optimality Assurance (the probability that the planned study correctly identifies the optimal strategy) and Value of Information (VoI) analysis. We showcase these developments in a case study on the validation of a risk prediction model for deterioration of hospitalized COVID-19 patients. Compared to the conventional sample size calculation methods, a Bayesian approach requires explicit quantification of uncertainty around model performance, and thereby enables flexible sample size rules based on expected precision, assurance probabilities, and VoI. In our case study, calculations based on VoI for NB suggest considerably lower sample sizes are needed than when focusing on precision of calibration metrics.
format Preprint
id arxiv_https___arxiv_org_abs_2504_15923
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Bayesian sample size calculations for external validation studies of risk prediction models
Sadatsafavi, Mohsen
Gustafson, Paul
Setayeshgar, Solmaz
Wynants, Laure
Riley, Richard D
Applications
Computation
Methodology
Contemporary sample size calculations for external validation of risk prediction models require users to specify fixed values of assumed model performance metrics alongside target precision levels (e.g., 95% CI widths). However, due to the finite samples of previous studies, our knowledge of true model performance in the target population is uncertain, and so choosing fixed values represents an incomplete picture. As well, for net benefit (NB) as a measure of clinical utility, the relevance of conventional precision-based inference is doubtful. In this work, we propose a general Bayesian framework for multi-criteria sample size considerations for prediction models for binary outcomes. For statistical metrics of performance (e.g., discrimination and calibration), we propose sample size rules that target desired expected precision or desired assurance probability that the precision criteria will be satisfied. For NB, we propose rules based on Optimality Assurance (the probability that the planned study correctly identifies the optimal strategy) and Value of Information (VoI) analysis. We showcase these developments in a case study on the validation of a risk prediction model for deterioration of hospitalized COVID-19 patients. Compared to the conventional sample size calculation methods, a Bayesian approach requires explicit quantification of uncertainty around model performance, and thereby enables flexible sample size rules based on expected precision, assurance probabilities, and VoI. In our case study, calculations based on VoI for NB suggest considerably lower sample sizes are needed than when focusing on precision of calibration metrics.
title Bayesian sample size calculations for external validation studies of risk prediction models
topic Applications
Computation
Methodology
url https://arxiv.org/abs/2504.15923