Description Usage Arguments Author(s) References Examples
Function plots the historical simulation VaR of a portfolio against confidence level, for specified range of confidence level and holding period implied by data frequency.
1 | HSVaRPlot2DCl(Ra, cl)
|
Ra |
Vector of daily P/L data |
cl |
Vector of VaR confidence levels |
Dinesh Acharya
Dowd, K. Measuring Market Risk, Wiley, 2007.
1 2 3 4 | # Plots historical simulation VaR against confidence level
Ra <- rnorm(100)
cl <- seq(.90, .99, .01)
HSVaRPlot2DCl(Ra, cl)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.