# Root-mean-square deviation

The root-mean-square deviation (RMSD) or root-mean-square error (RMSE) is a frequently used measure of the differences between value (Sample and population values) predicted by a model or an estimator and the values actually observed. Basically, the RMSD represents the sample standard deviation of the differences between predicted values and observed values. These individual differences are called residuals when the calculations are performed over the data sample that was used for estimation, and are called prediction errors when computed out-of-sample. The RMSD serves to aggregate the magnitudes of the errors in predictions for various times into a single measure of predictive power. RMSD is a good measure of accuracy, but only to compare forecasting errors of different models for a particular variable and not between variables, as it is scale-dependent.

## Formula

$\operatorname {RMSD} ({\hat {\theta }})={\sqrt {\operatorname {MSE} ({\hat {\theta }})}}={\sqrt {\operatorname {E} (({\hat {\theta }}-\theta )^{2})}}.$ For an unbiased estimator, the RMSD is the square root of the variance, known as the standard error.

The RMSD of predicted values ${\hat {y}}_{t}$ for times t of a regression's dependent variable $y$ is computed for n different predictions as the square root of the mean of the squares of the deviations:

$\operatorname {RMSD} ={\sqrt {\frac {\sum _{t=1}^{n}({\hat {y}}_{t}-y)^{2}}{n}}}.$ In some disciplines, the RMSD is used to compare differences between two things that may vary, neither of which is accepted as the "standard". For example, when measuring the average difference between two time series $x_{1,t}$ and $x_{2,t}$ , the formula becomes

$\operatorname {RMSD} ={\sqrt {\frac {\sum _{t=1}^{n}(x_{1,t}-x_{2,t})^{2}}{n}}}.$ ## Normalized root-mean-square deviation

The normalized root-mean-square deviation or error (NRMSD or NRMSE) is the RMSD divided by the range of observed values of a variable being predicted,{{ safesubst:#invoke:Unsubst||date=__DATE__ |\$B= {{#invoke:Category handler|main}}{{#invoke:Category handler|main}}[citation needed] }} or:

$\mathrm {NRMSD} ={\frac {\mathrm {RMSD} }{y_{\max }-y_{\min }}}$ The value is often expressed as a percentage, where lower values indicate less residual variance.

## CV (RMSD)

The coefficient of variation of the RMSD, CV(RMSD), or more commonly CV(RMSE), is defined as the RMSD normalized to the mean of the observed values:

$\mathrm {CV(RMSD)} ={\frac {\mathrm {RMSD} }{\bar {y}}}.$ It is the same concept as the coefficient of variation except that RMSD replaces the standard deviation.