Description Usage Arguments Value Author(s) References Examples
Estimates percentiles of historical simulation ES distribution function, using theory of order statistics, for specified confidence level.
1 | HSESDFPerc(Ra, perc, cl)
|
Ra |
Vector of daily P/L data |
perc |
Desired percentile and is scalar |
cl |
VaR confidence level and is scalar |
Value of percentile of VaR distribution function
Dinesh Acharya
Dowd, K. Measuring Market Risk, Wiley, 2007.
1 2 3 4 | # Estimates Percentiles for random standard normal returns and given perc
# and cl
Ra <- rnorm(100)
HSESDFPerc(Ra, .75, .95)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.