A new test and graphical tool to assess the goodness of fit of logistic regression models
- PMID: 26439593
- DOI: 10.1002/sim.6744
A new test and graphical tool to assess the goodness of fit of logistic regression models
Abstract
A prognostic model is well calibrated when it accurately predicts event rates. This is first determined by testing for goodness of fit with the development dataset. All existing tests and graphic tools designed for the purpose suffer several drawbacks, related mainly to the subgrouping of observations or to heavy dependence on arbitrary parameters. We propose a statistical test and a graphical method to assess the goodness of fit of logistic regression models, obtained through an extension of similar techniques developed for external validation. We analytically computed and numerically verified the distribution of the underlying statistic. Simulations on a set of realistic scenarios show that this test and the well-known Hosmer-Lemeshow approach have similar type I error rates. The main advantage of this new approach is that the relationship between model predictions and outcome rates across the range of probabilities can be represented in the calibration belt plot, together with its statistical confidence. By readily spotting any deviations from the perfect fit, this new graphical tool is designed to identify, during the process of model development, poorly modeled variables that call for further investigation. This is illustrated through an example based on real data.
Keywords: calibration test; dichotomous outcome models; goodness of fit; graphical methods; logistic regression models.
Copyright © 2015 John Wiley & Sons, Ltd.
Similar articles
-
A new calibration test and a reappraisal of the calibration belt for the assessment of prediction models based on dichotomous outcomes.Stat Med. 2014 Jun 30;33(14):2390-407. doi: 10.1002/sim.6100. Epub 2014 Feb 4. Stat Med. 2014. PMID: 24497413
-
Assessing the goodness of fit of logistic regression models in large samples: A modification of the Hosmer-Lemeshow test.Biometrics. 2020 Jun;76(2):549-560. doi: 10.1111/biom.13249. Epub 2020 Apr 6. Biometrics. 2020. PMID: 32134502
-
Limited-information goodness-of-fit testing of diagnostic classification item response models.Br J Math Stat Psychol. 2016 Nov;69(3):225-252. doi: 10.1111/bmsp.12074. Br J Math Stat Psychol. 2016. PMID: 27404336
-
A discussion of calibration techniques for evaluating binary and categorical predictive models.Prev Vet Med. 2018 Jan 1;149:107-114. doi: 10.1016/j.prevetmed.2017.11.018. Epub 2017 Nov 24. Prev Vet Med. 2018. PMID: 29290291 Review.
-
A comparison of goodness-of-fit tests for the logistic regression model.Stat Med. 1997 May 15;16(9):965-80. doi: 10.1002/(sici)1097-0258(19970515)16:9<965::aid-sim509>3.0.co;2-o. Stat Med. 1997. PMID: 9160492 Review.
Cited by
-
A prediction model to identify people with spinal cord injury who are at high risk of dying within 5 years of discharge from hospital in Bangladesh.Spinal Cord. 2019 Mar;57(3):198-205. doi: 10.1038/s41393-018-0211-y. Epub 2018 Oct 31. Spinal Cord. 2019. PMID: 30382165
-
Development and Validation of a Nomogram Based on Geriatric Nutritional Risk Index to Predict Surgical Site Infection Among Gynecologic Oncology Patients.Front Nutr. 2022 Apr 27;9:864761. doi: 10.3389/fnut.2022.864761. eCollection 2022. Front Nutr. 2022. PMID: 35571957 Free PMC article.
-
Establishment and validation of a predictive model for respiratory failure within 48 h following admission in patients with sepsis: a retrospective cohort study.Front Physiol. 2023 Nov 9;14:1288226. doi: 10.3389/fphys.2023.1288226. eCollection 2023. Front Physiol. 2023. PMID: 38028763 Free PMC article.
-
A novel nomogram to predict the risk of requiring mechanical ventilation in patients with sepsis within 48 hours of admission: a retrospective analysis.PeerJ. 2024 Nov 1;12:e18500. doi: 10.7717/peerj.18500. eCollection 2024. PeerJ. 2024. PMID: 39498290 Free PMC article.
-
Parental practices that influence children's development: how often are they implemented and by whom-results from the NASCITA birth cohort study.Eur J Pediatr. 2024 Jul;183(7):3029-3038. doi: 10.1007/s00431-024-05564-w. Epub 2024 Apr 22. Eur J Pediatr. 2024. PMID: 38644455
MeSH terms
LinkOut - more resources
Miscellaneous