apaContribution.CDaR.Numerical(Weights, Returns, ConfidenceLevel, IsSmooth)
Excel
=apaContribution.CDaR.Numerical(Weights, Returns, ConfidenceLevel, IsSmooth)Result
Calculates numerical contributions to non-parametric conditional drawdown at risk (CDaR).
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 smooth interpolation, FALSE otherwise
Remarks
Numerical marginal contributions are calculated.
