RE: Relative Error

View source: R/ts_utils.R

RER Documentation

Relative Error

Description

Relative Error

Usage

RE(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)
RE(pred$pred, window(AirPassengers, start = 1960))


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

Related to RE in forecasteR...