View source: R/garchForecast.R
yhIterate | R Documentation |
A function to perform forecasting of the series, used by fcastGARCH
yhIterate(i, current, pars, eps, omega)
i |
the index of the forward lags |
current |
current matrix of (y,h) |
pars |
parameters for the GARCH model, these would come from an MCMC run |
eps |
matrix of Gaussian noise, dimension equal to number of MCMC iterations by the number of forecast lags |
omega |
matrix of Inverse Gamma noise, dimension equal to number of MCMC iterations by the number of forecast lags |
two column matrix containing forecast y (1st column) and updated h (2nd column)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.