gogarchfilter-methods: function: GO-GARCH Filter

Description Usage Arguments Value Author(s) Examples

Description

Method for filtering the GO-GARCH model.

Usage

1
gogarchfilter(fit, data, out.sample = 0, n.old = NULL, cluster = NULL, ...) 

Arguments

fit

A GO-GARCH fit object of class goGARCHfit.

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 makeCluster from the parallel package. If it is not NULL, then this will be used for parallel estimation (remember to stop the cluster on completion).

...

.

Value

A goGARCHfilter object containing details of the GO-GARCH filter.

Author(s)

Alexios Galanos

Examples

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)

rmgarch documentation built on Feb. 5, 2022, 1:07 a.m.