HSVaRPlot2DCl: Plots historical simulation VaR against confidence level

Description Usage Arguments Author(s) References Examples

View source: R/HSVaRPlot2DCl.R

Description

Function plots the historical simulation VaR of a portfolio against confidence level, for specified range of confidence level and holding period implied by data frequency.

Usage

1
HSVaRPlot2DCl(Ra, cl)

Arguments

Ra

Vector of daily P/L data

cl

Vector of VaR confidence levels

Author(s)

Dinesh Acharya

References

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

Examples

1
2
3
4
# Plots historical simulation VaR against confidence level
   Ra <- rnorm(100)
   cl <- seq(.90, .99, .01)
   HSVaRPlot2DCl(Ra, cl)

Dowd documentation built on May 21, 2017, 3:50 a.m.

Search within the Dowd package
Search all R packages, documentation and source code