anova1を使い,多重比較でmultcompareを使ったのですが,出力引数のcが5列しか出ていません.
Show older comments
anova1を使い,多重比較でmultcompareを使ったのですが,出力引数のcが5列しか出ていません. 標本として3群のデータを用いて(引数としては3列で入力しました.),anova1でp値を算出しました.p=1.2360e-4で有意差が認められたので, multcompareを用いて群間の差を検定したところ,出力引数cの6列目に格納されている群間のp値が出力されず,3行5列で出力されていました. 入力引数としてDisplayをonにして,グラフに表示して確かめると,どの群間で有意差があるのかは確認できるのですが, 非常に不便です. 私が使用しているのはMATLAB R2013aのstudent versionです.これが原因なのか,それとも別の原因があるのかを教えて頂きたいです.
1 Comment
Walter Roberson
on 21 Jan 2016
Approximate translation:
Use the anova1, but I was using multcompare multiple comparison, not c of the output argument has come out only five columns. Using the three groups of data as a sample (as an argument was entered in three columns.), We calculate the p-value in anova1. Since significant difference p = 1.2360e-4 was observed was subjected to test for differences between groups using multcompare, p value is not output between the group and is stored in the sixth column of the output parameter c, it was not output in three rows and five columns. The Display In on as an input argument, and make sure it is displayed on the graph, although whether there is a significant difference between any group I can see, it is very inconvenient. Is a student version of MATLAB R2013a I have used. This is the cause of the, or you would like you to tell me whether there is another cause.
Answers (1)
R2013b以前のバージョンでは5列で出力される仕様でしたが、MATLAB R2014aのバージョンから、出力引数cの6列目にp値が出力されるよう変更されました。
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!