Diagnostic and Prognostic ResearchOpen accessShrinkage

Agreement between heuristic shrinkage factor and optimal shrinkage factors in logistic regression for risk prediction: a simulation study across different sample sizes and settings

Alexander Pate, G. Martin, Richard D. Riley

Manchester Academic Health Science Centre ยท NIHR Birmingham Biomedical Research Centre

Computational

Key points

From the paper's conclusion
  • Here, we examine this issue and also assess the bias of an alternative bootstrap-derived shrinkage factor (๐‘† ๐‘๐‘œ๐‘œ๐‘ก ).

Abstract

Abstract Introduction The heuristic shrinkage factor of Van Houwelingen and Le Cessie (๐‘† ๐‘‰๐ป ) is a commonly used closed-form solution to adjust for overfitting in unpenalised logistic regression models for risk prediction. It is also the basis of widely-adopted minimum sample size criteria for developing clinical prediction models. However, current evidence is lacking regarding the bias of ๐‘† ๐‘‰๐ป compared to the optimal shrinkage factor (๐‘† ๐‘œ๐‘๐‘ก ). Here, we examine this issue and also assess the bias of an alternative bootstrap-derived shrinkage factor (๐‘† ๐‘๐‘œ๐‘œ๐‘ก ). Methods We undertook two simulation studies. The first examined the bias of ๐‘† ๐‘‰๐ป and ๐‘† ๐‘๐‘œ๐‘œ๐‘ก as estimators of ๐‘† ๐‘œ๐‘๐‘ก across a range of different scenarios defined by ๐ถ ๐‘๐‘œ๐‘ , the C-statistic of the model developed in a population sized dataset. The second examined the bias of ๐‘† ๐‘œ๐‘๐‘ก when using development sample sizes targeting a shrinkage of 0.9, based on a sample size calculation defined by ๐‘† ๐‘‰๐ป itself (๐‘ ๐‘œ๐‘Ÿ๐‘–๐‘”๐‘–๐‘›๐‘Ž๐‘™ ) or by an adapted simulation-based approach (๐‘ ๐‘ ๐‘–๐‘š ). Results For high C-statistics, ๐‘† ๐‘‰๐ป overestimated ๐‘† ๐‘œ๐‘๐‘ก , whereas for low C-statistics ๐‘† ๐‘‰๐ป underestimates ๐‘† ๐‘œ๐‘๐‘ก . For example, across scenarios when 0.8โ‰ค๐ถ ๐‘๐‘œ๐‘ <0.85, the 95-percentile range in the bias was (0.005,0.387), compared to (โˆ’0.580,โˆ’0.007) across scenarios when 0.6โ‰ค๐ถ ๐‘๐‘œ๐‘ <0.65. The magnitude of bias increased as ๐ถ ๐‘๐‘œ๐‘ tended to either 0.5 or 1. As sample size increased and ๐‘† ๐‘œ๐‘๐‘ก โ†’1, the magnitude of the bias in either direction reduced. ๐‘† ๐‘๐‘œ๐‘œ๐‘ก was less biased than ๐‘† ๐‘‰๐ป , with a median magnitude of bias across all scenarios of 0.007, compared to 0.032 for ๐‘† ๐‘‰๐ป . Developing models on datasets of size ๐‘ ๐‘ ๐‘–๐‘š gave ๐‘š๐‘’๐‘Ž๐‘›(๐‘† ๐‘œ๐‘๐‘ก ) closer to 0.9 (mean magnitude of bias across all scenarios 0.004) than ๐‘ ๐‘œ๐‘Ÿ๐‘–๐‘”๐‘–๐‘›๐‘Ž๐‘™ (mean magnitude of bias 0.041). Conclusions ๐‘† ๐‘‰๐ป is often a poor estimator of the optimal global shrinkage factor. If global shrinkage is needed, we recommend using the bootstrap shrinkage estimate. The bootstrap estimate shows minimal bias in most scenarios, though in small samples the variability is large so provides no guarantees to address overfitting in a single dataset. A sample size calculation based on simulation is often preferable over formula dependent on targeting ๐‘† ๐‘‰๐ป .

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers