undefined function or variable RMSE
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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](https://www.mathworks.com/matlabcentral/answers/uploaded_files/237274/Error_image.jpeg)
4 comentarios
Walter Roberson
el 7 de Sept. de 2019
Which kind of regression model?
https://www.mathworks.com/help/stats/linearmodel.html has RMSE and Rsquared properties
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.
Respuestas (0)
Ver también
Categorías
Más información sobre Regression en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!