anova.tramME | R Documentation |
Calculates information criteria and LR ratio test for nested tramME models. The calculation of the degrees of freedom is problematic, because the parameter space is restricted.
## S3 method for class 'tramME'
anova(object, object2, ...)
object |
A |
object2 |
A |
... |
Optional arguments, for compatibility with the generic. (Ignored) |
Currently only supports the comparison of two models. Additional arguments will be ignored.
The nestedness of the models is not checked.
A data.frame
with the calculated statistics.
data("sleepstudy", package = "lme4")
mod1 <- LmME(Reaction ~ Days + (Days | Subject), data = sleepstudy)
mod2 <- LmME(Reaction ~ Days + (Days || Subject), data = sleepstudy)
anova(mod1, mod2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.