A mvgam_forecast
object returned by function hindcast
or forecast
.
Run methods(class = "mvgam_forecast")
to see an overview of available methods.
Details
A mvgam_forecast
object contains the following elements:
call
the original observation model formulatrend_call
If atrend_formula was supplied
, the original trend model formula is returned. OtherwiseNULL
family
character
description of the observation distributionfamily_pars
list
containing draws of family-specific parameters (i.e. shape, scale or overdispersion parameters). Only returned iftype = link
. OtherwiseNULL
trend_model
character
description of the latent trend modeldrift
Logical specifying whether a drift term was used in the trend modeluse_lv
Logical flag indicating whether latent dynamic factors were used in the modelfit_engine
Character
describing the fit engine, either asstan
orjags
type
The type of predictions included (eitherlink
,response
ortrend
)series_names
Names of the time series, taken fromlevels(data$series)
in the original model fittrain_observations
Alist
of training observation vectors of lengthn_series
train_times
Avector
of the unique training timestest_observations
If theforecast
function was used, alist
of test observation vectors of lengthn_series
. OtherwiseNULL
test_times
If theforecast
function was used, avector
of the unique validation (testing) times. OtherwiseNULL
hindcasts
Alist
of posterior hindcast distributions of lengthn_series
.forecasts
If theforecast
function was used, alist
of posterior forecast distributions of lengthn_series
. OtherwiseNULL