Bootstrapped VaR for specified confidence level
Estimates the bootstrapped VaR for confidence level and holding period implied by data frequency.
BootstrapVaR(Ra, number.resamples, cl)
Ra
: Vector corresponding to profit and loss distributionnumber.resamples
: Number of samples to be taken in bootstrap procedurecl
: Number corresponding to Value at Risk confidence levelBootstrapped VaR
# Estimates bootstrapped VaR for given parameters a <- rnorm(100) # generate a random profit/loss vector BootstrapES(a, 50, 0.95)
Dinesh Acharya
Dowd, K. Measuring Market Risk, Wiley, 2007.
Useful links