apaCVaG.Empirical(Returns, ConfidenceLevel)
Excel
=apaCVaG.Empirical(Returns, ConfidenceLevel)Result
Calculates the empirical conditional value at gain (CVaG) from a time series matrix of returns.
Syntax
Returns: r x c matrix of returns. Each column represents a different time series.
ConfidenceLevel: confidence level, e.g. 95%.
Algorithm
Remarks
CVaG is the average of the returns above the value at gain (VaG), the ConfidenceLevel percentile of each column; for a confidence level of 0.95 this is the average of the best 5% of returns. #N/A is returned if no return lies above the VaG.
