Contents
Is the Tukey HSD function the same as GLM?
By the way TukeyHSD should works fine on his model since the way that him called glm is the same as perform a linear model and linear model is the same as aov model. You can use glht for comparisons with a glm model object. However, “tukey” in the mcp function simply sets up all pairwise contrasts for the grouping variable.
Which is post hoc test for your for glmer?
I’m analysing my binomial dataset with R using a generalized linear mixed model (glmer, lme4-package). I wanted to make the pairwise comparisons of a certain fixed effect (“Sound”) using a Tukey’s post-hoc test (glht, multcomp-package).
Can you use glht for comparisons with GLM?
You can use glht for comparisons with a glm model object. However, “tukey” in the mcp function simply sets up all pairwise contrasts for the grouping variable. These are called Tukey contrasts.* ** – It can handle a variety of models and lists them in the documentation giving you some confidence it handles them appropriately.
Why is are post hoc HSD error for GLm?
R Post Hoc Tukey HSD Error for GLM? I’m struggling to conduct a post hoc test on a GLM that I run. I have one significant difference but keep getting an error when trying to conduct a TukeyHSD. Can anyone explain to me why this is and how I can correct it? I am a novice in R… Thanks! dist_riv 0.002783 0.001488 1.871 0.0732 .
Is the object glm1 a data.frame?
Note that the object GLM1 is a data.frame. So for me the problem is not the use of TukeyHSD on the glm model. By the way TukeyHSD should works fine on his model since the way that him called glm is the same as perform a linear model and linear model is the same as aov model.
Why does the GLM fail with repeated measures?
Dealing with repeated measures is all about handling variation within subjects, as opposed to between subjects. The first model fails because it has no error term, because we successfully accounted for ALL the variance in the model with the three terms.