Package: cvar 0.5.9000
Georgi N. Boshnakov
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.
Authors:
cvar_0.5.9000.tar.gz
cvar_0.5.9000.zip(r-4.5)cvar_0.5.9000.zip(r-4.4)cvar_0.5.9000.zip(r-4.3)
cvar_0.5.9000.tgz(r-4.4-any)cvar_0.5.9000.tgz(r-4.3-any)
cvar_0.5.9000.tar.gz(r-4.5-noble)cvar_0.5.9000.tar.gz(r-4.4-noble)
cvar_0.5.9000.tgz(r-4.4-emscripten)cvar_0.5.9000.tgz(r-4.3-emscripten)
cvar.pdf |cvar.html✨
cvar/json (API)
NEWS
# Install 'cvar' in R: |
install.packages('cvar', repos = c('https://geobosh.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/geobosh/cvar/issues
expected-shortfalllocations-scale-transformationsquantilequantile-functionsriskvalue-at-risk
Last updated 2 years agofrom:207fd77ccc. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 09 2024 |
R-4.5-win | OK | Nov 09 2024 |
R-4.5-linux | OK | Nov 09 2024 |
R-4.4-win | OK | Nov 09 2024 |
R-4.4-mac | OK | Nov 09 2024 |
R-4.3-win | OK | Nov 09 2024 |
R-4.3-mac | OK | Nov 09 2024 |
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Compute Conditional Value-at-Risk and Value-at-Risk | cvar-package cvar |
Compute expected shortfall (ES) of distributions | ES ES.default ES.numeric |
Specify a GARCH model | GarchModel |
Prediction for GARCH(1,1) time series | predict.garch1c1 |
Simulate GARCH(1,1) time series | sim_garch1c1 |
Compute Value-at-Risk (VaR) | VaR VaR.default VaR.numeric VaR_cdf VaR_qf |