Learn R Programming

rugarch (version 1.5-3)

arfimaspec-methods: function: ARFIMA Specification

Description

Method for creating an ARFIMA specification object prior to fitting.

Usage

arfimaspec(mean.model = list(armaOrder = c(1, 1), include.mean = TRUE, 
    arfima = FALSE, external.regressors = NULL), distribution.model = "norm", 
    start.pars = list(), fixed.pars = list(), ...)

Value

A ARFIMAspec object containing details of the ARFIMA specification.

Arguments

mean.model

List containing the mean model specification:
armaOrder The autoregressive (ar) and moving average (ma) orders (if any).
include.mean Whether to include the mean.
arfima Whether to include arfima (0<d<0.5).
external.regressors A matrix object containing the external regressors to include in the mean equation with as many rows as will be included in the data (which is passed in the fit function).

distribution.model

The distribution density to use for the innovations. Valid choices are “norm” for the normal distibution, “snorm” for the skew-normal distribution, “std” for the student-t, “sstd” for the skew-student-t, “ged” for the generalized error distribution, “sged” for the skew-generalized error distribution, “nig” for the normal inverse gaussian distribution, “ghyp” for the Generalized Hyperbolic, and “jsu” for Johnson's SU distribution. Note that some of the distributions are taken from the fBasics package and implenented locally here for convenience. The “jsu” distribution is the reparametrized version from the “gamlss” package.

start.pars

List of staring parameters for the optimization routine. These are not usually required unless the optimization has problems converging.

fixed.pars

List of parameters which are to be kept fixed during the optimization. It is possible that you designate all parameters as fixed so as to quickly recover just the results of some previous work or published work. The optional argument “fixed.se” in the arfimafit function indicates whether to calculate standard errors for those parameters fixed during the post optimization stage.

...

.

Author

Alexios Ghalanos

Details

The specification allows for flexibility in ARFIMA modelling.
In order to understand which parameters can be entered in the start.pars and fixed.pars optional arguments, the list below exposes the names used for the parameters:(note that when a parameter is followed by a number, this represents the order of the model. Just increment the number for higher orders):
Mean Model:

constantmu
AR termar1
MA termma1
exogenous regressorsmxreg1
arfimaarfima

Distribution Model:

dlambdadlambda (for GHYP distribution)
skewskew
shapeshape