NormalESHotspots function

Hotspots for normal ES

Hotspots for normal ES

Estimates the ES hotspots (or vector of incremental ESs) for a portfolio assuming individual asset returns are normally distributed, for specified confidence level and holding period.

NormalESHotspots(vc.matrix, mu, positions, cl, hp)

Arguments

  • vc.matrix: Variance covariance matrix for returns
  • mu: Vector of expected position returns
  • positions: Vector of positions
  • cl: Confidence level and is scalar
  • hp: Holding period and is scalar

Returns

Hotspots for normal ES

Examples

# Hotspots for ES for randomly generated portfolio vc.matrix <- matrix(rnorm(16),4,4) mu <- rnorm(4,.08,.04) positions <- c(5,2,6,10) cl <- .95 hp <- 280 NormalESHotspots(vc.matrix, mu, positions, cl, hp)

Author(s)

Dinesh Acharya

References

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

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

Useful links