How to perform 1way-ANOVA with matrices
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Elisa Iovene
am 3 Mär. 2021
Kommentiert: Jeff Miller
am 5 Mär. 2021
Hello,
I would like to perform a 1-way ANOVA test to compare 3 groups such as I get group1 VS group2, group1 VS group3, group2 VS group3.
My "groups" are 100x3 matrices in which each column conrespond to a coordinates (x,y,z).
My question is, should I perform the ANOVA for each coordinate such as I get a comparison between the x axis of each group, then the y and so on?
Or do you have any other suggestion?
Thanks!
0 Kommentare
Akzeptierte Antwort
Jeff Miller
am 3 Mär. 2021
manova might be a better approach, since it allows you to combine information from all three variables (x,y,z) into a single test of group equality.
2 Kommentare
Jeff Miller
am 5 Mär. 2021
No, that doesn't really look right to me. At least as I understand your design, you want something like this:
X = [tr1; tr2];
Group = [ones(size(tr1,1),1); 2*ones(size(tr2,1),1)];
[d,p,stats] = manova1(X,Group)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Repeated Measures and MANOVA finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!