Learn R Programming

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

GAS

GAS implements the Generalized Autoregressive Score (GAS) framework in R. The GAS package provides functions to simulate univariate and multivariate GAS processes, estimate the GAS parameters and to make time series forecasts. Full description of the algorithm and numerous applications are available in Ardia et al. (2018) and Ardia et al. (2019).

Please cite the package in publications!

By using GAS you agree to the following rules:

  1. You must cite Ardia et al. (2019) in working papers and published papers that use GAS.
  2. You must place the following URL in a footnote to help others find GAS: https://CRAN.R-project.org/package=GAS.
  3. You assume all risk for the use of GAS.

Ardia, D., Boudt, K., Catania, L. (2018).
Downside Risk Evaluation with the R Package GAS.
R Journal, 10(2), 410-421.
https://doi.org/10.32614/RJ-2018-064

Ardia, D., Boudt, K., Catania, L. (2019).
Generalized autoregressive score models in R: The GAS package.
Journal of Statistical Software, 88(6), 1-28.
https://doi.org/10.18637/jss.v088.i06

Copy Link

Version

Install

install.packages('GAS')

Monthly Downloads

789

Version

0.3.3

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Leopoldo Catania

Last Published

April 27th, 2020

Functions in GAS (0.3.3)

BacktestVaR

Backtest Value at Risk (VaR)
MultiGASSim

Simulate multivariate GAS processes
MultiGASSpec

Multivariate GAS specification
PIT_test

Goodness of fit for conditional densities
StockIndices

Data: Daily logarithmic returns in percentage points of the DAX, FTSEMIB and CAC40 from 2007-01-03 to 2016-06-24
UniGASRoll

Rolling forecast with univariate GAS models
UniGASSim

Simulate Univariate GAS processes
MultiGASRoll

Rolling forecast with multivariate GAS models
UniGASFit

Estimate univariate GAS models
MultiGASFor

Forecast with multivariate GAS models
UniGASSpec

Univariate GAS specification
UniMapParameters

Mapping function for univariate distributions
plot-methods

dji30ret

data: Dow Jones 30 Constituents Closing Value Log Return in percentage points
UniGASFor

Forecast with univariate GAS models
tqdata

Data from Bien et al (2011).
fn.optim

mGASSim

Class for Multivariate GAS Simulation
uGASFor

Class for the univariate GAS forecast object
uGASFit

Class for the univariate GAS fitted object
mGASSpec

Class for the Multivariate GAS model specification
UniUnmapParameters

uGASSpec

Class for the univariate GAS model specification
MultiUnmapParameters

MultiMapParameters

Mapping function for univariate distributions
sp500ret

Data: Daily logarithmic returns in percentage points of the S&P500 index from 1950-01-04 to 2016-06-24
usunp

US Monthly Civilian Unemployment Rate (UNRATE) from 1948-01-01 to 2016-05-01
fn.solnp

A wrapper to the solnp function of the Rsolnp package of Ghalanos and Theussl (2016).
mGASFit

Class for the Multivariate GAS fitted object
sp500rv

Data: SP500 Daily 5 minutes Realized Volatility from 2000-01-03 to 2000-01-10
mGASFor

Class for the Multivariate GAS Forecast object
cpichg

Data: Quarterly logarithmic change in percentage points of the Consumer Price Index for All Urban Consumers: All Items (CPIAUCSL) from 1947-04-01 to 2016-05-01
uGASSim

Class for Univariate GAS Simulation
mGASRoll

Class for the Multivariate GAS Rolling object
uGASRoll

Class for the univariate GAS rolling object
FZLoss

Fissler and Ziegel (2016) (FZ) joint loss function for Value at Risk and Expected Shortfall.
Goals

data: Goals scored by England against Scotland in international football matches.
BacktestDensity

Backtest a series of one-step ahead density predictions.
MultiGASFit

Estimate multivariate GAS models
GAS-package

Generalized Autoregressive Score models in R
DistInfo

Information for the supported distributions
distributions

Distributions of the GAS package
NumericalBounds

Numerical bounds imposed in parameters transformation.
ConfidenceBands

Build confidence bands for the filtered parameters