cvar: Compute Expected Shortfall and Value at Risk for Continuous Distributions

Compute expected shortfall (ES) and Value at Risk (VaR) from a quantile function, distribution function, random number generator or probability density function. ES is also known as Conditional Value at Risk (CVaR). Virtually any continuous distribution can be specified. The functions are vectorized over the arguments. The computations are done directly from the definitions, see e.g. Acerbi and Tasche (2002) <doi:10.1111/1468-0300.00091>. Some support for GARCH models is provided, as well.

Package details

AuthorGeorgi N. Boshnakov [aut, cre]
MaintainerGeorgi N. Boshnakov <>
LicenseGPL (>= 2)
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the cvar package in your browser

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

cvar documentation built on May 2, 2019, 2:09 p.m.