More Linear Models

Multi-way ANOVA

Is it possible to use the glht() or emmeans() functions described in the Multiple Comparisons lesson to perform post-hoc tests and understand which of our six treatment combinations are significantly different from one another? The answer is both yes and no. First, we can use either function to look at the effect of one predictor while averaging across the levels of the other predictor. However, that may not be what we want to do, especially when we have significant interaction.

Post-hoc comparisons when we have interactions

Get hands-on with 1200+ tech skills courses.