Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

arfimafilter-methods

function: ARFIMA Filtering


Description

Method for filtering an ARFIMA model.

Usage

arfimafilter(spec, data, out.sample = 0, n.old=NULL, ...)

Arguments

data

A univariate data object. Can be a numeric vector, matrix, data.frame, zoo, xts, timeSeries, ts or irts object.

spec

An ARFIMA spec object of class ARFIMAspec with the fixed.pars argument having the model parameters on which the filtering is to take place.

out.sample

A positive integer indicating the number of periods before the last to keep for out of sample forecasting (as in arfimafit function).

n.old

For comparison with ARFIMA models using the out.sample argument, this is the length of the original dataset (see details).

...

.

Details

The n.old argument is optional and indicates the length of the original data (in cases when this represents a dataseries augmented by newer data). The reason for using this is so that the old and new datasets agree since the original recursion uses the sum of the residuals to start the recursion and therefore is influenced by new data. For a small augmentation the values converge after x periods, but it is sometimes preferable to have this option so that there is no forward looking information contaminating the study.

Value

A ARFIMAfilter object containing details of the ARFIMA filter.

Author(s)

Alexios Ghalanos


rugarch

Univariate GARCH Models

v1.4-4
GPL-3
Authors
Alexios Ghalanos [aut, cre], Tobias Kley [ctb]
Initial release
2020-07-14

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.