How to print F values for pairwise comparisons using multcompare(stats)?

1 回表示 (過去 30 日間)
ey21
ey21 2021 年 2 月 8 日
コメント済み: Darla Bonagura 2021 年 9 月 14 日
Hello all,
I have the following code below.
This code produces a matrix of pairwise comparions as expected. I believe that the last column represents P-values for each of these comparisons.
How can I print the F-values for each of these comparisons?
I'd be so grateful if anyone could give me a helping hand!
[p,tbl,stats] = anova1(twT1_SpatialMemory,RELIGIOSITY);
C = multcompare(stats)
C = 1.0000 2.0000 0.0307 0.0893 0.1480 0.0003
1.0000 3.0000 0.0568 0.1393 0.2217 0.0000
1.0000 4.0000 0.0238 0.0788 0.1337 0.0009
1.0000 5.0000 0.0553 0.1181 0.1809 0.0000
2.0000 3.0000 -0.0393 0.0499 0.1392 0.5455
2.0000 4.0000 -0.0754 -0.0106 0.0542 0.9918
2.0000 5.0000 -0.0428 0.0288 0.1003 0.8079
3.0000 4.0000 -0.1474 -0.0605 0.0264 0.3174
3.0000 5.0000 -0.1132 -0.0212 0.0709 0.9708
4.0000 5.0000 -0.0292 0.0394 0.1079 0.5193

採用された回答

Aditya Patil
Aditya Patil 2021 年 2 月 15 日
You can refer to F-statistic and t-statistic documentation for an example on getting the f statistics.
  1 件のコメント
Darla Bonagura
Darla Bonagura 2021 年 9 月 14 日
Is there a way to print the F stat from multcompare if you didn't use mdl?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeANOVA についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by