powered by
Comparison of continuous ordinal models using likelihood ratio tests.
# S3 method for ocm anova(object, ...)
an object of class ocm
ocm
one or more additional ocm objects
The method returns an object of class anova.ocm and data.frame, reporting for each model, in hierarchical order:
anova.ocm
data.frame
number of parameters
Akaike information criterion
log-likelihood
likelihood ratio statistic
difference in the degrees of freedom in the models being compared
p-value from the likelihood ratio test
Likelihood ratio testing of nested models is performed.
# NOT RUN { fit.overall <- ocm(overall ~ cycleno + bsa + treatment, data=ANZ0001.sub, scale=c(0,100)) anova(fit.overall, update(fit.overall, .~. + age)) # }
Run the code above in your browser using DataLab