Hello:
Let me rephrase my question to attract interest in the problem I'm having. When I appply anova() to two equations
estimated using glmmPQL, I get a complaint,
anova(fm1, fm2)
Error in anova.lme(fm1, fm2) : Objects must inherit from classes "gls",
"gnls" "lm","lmList", "lme","nlme","nlsList", or "nls"
The two equations I estimated are these:
fm1 <- glmmPQL(choice ~ day + stereotypy,
+ random = ~ 1 | bear, data = learning, family = binomial)
fm2 <- glmmPQL(choice ~ day + envir + stereotypy,
+ random = ~ 1 | bear, data = learning, family = binomial)
Individually, I get results from anova():
I did look through the archives but didn't finding anything relevant to my problem.
Hope someone can help.
ANDREW
____________________________
_
platform i586-mandrake-linux-gnu
arch i586
os linux-gnu
system i586, linux-gnu
status
major 2
minor 0.0
year 2004
month 10
day 04
language R