undefined function or variable RMSE
25 views (last 30 days)
Show older comments
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
4 Comments
Walter Roberson
on 7 Sep 2019
Which kind of regression model?
https://www.mathworks.com/help/stats/linearmodel.html has RMSE and Rsquared properties
Rik
on 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.
Answers (0)
See Also
Categories
Find more on Regression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!