ets_arnn {hybridts}R Documentation

Hybrid ETS ARNN Forecasting Model

Description

Hybrid ETS ARNN Forecasting Model

Usage

ets_arnn(y, n, PI = FALSE, ret_fit = FALSE)

Arguments

y

A numeric vector or time series

n

An integer specifying the forecast horizon

PI

A logical flag (default = FALSE) for generating the prediction interval.

ret_fit

A logical flag specifying that the fitted values of the model on the training set should be returned if true, otherwise, false (default)

Value

The forecast of the time series of size n is generated along with the optional output of fitted values (ret_fit = TRUE) and confidence interval (PI = TRUE) for the forecast.

Examples

ets_arnn(y = datasets::lynx, n = 3)


[Package hybridts version 0.1.0 Index]