Help with anova design

2 views (last 30 days)
Manash Sahoo
Manash Sahoo on 11 Oct 2021
Edited: Scott MacKenzie on 15 Oct 2021
Hi there.
I have data formatted as such:
ID ClipNumber ROI1 ROI2 ROI3 ROI4 Dx
-------------------------------------------------------------------------------
1 1 .1 .3 .5 .1 1
1 2 etc. - - - 1
1 3 - - - - 1
1 4 - - - - 1
1 5 - - - - 1
2 1 - - - - 0
Where Dx is the between-subjects factor, and ClipNumber is a within-subjects factor, and ROIs repeated measures.
Reading over the doc I am a bit confused on how to set up a repeated measures anova with my data. Is there anyone that can lead me to the right path?
Mainly, my confusion lays in creating the "WithinDesign" table, and the "modelspec" input arg.
Any help would be great,
Thanks!
  1 Comment
Scott MacKenzie
Scott MacKenzie on 15 Oct 2021
Edited: Scott MacKenzie on 15 Oct 2021
It might help if you post the full dataset.

Sign in to comment.

Answers (0)

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!