Multiple comparison for n-way ANOVA
4 次查看(过去 30 天)
显示 更早的评论
Hi all,
I know I can do a multiple comparison test by passing the 'stats' output from the anova1 function to the multcompare function.
Right now, if I use anovan (n-way ANOVA), and I want to do a multcompare for the interaction of a pair of factors (X1 * X2), how do I do that?
If I just pass the stats struct from anovan to multcompare, I would just get a multiple comparison for the linear effect of the first factor X1, not X1*X2.
E.g.:
[p, ~, stats] = anovan(data, 'model', 'interaction');
[c,m] = multcompare(stats); % <-- this will do a multiple comp for X1 only, not X1*X2.
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!