KernelVaREpanechinikovKernel {Dowd}R Documentation

Calculates VaR using epanechinikov kernel approach

Description

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

Usage

KernelVaREpanechinikovKernel(Ra, cl, plot = TRUE)

Arguments

Ra

Profit and Loss data set

cl

VaR confidence level

plot

Bool, plots the cdf if true.

Value

Scalar VaR

Author(s)

Dinesh Acharya

References

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

Examples

# VaR for specified confidence level using epanechinikov kernel approach
   Ra <- rnorm(30)
   KernelVaREpanechinikovKernel(Ra, .95)

[Package Dowd version 0.12 Index]