Description Usage Arguments Value Author(s) References Examples
View source: R/BootstrapVaRConfInterval.R
Estimates the 90 level and holding period implied by data frequency.
1 | BootstrapVaRConfInterval(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 |
90
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)
BootstrapVaRConfInterval(Ra, 500, 0.95)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.