cgarchfilter-methods: function: Copula-GARCH Filter

Description Usage Arguments Value Note Author(s)

Description

Method for creating a Copula-GARCH filter object.

Usage

1
2
3
cgarchfilter(spec, data, out.sample = 0, filter.control = list(n.old = NULL), 
spd.control = list(lower = 0.1, upper = 0.9, type = "pwm", kernel = "epanech"), 
cluster = NULL, varcoef = NULL, realizedVol = NULL, ...)  

Arguments

spec

A cGARCHspec object created by calling cgarchspec with fixed parameters for the coeffficients.

data

A multivariate xts data object or one which can be coerced to such.

out.sample

A positive integer indicating the number of periods before the last to keep for out of sample forecasting.

filter.control

Control arguments passed to the filtering routine (see note below).

cluster

A cluster object created by calling makeCluster from the parallel package. If it is not NULL, then this will be used for parallel estimation (remember to stop the cluster on completion).

spd.control

If the spd transformation was chosen in the specification, the spd.control passes its arguments to the spdfit routine of the spd package.

varcoef

If a VAR model was chosen, then this is the VAR coefficient matrix which must be supplied. No checks are done on its dimension or correctness so it is up to the user to perform the appropriate checks.

realizedVol

Required xts matrix for the realGARCH model.

...

.

Value

A cGARCHfilter object containing details of the Copula-GARCH filter and sharing most of the methods of the cGARCHfit class.

Note

The ‘n.old’ option in the filter.control argument is key in replicating conditions of the original fit. That is, if you want to filter a dataset consisting of an expanded dataset (versus the original used in fitting), but want to use the same assumptions as the original dataset then the ‘n.old’ argument denoting the original number of data points passed to the cgarchfit function must be provided. This is then used to ensure that some calculations which make use of the full dataset (unconditional starting values for the garch filtering, the dcc model and the copula transformation methods) only use the first ‘n.old’ points thus replicating the original conditions making filtering appropriate for rolling 1-ahead forecasting.
For extensive examples look in the ‘rmgarch.tests’ folder.

Author(s)

Alexios Galanos


rmgarch documentation built on Feb. 5, 2022, 1:07 a.m.