apaCVaR.Modified(Returns, ConfidenceLevel)
Excel
=apaCVaR.Modified(Returns, ConfidenceLevel)Result
Calculates the modified conditional value at risk (modified CVaR) of a return time series.
Syntax
Returns: r x 1 vector of returns
ConfidenceLevel: confidence level, e.g. 0.95.
Algorithm
CVaR = μ − σ·φ(z) / α · (1 + z·S/6 + (1 − 2z²)·S²/36 + (z² − 1)·K/24), where α = 1 − ConfidenceLevel, z = N⁻¹(α), S is the skewness and K the excess kurtosis. Losses are reported as negative numbers.
Remarks
Population moments of the returns are used.
