undefined function or variable RMSE

Hi guys,
I am trying to plot RMSE, rsquared and qqplot, but I keep getting error,
'undefined function or variable RMSE'
I am currently using 2017 MATLAB version
Error_image.JPG

4 comentarios

Walter Roberson
Walter Roberson el 7 de Sept. de 2019
RMSE is not a function defined by MATLAB. I also do not see any function by that name in any File Exchange contributions (but I might have overlooked one.) There is an rmse (lower-case) in the File Exchange.
I find some places in MATLAB where there are properties named RMSE and Rsquared and I find some papers and third-party toolkits that deal with Rsquared or rsquared, but at this time I do not find any rSquared.
I think you are using either a third-party toolbox or something provided by a professor, not part of MATLAB.
Niraj Acharya
Niraj Acharya el 7 de Sept. de 2019
Are ther any functions to compute RMSE and rsquared of a regression model? Actually, I saw my instructor use RMSE and rsquared in his script, but I cannot use it for myself?
Rik
Rik el 7 de Sept. de 2019
And if you have fitted data and true data, you can use minus to calculate the error, then use sqrt(mean(err^2)) which is what RMSE stands for.

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Preguntada:

el 7 de Sept. de 2019

Comentada:

Rik
el 7 de Sept. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by