HSESPlot2DCl {Dowd} | R Documentation |
Plots historical simulation ES against confidence level
Description
Function plots the historical simulation ES of a portfolio against confidence level, for specified range of confidence level and holding period implied by data frequency.
Usage
HSESPlot2DCl(Ra, cl)
Arguments
Ra |
Vector of daily P/L data |
cl |
Vector of ES confidence levels |
Author(s)
Dinesh Acharya
References
Dowd, K. Measuring Market Risk, Wiley, 2007.
Examples
# Plots historical simulation ES against confidence level
Ra <- rnorm(100)
cl <- seq(.90, .99, .01)
HSESPlot2DCl(Ra, cl)
[Package Dowd version 0.12 Index]