undefined function or variable RMSE
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Walter Roberson
le 7 Sep 2019
Which kind of regression model?
https://www.mathworks.com/help/stats/linearmodel.html has RMSE and Rsquared properties
Rik
le 7 Sep 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.
Réponses (0)
Voir également
Catégories
En savoir plus sur Regression dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!