KernelVaRTriangleKernel: Calculates VaR using triangle kernel approach

Description Usage Arguments Value Author(s) References Examples

View source: R/KernelVaRTriangleKernel.R

Description

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

Usage

1

Arguments

Ra

Profit and Loss data set

cl

VaR confidence level

plot

Bool, plots cdf if true.

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)
   KernelVaRTriangleKernel(Ra, .95)

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