mnlfit: Fit Statistics and Specification Test for Multinomial Logistic Regression
Description
Provides fit statistics (pseudo R-squared values) and the Fagerland, Hosmer and Bonfi (2008) specification test for Multinomial Logistic Regression models.
Usage
mnlfit(obj, permute = FALSE)
Arguments
obj
An object of class multinom
permute
Logical indicating whether to check all base categories for the Fagerland et. al. specification test.
Value
A list with elements:
resultFit statistics.
permresThe results of the base category permutation exercise.
References
Fagerland M. W., D. W. Hosmer and A. M. Bonfi. 2008. Multinomial goodness-of-fit tests for logistic regression models. Statistics in Medicine. 27(21): 4238-4253.