Why does "multcompare" output different results in R2014b when data is processed with "fitrm" versus "anova1"?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 6 Mär. 2015
Beantwortet: MathWorks Support Team
am 10 Mär. 2015
The results obtained from my repeated measures analysis are quite unexpected. For the attached data, I am trying to compare 11 time points. Standard one-way ANOVA ("anova1") says the 9th time point is significantly different from many other time points. However, the "multcompare" for repeated measures ANOVA says that the 9th time point is NOT different from any of other time points (p-value > 0.05). This is highly unexpected since one would hope to get higher statistical power with the repeated measures ANOVA approach. How is "fitrm" followed by "multcompare" different than calling "anova1" followed by "multcompare"?
Akzeptierte Antwort
MathWorks Support Team
am 6 Mär. 2015
The "fitrm" function models the covariance between observations across "Time" in the attached example whereas the "anova1" function does not. Additionally, the "multcompare" method of a RepeatedMeasuresModel accounts for this covariance whereas "anova1" followed by "multcompare" does not. This is expected behavior and is responsible for the different results.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!