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

1
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:

result

Fit statistics.

permres

The results of the base category permutation exercise.

Author(s)

Dave Armstrong (UW-Milwaukee, Department of Political Science)

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.

Examples

1
2
3
4
library(nnet)
data(france)
mnl.mod <- multinom(vote ~ age + male + retnat + lrself, data=france)
mnlfit(mnl.mod)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.