Calculates ES using triangle kernel approach

Description

The output consists of a scalar ES for specified confidence level.

Usage

1

Arguments

Ra

Profit and Loss data set

cl

VaR confidence level

Value

Scalar VaR

Author(s)

Dinesh Acharya

References

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

Examples

1
2
3
# VaR for specified confidence level using triangle kernel approach
   Ra <- rnorm(30)
   KernelESTriangleKernel(Ra, .95)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.