Do forecast using auto ARIMA

arima_fun(model_sample, h, target = "value")

Arguments

model_sample

preferably tsibble with "value" column

h

forecasting horizon, is ignored

target

name of the target variable, "value" by default

Value

auto ARIMA model

Details

Do forecast using auto ARIMA

Examples

test = dplyr::tibble(date = as.Date("2017-01-01") + 0:9, value = rnorm(10)) arima_fun(test, 1)
#> Series: y #> ARIMA(0,0,0) with zero mean #> #> sigma^2 estimated as 0.8538: log likelihood=-13.4 #> AIC=28.8 AICc=29.3 BIC=29.1