BootstrapES: Bootstrapped ES for specified confidence level

Description Usage Arguments Value Author(s) References Examples

View source: R/BootstrapES.R

Description

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

Usage

1
BootstrapES(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 Expected Shortfall confidence level

Value

Bootstrapped Expected Shortfall

Author(s)

Dinesh Acharya

References

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

Examples

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

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