I'm comparing two mixed effects models to each other.
mod_1 <- lmer(firstfix ~ ps + cd + ps:cd + (1+ cd||subj) + (1+ ps||object), data = dat2, REML = FALSE)
mod_2 <- lmer(firstfix ~ ps + ps:cd + (1+ cd||subj) + (1+ ps||object), data = dat2, REML = FALSE)
anova(mod_1, mod_2)
But the output of the anova() function is wrong. It looks like:
The individual models give the correct output, so I'm not sure why the anova() function is being difficult? Thankful for any advice on what may be causing this or how to fix it.