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

조회 수: 3 (최근 30일)
Diemo Schwarz
Diemo Schwarz . 2015년 6월 18일
댓글: Diemo Schwarz . 2016년 3월 22일
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?

답변 (1개)

Alberto 2015년 6월 18일
Something like this?
load carbig
X = [MPG Acceleration Weight Displacement];
[d,p,stats] = manova1(X,Origin);
Check documentation for use manovacluster
  댓글 수: 1
Diemo Schwarz
Diemo Schwarz 2016년 3월 22일
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.

댓글을 달려면 로그인하십시오.


Help CenterFile Exchange에서 Repeated Measures and MANOVA에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by