Hotspots for normal VaR
Estimates the VaR hotspots (or vector of incremental VaRs) for a portfolio assuming individual asset returns are normally distributed, for specified confidence level and holding period.
NormalVaRHotspots(vc.matrix, mu, positions, cl, hp)
vc.matrix
: Variance covariance matrix for returnsmu
: Vector of expected position returnspositions
: Vector of positionscl
: Confidence level and is scalarhp
: Holding period and is scalarHotspots for normal VaR
# 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 NormalVaRHotspots(vc.matrix, mu, positions, cl, hp)
Dinesh Acharya
Dowd, K. Measuring Market Risk, Wiley, 2007.
Useful links