A function to perform forecasting of the series, used by fcastGARCH
yhIterate(i, current, pars, eps, omega)
two column matrix containing forecast y (1st column) and updated h (2nd column)
the index of the forward lags
current matrix of (y,h)
parameters for the GARCH model, these would come from an MCMC run
matrix of Gaussian noise, dimension equal to number of MCMC iterations by the number of forecast lags
matrix of Inverse Gamma noise, dimension equal to number of MCMC iterations by the number of forecast lags