Home   >   User Resources   >   Online Help   >   apaGainLossSpread
 

 

Function index Version 3.0.0

apaGainLossSpread(TimeSeries, Threshold)

Excel=apaGainLossSpread(TimeSeries, Threshold)

Result

Calculates the gain-loss spread, a risk measure, i.e. the average return at or above the threshold minus the average return below the threshold.

Syntax

TimeSeries: r x 1 data vector containing a time series

Threshold: return threshold. Either a single value or a vector with one entry per return (r x 1 or 1 x r).

Algorithm

Arithmetic difference between the expected gain and the expected loss relative to a threshold.

Remarks

Returns equal to the threshold count as gains. A threshold vector of any other size returns an error, and #N/A is returned if there are no gains or no losses. See the SSRN working paper by Javier Estrada (2009): “The Gain-Loss Spread: A New and Intuitive Measure of Risk”.