Usage
hngarchSim(model, n, innov, n.start, start.innov, rand.gen, ...)
hngarchFit(x, model = list(lambda = -0.5, omega = var(x), alpha =
0.1 * var(x), beta = 0.1, gamma = 0, rf = 0), symmetric = TRUE,
trace = FALSE, title = NULL, description = NULL, ...)
hngarchStats(model)## S3 method for class 'hngarch':
print(x, \dots)
## S3 method for class 'hngarch':
summary(object, \dots)
Arguments
description
a brief description of the porject of type character.
innov
[hngarchSim] -
is a univariate time series or vector of innovations to produce
the series. If not provided, innov
will be generated using
the random number generator specified by rand.gen
.
Missing valu
model
a list of GARCH model parameters with the following entries:
lambda
,
omega
, the constant coefficient of the variance equation,
alpha
the autoregressive coefficient,
beta
n
[hngarchSim] -
is the length of the series to be simulated. The default
value is 1000.
n.start
[hngarchSim] -
gives the number of start-up values to be discarded.
The default value is 100.
object
[summary] -
a fitted HN-GARCH(1,1) time series object of class "hngarch"
as returned from the function hngarchFit
.
rand.gen
[hngarchSim] -
is the function which is called to generate the innovations.
Usually, rand.gen
will be a random number generator.
Additional arguments required by the random number generator
rand.gen
, u
start.innov
[hngarchSim] -
is a univariate time series or vector of innovations to be used
as start up values. Missing values are not allowed.
symmetric
[hngarchFit] -
a logical, if TRUE a symmetric model is estimated, otherwise
the parameters are estimated for an asymmetric HN Garch(1,1) model.
title
a character string which allows for a project title.
trace
[hngarchFit] -
a logical value. Should the optimizarion be traced?
If trace=FALSE
, no tracing is done of the
iteration path.
x
[hngarchFit] -
an univariate vector or time series.
[print] -
a fitted HN-GARCH(1,1) time series object of class "hngarch"
as returned from the function hngarchFit
.
...
additional arguments to be passed.