HSVaRESPlot2DCl: Plots historical simulation VaR and ES against confidence...

Description Usage Arguments Author(s) References Examples

Description

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.

Usage

1

Arguments

Ra

Vector of daily P/L data

cl

Vectof of VaR confidence levels

Author(s)

Dinesh Acharya

References

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

Examples

1
2
3
4
# Plots historical simulation VaR and ES against confidence level
   Ra <- rnorm(100)
   cl <- seq(.90, .99, .01)
   HSVaRESPlot2DCl(Ra, cl)

Dowd documentation built on May 2, 2019, 6:15 p.m.