Plots figure for the bootstrapped VaR, for confidence level and holding period implied by data frequency.
BootstrapVaRFigure(Ra, number.resamples, cl)
Arguments
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
Examples
# To be modified with appropriate data.# Estimates 90% confidence interval for bootstrapped VaR for 95%# confidence interval Ra <- rnorm(1000) BootstrapESFigure(Ra,500,0.95)