Description Usage Arguments Value Author(s) Examples
Method for filtering the GO-GARCH model.
1 | gogarchfilter(fit, data, out.sample = 0, n.old = NULL, cluster = NULL, ...)
|
fit |
A GO-GARCH fit object of class |
data |
A multivariate data object. Can be a matrix or data.frame or timeSeries. |
out.sample |
A positive integer indicating the number of periods before the last to keep for out of sample forecasting. |
n.old |
For comparison with goGARCHfit models using the out.sample argument, this is the length of the original dataset. |
cluster |
A cluster object created by calling |
... |
. |
A goGARCHfilter
object containing details of the GO-GARCH
filter.
Alexios Galanos
1 2 3 4 5 6 7 | ## Not run:
data(dji30ret)
spec = gogarchspec()
fit = gogarchfit(spec = spec, data = dji30ret[,1:4], gfun = "tanh")
filter = gogarchfilter(fit, data = dji30ret[,1:4])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.