Why RMSE obtained by fitlm in matlab does not match with RMSE calculated in EXCEL ؟
Show older comments
Hi every one . I've used the mdl = fitlm(x,y) function to fit a linear regression model to my Dataset. I also calculate the RMSE in Excel by Known Formula . the fitlm function in matlab return the exact value of R-squared calculated in excel and the exact Coefficients of Trendline. but the Value of RMSE in matlab and excel does not match. i was made a wide search but I'm still in trouble with that . any idea ? thanks for help . with best regards .
3 Comments
Greg Heath
on 27 May 2016
Insufficient information. Post your code.
Greg
the cyclist
on 27 May 2016
I would specifically suggest posting both a *.m file and a *.xls file that replicate the simplest example you can provide that exhibits the problem.
mr mo
on 28 May 2016
Edited: Walter Roberson
on 28 May 2016
Accepted Answer
More Answers (0)
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!