What is the difference between the RMSE calculations?

3 views (last 30 days)
Hey guys.
Could someone explain to me the difference between the RMSE calculations in the "basic fitting" and "curve fitting tool box"?
My values turned out to be considerably different
Thank you very much in advance.
  2 Comments
alvaro fernandes
alvaro fernandes on 11 Apr 2023
Of course, here's an image of my data and the RMSE difference.
I used the app "curve fitting" and basic fitting from the scatter plot.

Sign in to comment.

Answers (1)

Sam Chak
Sam Chak on 11 Apr 2023
If you have the data, then you can compute the root-mean-square error between the data arrays.
I don't have the full sets of data arrays. But you can do something like this to verify which is correct.
Fd = [108.8777 5.9200 20.4500 26.6700 17.7200 5.8800 10.140 9.0600 10.8400]; % fitted data
Ad = [108.7981 5.6633 20.3256 26.6343 17.9771 6.0792 9.7517 9.2592 12.1878]; % actual data
Er = rmse(Fd, Ad)
Er = 0.4946

Categories

Find more on Linear and Nonlinear Regression in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!