A fabletools model definition: selects the ARIMA orders with a tsorder
selector (via fit_arima()) and fits stats::arima(), so tsorder plugs
directly into fabletools::model(), forecast(), accuracy() and
friends alongside fable::ARIMA().
Arguments
- formula
Model specification (the response; exogenous regressors are not supported).
- method
As in
fit_arima(): anorder_select()method or"hr"(default) for Hannan-Rissanen, which selectspandqjointly.- ...
Passed on to
fit_arima()(e.g.d, selector options).
Value
A model definition usable inside fabletools::model().
Examples
if (FALSE) { # \dontrun{
library(fabletools)
as_tsibble(USAccDeaths) |>
model(tsorder = TSORDER(value)) |>
forecast(h = 12)
} # }