Description Usage Arguments Details Value Note See Also Examples
Compute a model comparison (likelihood ratio test) table for a series of fitted models.
1 2 |
object |
a fitted |
... |
More complex fitted models. These may differ in fixed or random effects, but note that the likelihood ratio test is generally conservative for testing among models with differing random terms, because of boundary effects. |
Basic table for testing the fixed effects, using likelihood ratio tests (may be extended later).
An object of class "anova"
, inheriting from class
"data.frame"
.
The models must be nested and arranged in order of increasing complexity.
1 2 3 4 5 6 7 8 9 10 11 | data(epil2)
epil2$subject <- factor(epil2$subject)
## Not run:
## currently (June 2013) having trouble with Windows checks on r-forge, CRAN
f1 <- glmmadmb(y~Base*trt+Age+Visit+(Visit|subject),
data=epil2, family="nbinom")
f2 <- glmmadmb(y~Base*trt+Age+(Visit|subject),
data=epil2, family="nbinom")
anova(f2,f1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.