forecast.GLARMA {fableCount} | R Documentation |
Produces forecasts from a trained model.
## S3 method for class 'GLARMA'
forecast(object, new_data, ...)
object |
A model for which forecasts are required. |
new_data |
Tsibble, it has to contains the time points and exogenous regressors to produce forecasts for. |
... |
Other arguments passed to methods |
Predict future observations based on a fitted GLM-type model for time series of counts. Futher informations about the forecast method can be obtained typing ?glarma::forecast
A list of forecasts.
tsibbledata::aus_production |>
fabletools::model(manual_gla = GLARMA(Beer ~ pq(1,0))) |>
dplyr::select(manual_gla) |>
fabletools::forecast(h = 2)