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.