RSS: RSS

View source: R/ts_utils.R

RSSR Documentation

RSS

Description

RSS

Usage

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


PROMiDAT/forecasteR documentation built on June 30, 2023, 9:43 p.m.