apaCVaR.Normal(Returns, ConfidenceLevel, IsSampleOtherwisePopulation)
Excel
=apaCVaR.Normal(Returns, ConfidenceLevel, IsSampleOtherwisePopulation)Result
Calculates the parametric normal conditional value at risk (CVaR) of a return time series.
Syntax
Returns: r x 1 vector of returns
ConfidenceLevel: confidence level, e.g. 0.95.
IsSampleOtherwisePopulation: optional; TRUE for sample volatility (division by n-1), FALSE for population volatility (division by n); default: FALSE
Algorithm
CVaR = μ − σ·φ(z) / α, where α = 1 − ConfidenceLevel, z = N⁻¹(α) and φ is the standard normal density. Losses are reported as negative numbers.
Remarks
The volatility is the sample (denominator n − 1) or population (denominator n) standard deviation, set by IsSampleOtherwisePopulation; default: population.
