BootstrapVaR: Bootstrapped VaR for specified confidence level

Description Usage Arguments Value Author(s) References Examples

View source: R/BootstrapVaR.R

Description

Estimates the bootstrapped VaR for confidence level and holding period implied by data frequency.

Usage

1
BootstrapVaR(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

Bootstrapped VaR

Author(s)

Dinesh Acharya

References

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

Examples

1
2
3
# Estimates bootstrapped VaR for given parameters
   a <- rnorm(100) # generate a random profit/loss vector
   BootstrapES(a, 50, 0.95)

Dowd documentation built on May 30, 2017, 1:30 a.m.