Description Usage Arguments Details Value Author(s)
Generates n-ahead forecast moment matrices given a choice of data generating processes.
1 2 3 4 |
Data |
An n-by-m data matrix or data.frame. |
spec |
Either a DCCspec or GOGARCHspec. |
n.ahead |
The n.ahead forecasts (n.ahead>1 is unconditional). |
roll |
Whether to fit the data using (n - roll) periods and then return a (roll+1) n-ahead rolling forecast moments. |
solver |
The choice of solver to use for all models but “var”, and includes ‘solnp’, ‘nlminb’ and ‘nloptr’. |
solver.control |
Optional control options passed to the appropriate solver chosen. |
fit.control |
Control arguments passed to the fitting routine. |
cluster |
A cluster object created by calling |
save.output |
Whether output should be saved to file instead of being returned to the workspace. |
save.dir |
The directory to save output if save.output is TRUE. |
save.name |
The name of the file to save the output list. |
... |
Additional parameters passed to the model fitting routines. In particular, for the ‘gogarch’ model additional parameters are passed to the ICA routines, whereas for the ‘dcc’ and ‘cgarch’ models this would include the ‘realizedVol’ xts matrix for the realGARCH model. |
The function allows to generate forecast covariance matrices for use in the QP based EV model, and also for the “gogarch” model higher co-moment matrices for use in the Utility maximization model implemented separately.
A fMoments
object containing the forecast moments
(list of length roll+1) and the model details (list).
Alexios Galanos
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.