HSVaRESPlot2DCl function

Plots historical simulation VaR and ES against confidence level

Plots historical simulation VaR and ES against confidence level

Function plots the historical simulation VaR and ES of a portfolio against confidence level, for specified range of confidence level and holding period implied by data frequency.

HSVaRESPlot2DCl(Ra, cl)

Arguments

  • Ra: Vector of daily P/L data
  • cl: Vectof of VaR confidence levels

Examples

Ra <- rnorm(100) cl <- seq(.90, .99, .01) HSVaRESPlot2DCl(Ra, cl)

Author(s)

Dinesh Acharya

References

Dowd, K. Measuring Market Risk, Wiley, 2007.

  • Maintainer: Dinesh Acharya
  • License: GPL
  • Last published: 2016-03-11

Useful links