Learn R Programming

termstrc (version 1.0)

rmse: Root Mean Squared Error

Description

Root mean squared error

Usage

rmse(actual, estimated)

Arguments

actual
vector, consisting of the observed values
estimated
vector, consisting of the estimated values

Details

Calculation of the RMSE according to the formula: $$RMSE=\sqrt{\frac{1}{n}\sum_{i=1}^{n}{(e_i-\overline{e_i})^2}}$$

References

David Bolder and David Streliski (1999): Yield Curve Modelling at the Bank of Canada.Technical Report No 84 Bank of Canada.

See Also

aabse