x-axis of multcompare() does not plot group means
Show older comments
Hi,
I am performing an ANOVA on four different groups (data appended). I am using the following code:
[p, tbl, stats] = kruskalwallis(data(:, 1:4));
[c, m, h, gnames] = multcompare(stats);
The group means are 1.1793, 1.5778, 3.8336, 0.9215. However, the figure output by multcompare(stats) has an x-axis range from 100 to 350 (see image). I am confused since as far as I know, the group means should be on the x-axis. Did I do anything wrong?

Accepted Answer
More Answers (0)
Categories
Find more on Analysis of Variance and Covariance 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!