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)
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 ES
# 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)
Dinesh Acharya
Dowd, K. Measuring Market Risk, Wiley, 2007.
Useful links