Learn R Programming

lfl (version 2.2.0)

rmse: Compute Root Mean Squared Error (RMSE)

Description

RMSE is computed as \(sqrt(mean((forecast - validation)^2))\).

Usage

rmse(forecast, validation)

Value

A Root Mean Squared Error (RMSE)

Arguments

forecast

A numeric vector of forecasted values

validation

A numeric vector of actual (real) values

Author

Michal Burda

See Also

smape(), mase(), frbe()