Home   >   User Resources   >   Online Help   >   apaDRatio
 

 

Function index Version 3.0.0

apaDRatio(Returns)

Excel=apaDRatio(Returns)

Result

Returns the d-ratio, the ratio of the total size of losses to the total size of gains, each weighted by its number of occurrences.

Syntax

Returns: r x c matrix of returns. Each column represents a different time series.

Algorithm

d-ratio = (nd · Σ max(−r, 0)) / (nu · Σ max(r, 0)), where nd and nu are the numbers of negative and positive returns (Bacon 2013).

Remarks

The result is a 1 x c row vector with one value per column of Returns.

Lower values are better. The result is 0 if there are no negative returns and #N/A if there are no positive returns.