predict.tsmarch: Model Prediction

predict.cgarch.estimateR Documentation

Model Prediction

Description

Prediction function for estimated objects.

Usage

## S3 method for class 'cgarch.estimate'
predict(
  object,
  h = 1,
  nsim = 1000,
  sim_method = c("parametric", "bootstrap"),
  forc_dates = NULL,
  cond_mean = NULL,
  seed = NULL,
  newxreg = NULL,
  newvreg = NULL,
  ...
)

## S3 method for class 'dcc.estimate'
predict(
  object,
  h = 1,
  nsim = 1000,
  sim_method = c("parametric", "bootstrap"),
  forc_dates = NULL,
  cond_mean = NULL,
  seed = NULL,
  newxreg = NULL,
  newvreg = NULL,
  ...
)

## S3 method for class 'gogarch.estimate'
predict(
  object,
  h = 1,
  nsim = 1000,
  sim_method = c("parametric", "bootstrap"),
  forc_dates = NULL,
  cond_mean = NULL,
  seed = NULL,
  ...
)

Arguments

object

an estimated object from one of the models in the package.

h

the forecast horizon.

nsim

the number of sample paths to generate.

sim_method

white noise method for generating random sample for the multivariate distribution. The default “parametric” samples random normal variates whilst the “bootstrap” samples from the whitened innovations of the fitted model.

forc_dates

an optional vector of forecast dates equal to h. If NULL will use the implied periodicity of the data to generate a regular sequence of dates after the last available date in the data.

cond_mean

an optional matrix (h x n_series) of the predicted conditional mean for the series which is used to recenter the simulated predictive distribution. For the DCC and Copula GARCH models this is only available when every first stage model uses arma = c(0,0) and no mean regressors; otherwise the conditional mean is taken from the first stage models automatically.

seed

an integer that will be used in a call to set.seed before simulating.

newxreg

an optional list with one element per series supplying the mean equation regressors of the first stage models for the forecast horizon. Each element is either NULL or a matrix/xts of regressors with h rows and the same number of columns as the regressors used when specifying that series' model. The list may be fully named (and partial) or fully unnamed (and complete); see the newxreg argument of tsfilter for details. Not used in the GOGARCH model.

newvreg

an optional list with one element per series supplying the variance equation regressors of the first stage models for the forecast horizon. Each element is either NULL or a matrix/xts of regressors with h rows and the same number of columns as the variance regressors used when specifying that series' model. The list may be fully named (and partial) or fully unnamed (and complete); see the newvreg argument of tsfilter for details. Not used in the GOGARCH model.

...

no additional arguments currently supported.

Details

For the Copula GARCH model, the prediction is based on simulation due to the nonlinear transformation present in the model.

When first stage mean or variance regressors are supplied for the forecast horizon (newxreg and newvreg), they are treated as a single deterministic path shared across all simulated paths, so regressor uncertainty is not propagated into the predictive distribution.

Value

A prediction class object for which methods exists for extracting relevant statistics such as the correlation, covariance, etc.


tsmarch documentation built on Nov. 2, 2026, 9:06 a.m.