How to conduct a one-way repeated measures ANOVA

44 views (last 30 days)
Prabhjot Dhami
Prabhjot Dhami on 24 Nov 2020
Commented: Fancy on 22 Jan 2022 at 0:43
Dear Matlab community,
I am having trouble figuring out a way to conduct a one-way repeated measures ANOVA. I have 29 participants, and they each have data from 6 conditions. I accordingly have a 29 x 6 table, with the 29 rows as participants, and columns as my 6 conditions.
I am trying to do so with fitrm, but it looks like it expects some sort of between subject variable (e.g. group), which I do not have.
Any insight would be greatly appreciated.
Best,
P

Accepted Answer

Prabhjot Dhami
Prabhjot Dhami on 24 Nov 2020
Please disregard, I just had to add the intercept in the form of '~1'.
  1 Comment
Fancy
Fancy on 22 Jan 2022 at 0:43
can you explain a little bit how you design it? I have the same question

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!