ordfit | R Documentation |
For objects of class polr
or clm
, it calculates a number of fit statistics
and specification tests.
ordfit(obj, data)
obj |
A model object of class |
data |
A data frame used to fit 'obj'. |
An object of class ordfit
which is a matrix containing
statistics and specification tests.
Dave Armstrong
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.
library(MASS)
data(france)
polr.mod <- polr(vote ~ age + male + retnat + lrself, data=france)
ordfit(polr.mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.