Introduction <p>The heuristic shrinkage factor of Van Houwelingen and Le Cessie (๐‘†<sub>๐‘‰๐ป</sub>) 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 ๐‘†<sub>๐‘‰๐ป</sub> compared to the optimal shrinkage factor (๐‘†<sub>๐‘œ๐‘๐‘ก</sub>). Here, we examine this issue and also assess the bias of an alternative bootstrap-derived shrinkage factor (๐‘†<sub>๐‘๐‘œ๐‘œ๐‘ก</sub>).</p> Methods <p>We undertook two simulation studies. The first examined the bias of ๐‘†<sub>๐‘‰๐ป</sub> and ๐‘†<sub>๐‘๐‘œ๐‘œ๐‘ก</sub> as estimators of ๐‘†<sub>๐‘œ๐‘๐‘ก</sub> across a range of different scenarios defined by ๐ถ<sub>๐‘๐‘œ๐‘</sub>, the C-statistic of the model developed in a population sized dataset. The second examined the bias of ๐‘†<sub>๐‘œ๐‘๐‘ก</sub> when using development sample sizes targeting a shrinkage of 0.9, based on a sample size calculation defined by ๐‘†<sub>๐‘‰๐ป</sub> itself (๐‘<sub>๐‘œ๐‘Ÿ๐‘–๐‘”๐‘–๐‘›๐‘Ž๐‘™</sub>) or by an adapted simulation-based approach (๐‘<sub>๐‘ ๐‘–๐‘š</sub>).</p> Results <p>For high C-statistics, ๐‘†<sub>๐‘‰๐ป</sub> overestimated ๐‘†<sub>๐‘œ๐‘๐‘ก</sub>, whereas for low C-statistics ๐‘†<sub>๐‘‰๐ป</sub> underestimates ๐‘†<sub>๐‘œ๐‘๐‘ก</sub>. For example, across scenarios when 0.8โ‰ค๐ถ<sub>๐‘๐‘œ๐‘</sub>&lt;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โ‰ค๐ถ<sub>๐‘๐‘œ๐‘</sub>&lt;0.65. The magnitude of bias increased as ๐ถ<sub>๐‘๐‘œ๐‘</sub> tended to either 0.5 or 1. As sample size increased and ๐‘†<sub>๐‘œ๐‘๐‘ก</sub>โ†’1, the magnitude of the bias in either direction reduced. ๐‘†<sub>๐‘๐‘œ๐‘œ๐‘ก</sub> was less biased than ๐‘†<sub>๐‘‰๐ป</sub>, with a median magnitude of bias across all scenarios of 0.007, compared to 0.032 for ๐‘†<sub>๐‘‰๐ป</sub>. Developing models on datasets of size ๐‘<sub>๐‘ ๐‘–๐‘š</sub> gave ๐‘š๐‘’๐‘Ž๐‘›(๐‘†<sub>๐‘œ๐‘๐‘ก</sub>) closer to 0.9 (mean magnitude of bias across all scenarios 0.004) than ๐‘<sub>๐‘œ๐‘Ÿ๐‘–๐‘”๐‘–๐‘›๐‘Ž๐‘™</sub> (mean magnitude of bias 0.041).</p> Conclusions <p>๐‘†<sub>๐‘‰๐ป</sub> 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 ๐‘†<sub>๐‘‰๐ป</sub>.</p>

้”™่ฏฏ๏ผšๆœ็ดขๅ†…ๅฎนไธ่ƒฝไธบ็ฉบ๏ผŒ่ฏท่พ“ๅ…ฅ่‹ฑๆ–‡ๅ…ณ้”ฎ่ฏ
้”™่ฏฏ๏ผšๅ…ณ้”ฎ่ฏ่ถ…ๅ‡บๅญ—ๆ•ฐ้™ๅˆถ๏ผŒ่ฏท็ฒพ็ฎ€

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,
  • Glen P. Martin,
  • Richard D. Riley

ๆ‘˜่ฆ

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 ๐‘†๐‘‰๐ป.