arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.23507cs.LGstat.APstat.ME
收藏

临床预测模型开发中的样本量计算:概述与pmsims R包

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

King’s College London(伦敦国王学院);Maudsley NHS Trust(莫兹利NHS信托基金会)

Diana Shamsutdinova, Felix Zimmer, Oyebayo Ridwan Olaniran, Sarah Markham, Daniel Stahl, Gordon Forbes, Ewan Carr

AI总结:

本文提出了一种基于模拟的样本量计算方法,通过pmsims R包实现,提供灵活、高效且可解释的解决方案,用于临床预测模型开发。

摘要:

背景:临床预测模型日益用于指导医疗决策,但确定其开发所需的最小样本量仍然是一个关键且未解决的挑战。样本量不足可能导致过拟合、泛化能力差和偏倚预测。现有的方法,如启发式规则、闭式公式和基于模拟的方法,在灵活性和准确性上存在差异,特别是在复杂的数据结构和机器学习模型中。方法:我们回顾了当前预测建模中样本量估计的方法,并引入了一个概念框架,区分基于均值和基于保证的标准。在此基础上,我们提出了一种新的基于模拟的方法,整合了学习曲线、高斯过程优化和保证原则,以确定实现目标性能的高概率样本量。该方法在pmsims中实现,这是一个开源的、模型无关的R包。结果:通过案例研究,我们展示了样本量估计在不同方法、性能指标和建模策略之间变化显著。与现有工具相比,pmsims提供了灵活、高效且可解释的解决方案,能够适应多种模型和用户定义的指标,同时明确考虑模型性能的变异性。结论:我们的框架和软件通过结合灵活性与计算效率,推进了临床预测建模的样本量方法。未来的工作应将这些方法扩展到分层和多模态数据,纳入公平性和稳定性指标,并解决缺失数据和复杂依赖结构等挑战。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑