To construct the r.m.s. error, you first need to determine the residuals. Residuals are the difference between the actual values and the predicted values. I denoted them by yi(hat) - yi, where yi is the observed value for the ith observation and yi(hat) is the predicted value. They can be positive or negative as the predicted value under or over estimates the actual value. Squaring the residuals, averaging the squares, and taking the square root gives us the r.m.s error. You then use the r.m.s. error as a measure of the spread of the y values about the predicted y value.

Note - this model assumes the observed data is regularly spaced in time. If the spacing of observation times is not constant, please consider one of the following models:

## Download the Model File:

## Comments

2 comments

Hi

You can use online calculators for calculation of RMSE

It is free and so simple

Thank you, Hassan. I'm glad to know there is such a simple tool out there for the times we need to calculate this standalone. The benefit to having this run inside GoldSim is that you can incorporate it into the simulation or optimization if needed.

Please sign in to leave a comment.