I have built the following models:
full <- lmer(DV~ A*B + (1|speaker), data, REML=FALSE)
A <- lmer(DV~ A+ A:B + (1|speaker), data, REML=FALSE)
B <- lmer(DV~ B+ A:B + (1|speaker), data, REML=FALSE)
interaction <- lmer(DV~ A + B + (1|speaker), data, REML=FALSE)
I use anova to compare the first full model to the other ones:
anova(full, A)
anova(full, B)
anova(full, interaction)
The first two comparisons generated results with both df and chi square values being zeros, as shown below:
However, I have also tried to compare the null model with another model only include A or B:
null <- lmer(DV~ 1 + (1|speaker), data, REML=FALSE)
AA <- lmer(DV~ A + (1|speaker), data, REML=FALSE)
BB <- lmer(DV~ B + (1|speaker), data, REML=FALSE)
AB <- lmer(DV~ A:B + (1|speaker), data, REML=FALSE)
all the comparisons generated reasonable results (i.e. not 0 df and all comparisons are significant)
I have looked online and found this post: https://www.researchgate.net/post/What_is_a_Likelihood_ratio_test_with_0_degree_of_freedom
And my guess is that maybe for my full model, the interaction might be able to predict everything without the main effects (A and B).
I have a few questions:
- Is my guess possibly true?
- If it is true, why did the comparison with the null model show a significant effect?
- On a more general scale, when I build linear mixed effect models, can I start from the Null model and add a factor at a time, then compare with the previous models? Or do I have to reduce from the full model?
- If I use A+B as the base model:
base <- lmer(DV~ A+B + (1|speaker), data, REML=FALSE)
A <- lmer(DV~ A + (1|speaker), data, REML=FALSE)
B <- lmer(DV~ B + (1|speaker), data, REML=FALSE)
interaction <- lmer(DV~ A*B + (1|speaker), data, REML=FALSE)
Is it ok to report the comparison between the base model and A, B, interaction respectively?
Please find the data file and the R markdown document here: dropbox.com/sh/88m8h6blow2xbn5/AABiNccsUlu3AlfPyamQP4n_a?dl=0 I also asked a question about the procedures I used in the R script in this post R lmer model: add factors or reduce factors
I'd be most grateful if you could help me please. Thank you!