MATLAB Answers

0

Repeated Measures ANOVA in Matlab

Asked by Pegah Kassraian Fard on 26 Oct 2017
Latest activity Commented on by Christopher Gundlach on 25 Jan 2019
Hi,
I have MATLAB 2017b. I see that matlab has ranova, but whenever I want to use it, the following message is returned:
>> ranova(Accuracies)
Undefined function or variable 'ranova'.
Is there a specific toolbox I would need, or what is the problem?

  0 Comments

Sign in to comment.

3 Answers

Answer by Megha Parthasarathy on 1 Nov 2017

Hi,
To run the ranova function, you need Statistics and Machine Learning Toolbox.
-Megha

  0 Comments

Sign in to comment.


Answer by laura
on 1 Mar 2018

Hello - just wondering if this issue has been resolved? I'm also having the same problem. I have the Statistics and Machine Learning Toolbox and MATLAB2017b, but the ranova function is undefined as well. Oddly if I do "help anova1" the anova1 function is defined so I know some of the stats functions are there, but ranova is not.
Any suggestions?
This link suggests that it is available in Matlab 2017b with the Stats toolbox: https://www.mathworks.com/help/stats/repeatedmeasuresmodel.ranova.html

  1 Comment

Hi, has this issue been resolved?
I also can't acces ranova, although Statistics and Machine Learning Toolbox Version 11.4 (R2018b) is installed. Other functions from the toolbox can be used (e.g. fitrm). However ranova doesn't seem to exist.

Sign in to comment.


Answer by zhiyo
on 23 Mar 2018

Hi,
Repeated Measures ANOVA in Matlab 2017 is included in the statistics toolbox, you can find the ranova function in the RepeatedMeasuresModel class.

  0 Comments

Sign in to comment.