mvgam_forecast-class {mvgam} | R Documentation |
mvgam_forecast
object description
Description
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 formula -
trend_call
If atrend_formula was supplied
, the original trend model formula is returned. OtherwiseNULL
-
family
character
description of the observation distribution -
family_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 model -
drift
Logical specifying whether a drift term was used in the trend model -
use_lv
Logical flag indicating whether latent dynamic factors were used in the model -
fit_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 fit -
train_observations
Alist
of training observation vectors of lengthn_series
-
train_times
Avector
of the unique training times -
test_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
Author(s)
Nicholas J Clark
See Also
mvgam, hindcast.mvgam, forecast.mvgam