HSVaRDFPerc function

Percentile of historical simulation VaR distribution function

Percentile of historical simulation VaR distribution function

Estimates percentiles of historical simulation VaR distribution function, using theory of order statistics, for specified confidence level.

HSVaRDFPerc(Ra, perc, cl)

Arguments

  • Ra: Vector of daily P/L data
  • perc: Desired percentile and is scalar
  • cl: VaR confidence level and is scalar

Returns

Value of percentile of VaR distribution function

Examples

# Estimates Percentiles for random standard normal returns and given perc # and cl Ra <- rnorm(100) HSVaRDFPerc(Ra, .75, .95)

Author(s)

Dinesh Acharya

References

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

  • Maintainer: Dinesh Acharya
  • License: GPL
  • Last published: 2016-03-11

Useful links