Good value for root mean square error?
Show older comments
Hello,
I was working on the calculation of some RMSE values. I have some force trials in the time domain (normal force, and tangential force). I wanted to see if the reproduction of these forces was accurate when a robotic platform reproduces the same force we apply. I calculated the RMSE for all the trials I have (450).
The mean RMSE for the normal force was 0.11 (SD=0.08) and for the tangential force was 0.15 (SD=0.1). Do you think that these are decent values to conclude that the reproduction of the force was quite accurate?
Thank you very much in advance for your help!
ps: I also computed the root mean square range error that was found to be even lower. Does it also make sense to compute the range error?
4 Comments
dpb
on 1 Feb 2017
All depends. If mean(appliedForce)=1000, would seem error would be pretty small. If, otoh, mean(appliedForce)=1, "not so much". We've no way to judge.
imo88
on 23 Feb 2017
dpb
on 23 Feb 2017
Matlab has builtin function rms, might as well use it... :)
That will give you a fractional deviation of the rms value as compared to the min/max of the observations, yes. That's certainly one measure (or two, actually :) ); how useful that measure is would likely depend upon just how much difference there is between the min/max values as well as the absolute values thereof. IF the min value were very near zero, say, the first of those two values might numerically be very large since 1/x-->Inf as x-->0 and you're aware of the shape of that curve.
Hence, often folks use the mean of the observations but again if that is a zero-mean process the same effect may occur.
Again without the actual values and some more background, it's not possible to say much except in generalities like the above.
The answer is there is is no one unequivocal answer to the question posed, "it depends"...
Jonathan
on 19 Feb 2019
rms function was about 15 times slower than a simple manual computation! My simple manual computation:
rmse = sqrt( (length(Y)^-1).*sum((Y_hat - Y).^2) )
where Y is your target data, and Y_hat is your estimate.
Accepted Answer
More Answers (0)
Categories
Find more on Financial Data Analytics 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!