Skip to content
Prev 10679 / 20628 Next

gls for generalized linear model

ChenChun <talischen at ...> writes:
[snip]
As I recall, in the current CRAN version of lme4 (<1.0), the deviances
from glmer() are not commensurate with glm(), but in the new version (>=1.0)
they are, so you could compare the deviances of 

fit1 <- glmer(alive ~ treatment + (1|expID), family=binomial, data=Data)

and

fit0 <- glm(alive ~treatment, family=binomial)

(at the moment there is no automatic anova() method that can handle
this, although this could be added).

 One comment and one question:

* REML does nothing in glmer()
* are you sure it makes sense to test the statistical significance of
the random effect?