apaVolatilities.MatchObservedCVaRs(CVaR, Mu, ConfidenceLevel)
Excel
=apaVolatilities.MatchObservedCVaRs(CVaR, Mu, ConfidenceLevel)Result
Finds the normal volatilities which reproduce given conditional values at risk (CVaR), given the means and a confidence level.
Syntax
CVaR: 1 x c vector of CVaR figures to match
Mu: 1 x c vector of location parameters
ConfidenceLevel: confidence level, e.g. 0.95.
Algorithm
For each constituent, the volatility is calculated as σ = (1 - ConfidenceLevel) * (Mu - CVaR) / φ(z), with z the (1 - ConfidenceLevel) quantile and φ the density of the standard normal distribution.
Remarks
CVaR figures are expressed as returns, i.e. losses are negative figures.
