Description Usage Arguments Author(s) References Examples
Plots figure for the bootstrapped VaR, for confidence level and holding period implied by data frequency.
1 | BootstrapVaRFigure(Ra, number.resamples, cl)
|
Ra |
Vector corresponding to profit and loss distribution |
number.resamples |
Number of samples to be taken in bootstrap procedure |
cl |
Number corresponding to Value at Risk confidence level |
Dinesh Acharya
Dowd, K. Measuring Market Risk, Wiley, 2007.
1 2 3 4 5 | # To be modified with appropriate data.
# Estimates 90% confidence interval for bootstrapped VaR for 95%
# confidence interval
Ra <- rnorm(1000)
BootstrapESFigure(Ra, 500, 0.95)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.