apaContribution.Volatility.ExpWeighted(Weights, Returns, HalfLife)
Excel
=apaContribution.Volatility.ExpWeighted(Weights, Returns, HalfLife)Result
Calculates the contributions of portfolio constituents to ex ante exponentially weighted portfolio volatility.
Syntax
Weights: 1 x n vector of constituent weights
Returns: r x n matrix of constituent returns, each column containing a time series
HalfLife: half-life of the exponential weighting scheme
Remarks
Exponentially weighted moments; the weights sum to one (population-type, no small-sample correction).
