Learn R Programming

⚠️There's a newer version (1.5-3) of this package.Take me there.

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-2

License

GPL-3

Issues

Pull Requests

Stars

Forks

Last Published

August 19th, 2024

Functions in rugarch (1.5-2)

arfimadistribution-methods

function: ARFIMA Parameter Distribution via Simulation
VaRplot

Value at Risk Exceedances plot
arfimafilter-methods

function: ARFIMA Filtering
ARFIMAfilter-class

class: ARFIMA Filter Class
VaRloss

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

class: ARFIMA Fit Class
ugarchdistribution-methods

function: Univariate GARCH Parameter Distribution via Simulation
ARFIMA-class

class: High Level ARFIMA class
DateTimeUtilities

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

ARFIMAX time series cross validation
ARFIMAmultispec-class

class: ARFIMA Multiple Specification Class
ESTest

Expected Shortfall Test.
ARFIMAdistribution-class

class: ARFIMA Parameter Distribution Class
GARCHfit-class

class: GARCH Fit Class
ARFIMApath-class

class: ARFIMA Path Simulation Class
DACTest

Directional Accuracy Test
GARCHdistribution-class

class: GARCH Parameter Distribution Class
ARFIMAroll-class

class: ARFIMA Rolling Forecast Class
dmbp

data: Deutschemark/British pound Exchange Rate
ARFIMAsim-class

class: ARFIMA Simulation Class
GARCHpath-class

class: GARCH Path Simulation Class
ARFIMAmultiforecast-class

class: ARFIMA Multiple Forecast Class
GARCHboot-class

class: GARCH Bootstrap Class
arfimapath-methods

function: ARFIMA Path Simulation
qnig

Functions exported for use in rmgarch
sp500ret

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

class: GARCH Roll Class
GARCHsim-class

class: GARCH Simulation Class
GARCHforecast-class

class: GARCH Forecast Class
GARCHspec-class

class: GARCH Spec Class
rGARCH-class

class: rGARCH Class
VaRTest

Value at Risk Exceedances Test
ARFIMAforecast-class

class: ARFIMA Forecast Class
ARFIMAspec-class

class: ARFIMA Specification Class
ARFIMAmultifilter-class

class: ARFIMA Multiple Filter Class
arfimaroll-methods

function: ARFIMA Rolling Density Forecast and Backtesting
rugarch-package

The rugarch package
ugarchroll-methods

function: Univariate GARCH Rolling Density Forecast and Backtesting
uGARCHfilter-class

class: Univariate GARCH Filter Class
arfimasim-methods

function: ARFIMA Simulation
GARCHfilter-class

class: GARCH Filter Class
arfimaforecast-methods

function: ARFIMA Forecasting
BerkowitzTest

Berkowitz Density Forecast Likelihood Ratio Test
uGARCHforecast-class

class: Univariate GARCH Forecast Class
uGARCHspec-class

class: Univariate GARCH Specification Class
GARCHtests-class

class: GARCH Tests Class
arfimafit-methods

function: ARFIMA Fit
ugarchbench

Benchmark: The Benchmark Test Suite
GMMTest

The GMM Orthogonality Test of Hansen
arfimaspec-methods

function: ARFIMA Specification
spyreal

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

class: Univariate GARCH Fit Class
ugarchforecast-methods

function: Univariate GARCH Forecasting
ugarchpath-methods

function: Univariate GARCH Path Simulation
uGARCHmultifilter-class

class: Univariate GARCH Multiple Filter Class
ugarchsim-methods

function: Univariate GARCH Simulation
uGARCHroll-class

class: Univariate GARCH Rolling Forecast Class
HLTest

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

class: Univariate GARCH Bootstrap Class
VaRDurTest

VaR Duration Test
uGARCHdistribution-class

class: Univariate GARCH Parameter Distribution Class
ugarchspec-methods

function: Univariate GARCH Specification
multifilter-methods

function: Univariate GARCH and ARFIMA Multiple Filtering
multifit-methods

function: Univariate GARCH and ARFIMA Multiple Fitting
dji30ret

data: Dow Jones 30 Constituents Closing Value Log Return
autoarfima

Automatic Model Selection for ARFIMA models
uGARCHmultispec-class

class: Univariate GARCH Multiple Specification Class
ugarchfilter-methods

function: Univariate GARCH Filtering
uGARCHpath-class

class: Univariate GARCH Path Simulation Class
multiforecast-methods

function: Univariate GARCH and ARFIMA Multiple Forecasting
multispec-methods

function: Univariate multiple GARCH Specification
ghyptransform

Distribution: Generalized Hyperbolic Transformation and Scaling
mcsTest

Model Confidence Set Test
uGARCHsim-class

class: Univariate GARCH Simulation Class
uGARCHmultifit-class

class: Univariate GARCH Multiple Fit Class
uGARCHmultiforecast-class

class: Univariate GARCH Multiple Forecast Class
rgarchdist

Distribution: rugarch distribution functions
ugarchfit-methods

function: Univariate GARCH Fitting
ugarchboot-methods

function: Univariate GARCH Forecast via Bootstrap
ARFIMAmultifit-class

class: ARFIMA Multiple Fit Class