powered by
BootstrapVaR(Ra, number.resamples, cl)
# Estimates bootstrapped VaR for given parameters a <- rnorm(100) # generate a random profit/loss vector BootstrapES(a, 50, 0.95)
Run the code above in your browser using DataLab