how to run post hoc after using fitglme
4 views (last 30 days)
Show older comments
Hi all, I have defined a liner mixed-model in Matlab as below: glme = fitglme(T,'Z ~ 1+ race + section + section*race + (1|sample:eyeball)','DummyVarCoding','effects'); I can perform ANOVA and calculate p-values but I don't know how to perform a pairwise comparison with the ANOVA results as multcompare. I doesn't accept fitglme output. I tried to use coefTest but I was lost when I tried to define the contrasts matrix for the interactions. does some know how to perform posthoc analysis for fitglme results or how to define contrasts matrix for coefTest for 2 or 3-way interactions? thanks
0 Comments
Answers (1)
John Hartman
on 27 Jun 2019
Hope this works for you! https://www.mathworks.com/matlabcentral/fileexchange/71970-emmeans
0 Comments
See Also
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!