[R-sig-ME] Evaluating the significance of the random effects in GLMM
Gabriela Agostini
gabrielaagostini18 at gmail.com
Wed Jan 23 15:33:30 CET 2013
Hi all!
I am working with GLMM using the binomial family
I use the following codes
I dropped no significant terms, refitting the model and comparing the
changes with likelihood:
G.1<-lmer(data$Ymat~stu+spi+stu*sp1+(1|ber),data=data,family="binomial")
G.1b<-lmer(data$Ymat~stu+spi+(1|ber),data=data,family="binomial")
anova (G.1,G.2)
But, when I want to evaluate the significance of random effect (1|ber)
I cannot use a likelihood-ratio test, probably because the link
function of both models is different.
Can anyone help me?
I recently started using GLM language R. Sorry if my terms are not adequate.
Thanks!
More information about the R-sig-mixed-models
mailing list