Learn R Programming

DAMisc (version 1.7.2)

ordfit: Fit Statistics for Proportional Odds Logistic Regression Models

Description

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

Usage

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

Run this code
# NOT RUN {
library(MASS)
data(france)
polr.mod <- polr(vote ~ age + male + retnat + lrself, data=france)
ordfit(polr.mod)

# }

Run the code above in your browser using DataLab