For objects of class polr, it calculates a number of fit statistics and specification tests.

ordfit(obj)

Arguments

obj

A model object of class polr.

Value

An object of class ordfit which is a matrix containing statistics and specification tests.

References

Lipsitz, S. R., Fitzmaurice, G. M. and Mohlenberghs, G. 1996. Goodness-of-fit Tests for Ordinal Response Regression Models. Applied Statistics, 45: 175-190.
Pulkstenis, E. and Robinson, T. J. 2004. Goodness-of-fit Test for Ordinal Response Regression Models. Statistics in Medicine, 23: 999-1014.
Fagerland, M. W. and Hosmer, D. W. 2013. A Goodness-of-fit Test for the Proportional Odds Regression Model. Statistics in Medicine 32(13): 2235-2249.

Examples

library(MASS) data(france) polr.mod <- polr(vote ~ age + male + retnat + lrself, data=france) ordfit(polr.mod)
#> Estimate #> Count R2 0.518 #> Count R2 (Adj) 0.197 #> ML R2 0.456 #> McFadden R2 0.206 #> McFadden R2 (Adj) 0.195 #> McKelvey & Zavoina R2 0.475