HSVaRFigure: Figure of Historical SImulation VaR and histogram of L/P

Description Usage Arguments Author(s) References Examples

View source: R/HSVaRFigure.R

Description

Plots figure showing the historical simulation VaR and histogram of L/P for specified confidence level and holding period implied by data frequency.

Usage

1
HSVaRFigure(Ra, cl)

Arguments

Ra

Vector of profit loss data

cl

ES confidence level

Author(s)

Dinesh Acharya

References

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

Examples

1
2
3
# Plots figure showing VaR and histogram of P/L data
   Ra <- rnorm(100)
   HSVaRFigure(Ra, .95)

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

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