Repeated-Measures ANOVA across several conditions rather than timepoints
Ältere Kommentare anzeigen
So I have a table T (attached), which has the SSVEP amplitude in the first column, the subject number in the second, then the contrast condition (3rd), value condition(4th) and left/right(5th).
As there are multiple permutations of contrast/value/LR for each subject, I've been trying to do a repeated-measures ANOVA with fitrm and ranova, but I'm running into issues and I don't really understand. Even for the most basic model type I can think of:
rm = fitrm(T,'SSVEP ~ Contrast+Value+LR+Contrast*Value');
ranovatbl = ranova(rm)
I get the following output:

which is clearly incorrect!
From the few examples I have seen online (https://uk.mathworks.com/help/stats/fitrm.html#bt9ol4i-4), there always seems to be multiple measurements at different time points - but as in this repeated measures design, I have multiple conditions rather than multiple timepoints, I'm really pulling up blanks! I am also aware that I should probably be using ranovatbl = ranova(rm,'WithinModel',WM), but I have had absolutely zero success specifying this WM component!
Any help would be amazing!
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Analysis of Variance and Covariance finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

