MATLAB Answers

0

How to plot dendrogram and stars for pair-wise significance levels in anova?

Asked by Diemo Schwarz on 18 Jun 2015
Latest activity Commented on by Diemo Schwarz on 22 Mar 2016
In publications with ANOVA results, often one can find box plots with a dendrogram on top and 1 to 4 stars giving the significance levels of all pairwise comparisons: p-value ≤ 0.05 -> * 0.01 -> ** 0.001 -> *** 0.0001 -> ****
Is there a script to do this in matlab?

  0 Comments

Sign in to comment.

1 Answer

Answer by Alberto
on 18 Jun 2015

Something like this?
load carbig
X = [MPG Acceleration Weight Displacement];
[d,p,stats] = manova1(X,Origin);
manovacluster(stats)
Check documentation for use manovacluster

  1 Comment

Dear Alberto, thanks for your answer. It comes close! The height of the split points should be uniform (just to indicate grouping), and there should be a number of stars over the top split, indicating the significance. I'll see if I find an example in existing publications.

Sign in to comment.