How to conduct a one-way repeated measures ANOVA

33 views (last 30 days)
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.

Accepted Answer

Prabhjot Dhami
Prabhjot Dhami on 24 Nov 2020
Please disregard, I just had to add the intercept in the form of '~1'.

More Answers (0)


Community Treasure Hunt

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

Start Hunting!