I have fit a linear mixed-effects model using lmer. The model includes 1 categorical predictor variable, 2 continuous predictor variable, all interactions, and a categorical random effect. To test for significance of each main and interaction effect, I am using car::Anova. But I am having trouble figuring out whether to specify Type II or Type III. The model does include interaction terms- does this mean I should use type III, even if those interaction terms are non-significant? Or should I use type II if the interaction terms are significant? Using type II indicates that one of the continuous predictor variables is significant, but none of the others are. Using type III tells me that none of the predictor variables are significant.
Asked
Active
Viewed 30 times
drop1(..., test="F"), but it requires using different formulas in each call. – cdalitz May 19 '22 at 06:10