RMSE: Root Mean Square Error

View source: R/ts_utils.R

RMSER Documentation

Root Mean Square Error

Description

Root Mean Square Error

Usage

RMSE(Pred, Real)

Arguments

Pred

a ts object (prediction).

Real

a ts object (real).

Value

numeric

Author(s)

Diego Jimenez <diego.jimenez@promidat.com>

Examples

model <- arima(window(AirPassengers, end = c(1959, 12)))
pred  <- predict(model, 12)
RMSE(pred$pred, window(AirPassengers, start = 1960))


forecasteR documentation built on July 9, 2023, 6:37 p.m.

Related to RMSE in forecasteR...