two way repeated measures anova

96 次查看(过去 30 天)
how to do a 2 way repeated measures anova with MATLAB? I need to perform a 2 way anova for a repeated measures data, each having 2 levels. I see anova2 is to be used for between subject designs and anovan when the design is unbalanced. Any advice would be of great help.
  4 个评论
Jeff Miller
Jeff Miller 2020-7-25
Different results than what?
You probably want to use the 'categorical' command to tell ranova that the numbers in WithinFactors represent arbitrary category labels rather than numerical values of some predictor.
Shamini Warda
Shamini Warda 2020-7-27
It now works. Thank you very much.

请先登录,再进行评论。

回答(1 个)

Scott MacKenzie
Scott MacKenzie 2021-7-28
Visit this question for a simple approach to doing a two-way repeated measures (aka within-subjects) anova using the ranova function.

类别

Help CenterFile Exchange 中查找有关 Analysis of Variance and Covariance 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by