IBM Support

Hosmer-Lemeshow test results depend upon which category of the dependent variable is treated as the target category

Troubleshooting


Problem

I'm running logistic regression models with binary response data in SPSS, and am requesting the Hosmer-Lemeshow goodness-of-fit test. I've discovered that in some situations, the results of the HL test depend upon which category of the dependent variable is chosen as the target category. That is, if I reverse a 0-1 or recode the 0 values to 2, so that the logits are formed differently, transforming my predicted probabilities from p to 1-p, the HL chi-square and significance can be different. Is this a bug in SPSS?

[{"Product":{"code":"SSLVMB","label":"IBM SPSS Statistics"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Not Applicable","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

76352

Document Information

Modified date:
16 April 2020

UID

swg21480943