how to run post hoc after using fitglme
Ältere Kommentare anzeigen
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
Antworten (1)
John Hartman
am 27 Jun. 2019
0 Stimmen
Hope this works for you! https://www.mathworks.com/matlabcentral/fileexchange/71970-emmeans
Kategorien
Mehr zu ANOVA finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!