Learn R Programming

rugarch

The rugarch package is the premier open source software for univariate GARCH modelling. It is written in R using S4 methods and classes with a significant part of the code in C and C++ for speed. It contains a number of GARCH models beyond the vanilla version including IGARCH, EGARCH, GJR, APARCH, FGARCH, Component-GARCH, multiplicative Component-GARCH for high frequency returns and the realized-GARCH model, as well as a very large number of conditional distributions including (Skew)-Normal, (Skew)-GED, (Skew)-Student (Fernandez/Steel), (Skew)-Student (GH), Normal Inverse Gaussian (NIG), Generalized Hyperbolic (GH) and Johnson?s SU (JSU). The conditional mean equation includes ARFIMA and ARCH-in-mean, and is estimated in a joint step with the GARCH model. Both the conditional mean and variance parts allow for external regressors to be used. A comprehensive set of methods to work with these models are implemented, and include estimation, filtering, forecasting, simulation, inference tests and plots, with additional functionality in the form of the GARCH bootstrap, parameter uncertainty via the GARCH distribution function, misspecification tests (Hansen's GMM and Hong & Li Portmanteau type test), predictive accuracy tests (Pesaran & Timmermann, Anatolyev & Gerko), and Value at Risk tests (VaR Exceedances and Expected Shortfall tests).

The stable version is on CRAN. The development version is now on github.

A new package based on a moden rewrite of rugarch is available here

Copy Link

Version

Install

install.packages('rugarch')

Monthly Downloads

40,361

Version

1.5-3

License

GPL-3

Issues

Pull Requests

Stars

Forks

Last Published

September 22nd, 2024

Functions in rugarch (1.5-3)

ARFIMAspec-class

class: ARFIMA Specification Class
DACTest

Directional Accuracy Test
DateTimeUtilities

A small set of utilities to work with some time and date classes.
ESTest

Expected Shortfall Test.
GARCHboot-class

class: GARCH Bootstrap Class
ARFIMAsim-class

class: ARFIMA Simulation Class
GARCHdistribution-class

class: GARCH Parameter Distribution Class
ARFIMAroll-class

class: ARFIMA Rolling Forecast Class
GMMTest

The GMM Orthogonality Test of Hansen
VaRDurTest

VaR Duration Test
HLTest

The Non-Parametric Density Test of Hong and Li
GARCHforecast-class

class: GARCH Forecast Class
GARCHtests-class

class: GARCH Tests Class
BerkowitzTest

Berkowitz Density Forecast Likelihood Ratio Test
GARCHfilter-class

class: GARCH Filter Class
GARCHpath-class

class: GARCH Path Simulation Class
GARCHfit-class

class: GARCH Fit Class
arfimafit-methods

function: ARFIMA Fit
GARCHsim-class

class: GARCH Simulation Class
GARCHspec-class

class: GARCH Spec Class
arfimadistribution-methods

function: ARFIMA Parameter Distribution via Simulation
arfimaforecast-methods

function: ARFIMA Forecasting
GARCHroll-class

class: GARCH Roll Class
autoarfima

Automatic Model Selection for ARFIMA models
multifilter-methods

function: Univariate GARCH and ARFIMA Multiple Filtering
dji30ret

data: Dow Jones 30 Constituents Closing Value Log Return
arfimaspec-methods

function: ARFIMA Specification
arfimasim-methods

function: ARFIMA Simulation
arfimafilter-methods

function: ARFIMA Filtering
VaRplot

Value at Risk Exceedances plot
arfimacv

ARFIMAX time series cross validation
ghyptransform

Distribution: Generalized Hyperbolic Transformation and Scaling
mcsTest

Model Confidence Set Test
arfimaroll-methods

function: ARFIMA Rolling Density Forecast and Backtesting
arfimapath-methods

function: ARFIMA Path Simulation
multifit-methods

function: Univariate GARCH and ARFIMA Multiple Fitting
uGARCHfit-class

class: Univariate GARCH Fit Class
uGARCHfilter-class

class: Univariate GARCH Filter Class
multiforecast-methods

function: Univariate GARCH and ARFIMA Multiple Forecasting
VaRloss

Value at Risk loss function of Gonzalez-Rivera, Lee, and Mishra (2004)
VaRTest

Value at Risk Exceedances Test
multispec-methods

function: Univariate multiple GARCH Specification
dmbp

data: Deutschemark/British pound Exchange Rate
uGARCHdistribution-class

class: Univariate GARCH Parameter Distribution Class
sp500ret

data: Standard and Poors 500 Closing Value Log Return
uGARCHboot-class

class: Univariate GARCH Bootstrap Class
ugarchbench

Benchmark: The Benchmark Test Suite
uGARCHroll-class

class: Univariate GARCH Rolling Forecast Class
uGARCHmultispec-class

class: Univariate GARCH Multiple Specification Class
uGARCHpath-class

class: Univariate GARCH Path Simulation Class
uGARCHsim-class

class: Univariate GARCH Simulation Class
qnig

Functions exported for use in rmgarch
uGARCHmultiforecast-class

class: Univariate GARCH Multiple Forecast Class
uGARCHspec-class

class: Univariate GARCH Specification Class
uGARCHmultifit-class

class: Univariate GARCH Multiple Fit Class
spyreal

data: SPDR Standard and Poors 500 Open-Close Daily Return and Realized Kernel Volatility
rGARCH-class

class: rGARCH Class
rugarch-package

The rugarch package
uGARCHforecast-class

class: Univariate GARCH Forecast Class
ugarchdistribution-methods

function: Univariate GARCH Parameter Distribution via Simulation
uGARCHmultifilter-class

class: Univariate GARCH Multiple Filter Class
ugarchpath-methods

function: Univariate GARCH Path Simulation
ugarchfit-methods

function: Univariate GARCH Fitting
ugarchforecast-methods

function: Univariate GARCH Forecasting
ugarchroll-methods

function: Univariate GARCH Rolling Density Forecast and Backtesting
ugarchsim-methods

function: Univariate GARCH Simulation
ugarchfilter-methods

function: Univariate GARCH Filtering
ugarchspec-methods

function: Univariate GARCH Specification
rgarchdist

Distribution: rugarch distribution functions
ugarchboot-methods

function: Univariate GARCH Forecast via Bootstrap
ARFIMAfilter-class

class: ARFIMA Filter Class
ARFIMAmultifilter-class

class: ARFIMA Multiple Filter Class
ARFIMAdistribution-class

class: ARFIMA Parameter Distribution Class
ARFIMAmultiforecast-class

class: ARFIMA Multiple Forecast Class
ARFIMA-class

class: High Level ARFIMA class
ARFIMAfit-class

class: ARFIMA Fit Class
ARFIMAmultifit-class

class: ARFIMA Multiple Fit Class
ARFIMAmultispec-class

class: ARFIMA Multiple Specification Class
ARFIMApath-class

class: ARFIMA Path Simulation Class
ARFIMAforecast-class

class: ARFIMA Forecast Class