LR.test | R Documentation |
Provides the means of testing the parallel regression assumption in the ordinal regression models. Also available is the brant.test().
LR.test(model, call=FALSE)
model |
a single model object to be tested. |
call |
a logical vector to indicate if the model call should be printed. |
The parallel regression assumption for the ordinal regression model can be tested With this function. It currently supports objects of class serp() and vglm().
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 |
brant.test
, hosmerlem
, lipsitz
,
pulkroben
require(serp) sp <- serp(ordered(RET) ~ DIAB + GH + BP, link="logit", slope="parallel", reverse=TRUE, data = retinopathy) LR.test(sp, call = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.