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