apaContribution.CVaR.Numerical(Weights, Returns, ConfidenceLevel, IsSmooth)
Excel
=apaContribution.CVaR.Numerical(Weights, Returns, ConfidenceLevel, IsSmooth)Result
Calculates numerical contributions to non-parametric (historical) conditional value at risk (CVaR).
Syntax
Weights: 1 x n vector of constituent weights
Returns: r x n matrix of constituent returns, each column containing a time series
ConfidenceLevel: confidence level, e.g. 0.95.
IsSmooth: TRUE for the smoothed CVaR estimate (see apaCVaR.Empirical), FALSE otherwise
Remarks
Numerical marginal contributions are calculated.
