Katharina Voigt
2017-Mar-25 01:24 UTC
[R] Post hoc comparisons for interaction effects linear mixed effects models (lm4)
Hi, I want to obtain post hoc comparisons for a model with a three-way interaction (FullModel5 <- lmer(CIVADmc ~ 1 + Factor1 * Factor2 * Factor3 + (1|ID) + (1 | Item), data=Exp3_WTP_diffi). I tried: "summary(glht(FullModel4, linfct = mcp(Factor1*Factor2*Factor3 = "Tukey")), test = adjusted("holm?))? , but this does not work. any suggestions? [[alternative HTML version deleted]]
Thierry Onkelinx
2017-Mar-25 08:38 UTC
[R] Post hoc comparisons for interaction effects linear mixed effects models (lm4)
Dear Katherina, Multcomp can't handle interactions automatically. You need to create the contrasts manually. Best regards, Thierry Op 25-mrt.-2017 08:13 schreef "Katharina Voigt" <katharina.voigt1 at gmail.com>:> Hi, > I want to obtain post hoc comparisons for a model with a three-way > interaction (FullModel5 <- lmer(CIVADmc ~ 1 + Factor1 * Factor2 * Factor3 + > (1|ID) + (1 | Item), data=Exp3_WTP_diffi). > I tried: "summary(glht(FullModel4, linfct = mcp(Factor1*Factor2*Factor3 > "Tukey")), test = adjusted("holm?))? , but this does not work. > any suggestions? > > > > > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/ > posting-guide.html > and provide commented, minimal, self-contained, reproducible code.[[alternative HTML version deleted]]