Skip to content
Preprint

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

Aug 2026 · 1 citation
Mathematics

TL;DR

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 of model calibration.

Abstract

Assessing the goodness-of-fit of a logistic regression model is a critical prerequisite before the model is used for inference. However, goodness-of-fit (GOF) tests such as the chi-square and deviance tests often give invalid results when the data are"sparse"-- a common issue with continuous predictors like age or weight, where the asymptotic distributional assumptions are not satisfied. 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. These span the classical chi-square and Hosmer-Lemeshow variants, standardized Pearson statistics, covariate-space partitioning, smoothing-based methods, and contemporary calibration machine-learning and bootstrap procedures. At a fixed size, the GiViTI calibration test (2016), McCullagh (1989), Osius-Rojek (1992), le Cessie (1995) and Stute-Zhu (2002) proved empirically powerful, balancing correct identification of bad models (high empirical power) against not raising false alarms on good models (correct empirical Type I error). Relying on formal methods alone is insufficient: visual diagnostics such as calibration plots are a vital exploratory step for detecting model deficiencies that formal tests often overlook. An application to real data (the Low Birth Weight dataset) shows that many of these tests fail to give valid conclusions when exposed to the complexities of actual datasets. The main conclusion is that model assessment requires a combination of several powerful statistical tests alongside careful visual inspection of model calibration.

View source

Similar papers

Preprint Sep 2026

SPARK: A General Goodness-of-Fit Assessment via Residual Projection

Goodness-of-fit testing is a basic tool for assessing whether a fitted procedure has captured the systematic information contained in the covariates. While traditional theory has largely focused on parametric regression models, modern data analysis increasingly relies on flexible black-box learners, whose predictive su...

Xing-Wei Liu, Yu-Hong Yang, Wang-Li Xu · 0 citations
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
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
Preprint Sep 2026

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

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.

Ebrahim Khaled Ebrahim · 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

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