Testing goodness of fit is an important step in evaluating a statistical model. For binary logistic regression models, the Hosmer–Lemeshow goodness-of-fit test is often used. For multinomial logistic regression models, however, few tests are available. We present the mlogitgof command, which implements a goodness-of-fit test for multinomial logistic regression models. This test can also be used for binary logistic regression models, where it gives results identical to the Hosmer–Lemeshow test.
FagerlandM. W., HosmerD. W., and BofinA. M.2008. Multinomial goodness-of-fit tests for logistic regression models. Statistics in Medicine27: 4238–4253.
2.
HosmerD. W.Jr., and LemeshowS.1980. Goodness-of-fit tests for the multiple logistic regression model. Communications in Statistics—Theory and Methods9: 1043–1069.
3.
HosmerD. W.Jr., and LemeshowS.2000. Applied Logistic Regression. 2nd ed. New York: Wiley.