Skip to content
Preprint

Shrinkage invalidates the Hosmer-Lemeshow test: goodness of fit for penalized logistic regression, with an application to glaucoma diagnosis

Sep 2026 · 0 citations · 34 references
Mathematics

TL;DR

The corrected law is derived and the shrinkage-corrected Hosmer-Lemeshow test is defined, which subtracts an estimate of that non-centrality induced by shrinkage, restoring the maximum likelihood reference exactly to first order, and is made valid by prepivoting at a power cost the authors measure.

Abstract

Clinical prediction models are increasingly fitted by penalized logistic regression, because collinearity or many candidate predictors makes maximum likelihood unstable or impossible. Calibration is then almost always assessed by a grouped goodness-of-fit test such as the Hosmer-Lemeshow test. We show that this combination is invalid. Under ridge regression the grouped standardized residuals acquire a non-centrality induced by shrinkage, so the reference distribution used in practice is wrong, and at the penalty that most improves the fitted probabilities the test rejects correctly specified models between 92 and 100 per cent of the time. We derive the corrected law and define the shrinkage-corrected Hosmer-Lemeshow test, which subtracts an estimate of that non-centrality, restoring the maximum likelihood reference exactly to first order, and is made valid by prepivoting at a power cost we measure. We also give the attenuation law governing what any such test can detect once the linear predictor must be estimated. In glaucoma diagnosis by confocal laser tomography, where the maximum likelihood estimate does not exist, the corrected test finds the evidence for misfit weaker by more than three orders of magnitude: the fitted risks are too flat rather than mis-ordered, so the model needs recalibration rather than rebuilding.

View source

Similar papers

Preprint Aug 2026

Goodness-of-Fit Tests and Calibration Machine-Learning Algorithms for Logistic Regression with Sparse Data

This thesis studies classical GOF tests for binary logistic regression under both grouped and sparse data, comparing about 30 statistical tests and machine-learning calibration algorithms and concludes that model assessment requires a combination of several powerful statistical tests alongside careful visual inspection...

Ebrahim Khaled Ebrahim · 1 citation
Open access Sep 2026

Statistical Diagnostics and Reliability Evaluation of Linear Regression Models

Linear regression is often used to explain, infer statistically and predict, but a good fit within the training data does not guarantee the reliability of the model. The main diagnostic and validation tools for assessing linear regression models are introduced in this paper, including residual analysis, multicollineari...

Ni Haoran · 0 citations
Open access 2026

A Data-Driven Shrinkage for Efficient Estimation in the Generalized Poisson Regression Model: Simulation and Application

Count data in practice rarely conform to the equidispersion assumption that the standard Poisson regression model imposes. When counts are overdispersed or underdispersed, the generalized Poisson regression model (GPRM) steps in as a more accommodating alternative, extending the classical framework to handle such varia...

F. Almulhim, A. Hammad, E. Hussam et al. · 0 citations
Open access 2026

Variable Selection under Multicollinearity and Heavy-Tailed Errors: A Systematic Assessment of Classical and Penalized Methods

Variable selection in high-dimensional regression becomes particularly challenging when multicollinearity and heavy-tailed errors occur simultaneously. This study systematically evaluates the performance boundaries of classical, shrinkage, sparse, and robust regression methods under these conditions. A Monte Carlo simu...

B. Ofuru, Ijomah M. A., Nwakuya M. T. · 0 citations
Preprint Oct 2026

On relations between the Cochran--Mantel--Haenszel test and Augmented Inverse Probability Weighting

This note revisits the Cochran-Mantel-Haenszel (CMH) test in light of the increasing use of causal inference methods in clinical trials. It shows that the CMH test statistic can be interpreted as a standardized version of the augmented inverse probability weighted (AIPW) estimate of the causal average treatment effect....

E. Glimm · 0 citations
Preprint Sep 2026

Max-Test-Calibrated Stein Shrinkage with Honest Submodel Selection in Ultra-High-Dimensional Regression

Classical preliminary-test and Stein-type estimators interpolate between restricted and full regression fits, but OLS and chi-squared calibration fail when $p\gg n$ and the restriction is data-adaptive. We propose an honest sample-separated framework built around a common selected-null law. Independent selection data e...

B. Yüzbaşı · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.