Description Usage Arguments Value Author(s) References Examples
Estimates the bootstrapped VaR for confidence level and holding period implied by data frequency.
1 | BootstrapVaR(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 |
Bootstrapped VaR
Dinesh Acharya
Dowd, K. Measuring Market Risk, Wiley, 2007.
1 2 3 | # Estimates bootstrapped VaR for given parameters
a <- rnorm(100) # generate a random profit/loss vector
BootstrapES(a, 50, 0.95)
|
Loading required package: bootstrap
Loading required package: MASS
Loading required package: forecast
[1] 2.050636
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.