LR.test {gofcat}R Documentation

Likelihood Ratio Test of the Proportional Odds Assumption

Description

Provides the means of testing the parallel regression assumption in the ordinal regression models. Also available is the brant.test().

Usage

LR.test(model, call=FALSE)

Arguments

model

a single model object to be tested.

call

a logical vector to indicate if the model call should be printed.

Details

The parallel regression assumption for the ordinal regression model can be tested With this function. It currently supports objects of class serp() and vglm().

Value

model

the call of the model tested

df

the degrees of freedom

rdf

residual degrees of freedom

rdev

residual deviance

LRT

likelihood ratio test statistic

prob

the p-values of test

call

a logical vector

See Also

brant.test, hosmerlem, lipsitz, pulkroben

Examples


require(serp)

sp <- serp(ordered(RET) ~ DIAB + GH + BP, link="logit",
           slope="parallel", reverse=TRUE, data = retinopathy)
LR.test(sp, call = TRUE)


[Package gofcat version 0.1.2 Index]