Now, I am running a generalized linear mixed model using lme4 package. I have three category factors (factor 1 has three levels, factor 2 has two levels, factor 3 has five levels). And I want to have the main and interaction effects of them. Here is the model I built:
Model <- glmer(family=binomial, data=data1,
formula=value~factor1*factor2*factor3+(1|item)+(1|subject),
control=glmerControl(optimizer="bobyqa",optCtrl = list(maxfun = 1e7)))
summary(Model)
car::Anova(Model)
I wonder whether I can use
car::Anova(Model)
to get the main and interaction effects? Is this function suitable for generalized linear mixed model?And if I have the three-way interaction, how could I do next? Do the post hoc? Or separate one factors to see the influence on the other interactions?