How to conduct a one-way repeated measures ANOVA

32 visualizaciones (últimos 30 días)
Prabhjot Dhami
Prabhjot Dhami el 24 de Nov. de 2020
Comentada: Prabhjot Dhami el 3 de Feb. de 2022
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

Respuesta aceptada

Prabhjot Dhami
Prabhjot Dhami el 24 de Nov. de 2020
Please disregard, I just had to add the intercept in the form of '~1'.
  2 comentarios
Fancy
Fancy el 22 de En. de 2022
can you explain a little bit how you design it? I have the same question
Prabhjot Dhami
Prabhjot Dhami el 3 de Feb. de 2022
Hi Fancy,
I believe it would be in the format of 'yourwithinvariable ~ 1' or something like that if I remember correctly.

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by