Description Usage Arguments Value Note Author(s)
Method for creating a Copula-GARCH filter object.
1 2 3 |
spec |
A |
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 |
spd.control |
If the spd transformation was chosen in the
specification, the spd.control passes its arguments to the
|
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. |
... |
. |
A cGARCHfilter
object containing details of the
Copula-GARCH filter and sharing most of the methods of the
cGARCHfit
class.
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.
Alexios Galanos
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.