Learn R Programming

Dowd (version 0.12)

BootstrapVaRConfInterval: Bootstrapped VaR Confidence Interval

Description

Estimates the 90level and holding period implied by data frequency.

Usage

BootstrapVaRConfInterval(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

Value

  • 90

References

Dowd, K. Measuring Market Risk, Wiley, 2007.

Examples

Run this code
# To be modified with appropriate data.
   # Estimates 90\% confidence interval for bootstrapped Var for 95\%
   # confidence interval
   Ra <- rnorm(1000)
   BootstrapVaRConfInterval(Ra, 500, 0.95)

Run the code above in your browser using DataLab