 # Root mean square deviation

Updated on
Covid-19

The root-mean-square deviation (RMSD) or root-mean-square error (RMSE) is a frequently used measure of the differences between values (sample and population values) predicted by a model or an estimator and the values actually observed. 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

The RMSD of an estimator θ ^ with respect to an estimated parameter θ is defined as the square root of the mean square error:

RMSD ( θ ^ ) = MSE ( θ ^ ) = E ( ( θ ^ θ ) 2 ) .

For an unbiased estimator, the RMSD is the square root of the variance, known as the standard deviation.

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

RMSD = t = 1 n ( y ^ t y t ) 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

RMSD = t = 1 n ( x 1 , t x 2 , t ) 2 n .

## Normalized root-mean-square deviation

Normalizing the RMSD facilitates the comparison between datasets or models with different scales. Though there is no consistent means of normalization in the literature, common choices are the mean or the range (defined as the maximum value minus the minimum value) of the measured data:

N R M S D = R M S D y max y min or N R M S D = R M S D y ¯ .

This value is commonly referred to as the normalized root-mean-square deviation or error (NRMSD or NRMSE), and often expressed as a percentage, where lower values indicate less residual variance. In many cases, especially for smaller samples, the sample range is likely to be affected by the size of sample which would hamper comparisons.

When normalising by the mean value of the measurements, the term coefficient of variation of the RMSD, CV(RMSD) may be used to avoid ambiguity. This is analogous to the coefficient of variation with the RMSD taking the place of the standard deviation.

C V ( R M S D ) = R M S D y ¯

## Applications

• In meteorology, to see how effectively a mathematical model predicts the behavior of the atmosphere.
• In bioinformatics, the RMSD is the measure of the average distance between the atoms of superimposed proteins.
• In structure based drug design, the RMSD is a measure of the difference between a crystal conformation of the ligand conformation and a docking prediction.
• In economics, the RMSD is used to determine whether an economic model fits economic indicators. Some experts have argued that RMSD is less reliable than Relative Absolute Error.
• In experimental psychology, the RMSD is used to assess how well mathematical or computational models of behavior explain the empirically observed behavior.
• In GIS, the RMSD is one measure used to assess the accuracy of spatial analysis and remote sensing.
• In hydrogeology, RMSD and NRMSD are used to evaluate the calibration of a groundwater model.
• In imaging science, the RMSD is part of the peak signal-to-noise ratio, a measure used to assess how well a method to reconstruct an image performs relative to the original image.
• In computational neuroscience, the RMSD is used to assess how well a system learns a given model.
• In Protein nuclear magnetic resonance spectroscopy, the RMSD is used as a measure to estimate the quality of the obtained bundle of structures.
• Submissions for the Netflix Prize were judged using the RMSD from the test dataset's undisclosed "true" values.
• In simulation of energy consumption of buildings, the RMSE and CV(RMSE) are used to calibrate models to measured building performance.
• In X-ray crystallography, RMSD (and RMSZ) is used to measure the deviation of the molecular internal coordinates deviate from the restraints library values.
• ## References

Topics

 B i Link H2
 L