garchOxFit(formula, data, cond.dist = c("gaussian", "t", "ged", "skewed-t"),
include.mean = TRUE, trace = TRUE, control = list(), title = NULL,
description = NULL)
## S3 method for class 'garchOx':
print(x, digits, \dots)
## S3 method for class 'garchOx':
summary(object, \dots)
## S3 method for class 'garchOx':
plot(x, \dots)
truncation
- the number of truncation points,by default
100,
xscale
- should the time series be scaled by the
standard deviation ?data
, the variables are taken
from environment(formula)
, typically the environment from which
arma
formula=~garch(1,1)
. To specify for example an
ARMA(2,1)-APARCH(1,garchOx
as returned from the function
code{garchOxFit}.garchOx
as returned from the function
garchOxFit
.print
,
summary
, and plot
methods.garchOxFit
interfaces a subset of the functionality
of the G@ARCH 4.0 Package written in Ox.
G@RCH 4.0 is one of the most sophisticated packages for modelling
univariate GARCH processes including GARCH, EGARCH, GJR, APARCH,
IGARCH, FIGARCH, FIEGARCH, FIAPARCH and HYGARCH models. Parameters
can be estimated by approximate (Quasi-) maximum likelihood methods
under four assumptions: normal, Student-t, GED or skewed Student-t
errors.
About Ox:
Ox (tm) is an object-oriented matrix language with a comprehensive
mathematical and statistical function library. Many packages were
written for Ox including software mainly for econometric modelling.
The Ox packages for time series analysis and forecasting, Arfima,
Doornik and Ooms [2003], Garch, Laurent and Peters [2005], and State
Space Modelling, Koopman, Shepard and Doornik [1998], are especially worth
to note. Since most of the R-users wan't to change to another Statistical
Computing environment, we made selected parts of the G@RCH Ox software
available for them through an R-Interface. What you have to do, is
to read carefully the "Ox citation and copyright" rules and if you
agree and fullfill the conditions, then download the OxConsole Software
together with the "OxGarch" Package, currently G@RCH 4.0. If you are
not qualified for a free license, order your copy from Timberlake
Consultants. We recommend to install the "Setup.exe" under the path
"C:\Ox\Ox3" and to unzip the OxGarch Package in the directory
"C:\Ox\Ox3\Packages". An Update to Ox4 has not yet be done.
Distribution:
Ox and G@RCH are distributed by Timberlake Consultants Ltd. Timberlake
Consultants can be contacted through the following web site:
www.timberlake.co.uk.
Installation of the Interface:
In addition you have to copy the file "GarchOxModelling.ox" (which
is the interface written especially for Rmetrics) from
the "fSeries/ox/" directory to the Ox library directory
"C:\Ox\lib".
Ox Citation and Copyright Rules:
Ox and all its components are copyright of Jurgen A. Doornik. The
Console (command line) versions may be used freely for academic
research and teaching purposes only. Commercial users and others
who do not qualify for the free version must purchase the Windows
version of Ox and GiveWin with documentation, regardless of which
version they use (so even when only using Ox on Linux or Unix).
Ox should be cited whenever it is used. Refer to the two references
given below. Note, failure to cite the use of Ox in published work
may result in loss of the right to use the free version, and an
invoice at the full commercial price. Ox is available from Timberlake
Consultants. The Ox syntax is public, and you may do with your own
Ox code whatever you wish, including the file "GarchOxModelling.ox".
Work to do:
Note, only a small part of the functionalities are interfaced until
now to R. But, principally it would be possible to interface also other
functionalities offered by the Ox Garch Package. This work is left
to the Ox/Rmetrics user.Doornik J.A., Ooms M. (2003), Computational Aspects of Maximum Likelihood Estimation of Autoregressive Fractionally Integrated Moving Average Models, Computational Statistics and Data Analysis 42, 333--348. Koopman J.S., Shepard N., Doornik J.A. (1999), Statistical Algorithms for Models in State Space using SsfPack 2.2, Econometrics Journal 2, 113--166. Laurent S., Peters J.P. (2002); G@RCH 2.2: An Ox Package for Estimating and Forecasting Various ARCH Models, Journal of Economic Surveys 16, 447--485. Laurent S., Peters J.P., [2005], G@RCH 4.0, Estimating and Forecasting ARCH Models, Timberlake Consultants, www.timberlake.co.uk
## Load Benchmark Data Set:
data(dem2gbp)
x = dem2gbp[, 1]
## garchOxFit -
# Fit GARCH(1,1):
garchOxFit(formula = ~arma(0,0) + ~garch(1,1))
Run the code above in your browser using DataLab