Unable to resolve the name rm.ranova Error

1 view (last 30 days)
Sarfaraz Ahmed
Sarfaraz Ahmed on 10 Mar 2022
Answered: Nihal on 23 Jan 2024
Hi Everyone,
I am running anova analysis and found such error while checking RM Anova results.
But this error coming continously, though I have anova and statistics and machine learning tool box. Even, I installed recent updats.
ERROR: Unable to resolve the name rm.ranova
MATLAB : 2021b.
Any help would be appreciated.
Thank you.
  1 Comment
Scott MacKenzie
Scott MacKenzie on 11 Mar 2022
It would help if you post the code that generates this error. Also include the data (or a subset of the data) that allows the code to execute and generate the error.

Sign in to comment.

Answers (1)

Nihal
Nihal on 23 Jan 2024
Hi Sarfaraz,
I understand that you are facing error while checking RM Anova results. The error message Unable to resolve the name rm.ranova suggests that MATLAB is unable to find the ranova function for the repeated measures model object rm. This could be due to several reasons:
  • The Statistics and Machine Learning Toolbox is not installed properly: Even though you mentioned that you have the toolbox installed, it's possible that the installation is corrupted or incomplete. Verify the installation through MATLAB's Add-On Manager.
  • The function is not on the MATLAB path: MATLAB may not be able to find the function because it's not on the search path. Use the addpath function to include the toolbox directory, or use the pathtool to interactively add it.
  • The rm variable is not a valid repeated measures model: The rm variable should be a repeated measures model created using the fitrm function. Make sure that rm is defined correctly before calling ranova.
  • Licensing issues: There might be a licensing problem preventing access to the toolbox functionality. Check your license status to make sure the toolbox is properly licensed.
It's challenging to pinpoint the exact issue without seeing your code. If the problem persists, please share more details for a precise diagnosis.

Community Treasure Hunt

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

Start Hunting!