View source: R/TS_key_dmt_rmgarch.R
TS_key_rmgarch | R Documentation |
rmgarch
-package.The TS_key_rmgarch
-function is in essence a
wrapper around the cgarchsim
-function from the
rmgarch
-package, i.e. this is based on the
"Copula GARCH simulation". The key idea is that the user can
feed this wrapper the multivariate sample of interest (the
data
-argument), and a specification of the univariate
GARCH-model, and then this function will take care of the rest.
TS_key_rmgarch(
n.sim = 100,
m.sim = 10,
uspec = NULL,
data = NULL,
rseed = NULL
)
n.sim |
The simulation horizon. Default value 100. |
m.sim |
The number of simulations. Default value 10. |
uspec |
The specification of the GARCH-model for the
univariate margins. Default value |
data |
The multivariate time series sample. The parameters of interest for the multivariate GARCH-model will be extracted from the model fitted to this sample. |
rseed |
Optional seeding value(s) for the random number generator. This should be of length equal to m.sim. |
A multivariate GARCH-type time series is returned.
This internal function has been added to the
TS_families
-list, and its arguments should thus be given
to TS_sample
, which will send them to this function by
the internal helper-function TS_sample_helper
.
The rmgarch
-package also contains other simulation
alternatives, but these have not been implemented. These
alternatives are 'dccsim' (Dynamical Conditional Correlation)
and 'gogarchsim' (Generalised Orthogonal).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.