quarks: Simple Methods for Calculating and Backtesting Value at Risk and Expected Shortfall

Enables the user to calculate Value at Risk (VaR) and Expected Shortfall (ES) by means of various types of historical simulation. Currently plain-, age-, volatility-weighted- and filtered historical simulation are implemented in this package. Volatility weighting can be carried out via an exponentially weighted moving average model (EWMA) or other GARCH-type models. The performance can be assessed via Traffic Light Test, Coverage Tests and Loss Functions. The methods of the package are described in Gurrola-Perez, P. and Murphy, D. (2015) <https://EconPapers.repec.org/RePEc:boe:boeewp:0525> as well as McNeil, J., Frey, R., and Embrechts, P. (2015) <https://ideas.repec.org/b/pup/pbooks/10496.html>.

Getting started

Package details

AuthorSebastian Letmathe [aut, cre]
MaintainerSebastian Letmathe <sebastian.let@t-online.de>
LicenseGPL-3
Version1.1.4
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("quarks")

Try the quarks package in your browser

Any scripts or data that you put into this service are public.

quarks documentation built on June 22, 2024, 10:03 a.m.