A generalized Hosmer-Lemeshow goodness-of-fit test for a family of generalized linear models.

Test (Madr)

Department of Statistics and Actuarial Science, Simon Fraser University, Burnaby, BC Canada.

Published: December 2023

Unlabelled: Generalized linear models (GLMs) are very widely used, but formal goodness-of-fit (GOF) tests for the overall fit of the model seem to be in wide use only for certain classes of GLMs. We develop and apply a new goodness-of-fit test, similar to the well-known and commonly used Hosmer-Lemeshow (HL) test, that can be used with a wide variety of GLMs. The test statistic is a variant of the HL statistic, but we rigorously derive an asymptotically correct sampling distribution using methods of Stute and Zhu (Scand J Stat 29(3):535-545, 2002) and demonstrate its consistency. We compare the performance of our new test with other GOF tests for GLMs, including a naive direct application of the HL test to the Poisson problem. Our test provides competitive or comparable power in various simulation settings and we identify a situation where a naive version of the test fails to hold its size. Our generalized HL test is straightforward to implement and interpret and an R package is publicly available.

Supplementary Information: The online version contains supplementary material available at 10.1007/s11749-023-00912-8.

Download full-text PDF

Source
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC11164741PMC
http://dx.doi.org/10.1007/s11749-023-00912-8DOI Listing

Publication Analysis

Top Keywords

test
9
goodness-of-fit test
8
generalized linear
8
linear models
8
gof tests
8
generalized
4
generalized hosmer-lemeshow
4
hosmer-lemeshow goodness-of-fit
4
test family
4
family generalized
4

Similar Publications

Want AI Summaries of new PubMed Abstracts delivered to your In-box?

Enter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!