apaBurkeRatio(PortfolioReturns, RiskfreeReturns, nDrawdowns)
=apaBurkeRatio(PortfolioReturns, RiskfreeReturns, nDrawdowns)Result
Calculates the Burke ratio, a risk-adjusted performance measure, i.e. the average excess return divided by the square root of the sum of the squared depths of the nDrawdowns largest drawdown episodes.
Syntax
PortfolioReturns: r x 1 vector of portfolio returns
RiskfreeReturns: r x 1 vector of riskfree returns (i.e. a time series) or a single riskfree rate
nDrawdowns: number of largest drawdown episodes to use (at least 1)
Algorithm
BR = (r̄P − r̄f) / √(D1² + … + DK²)
where D1, …, DK are the depths of the K deepest drawdown episodes, K = min(nDrawdowns, number of episodes).
Remarks
A drawdown episode is a run of observations below the running high-water mark of the cumulative return; its depth is the lowest value of the underwater curve within the run. If fewer than nDrawdowns episodes exist, all episodes are used. #N/A is returned if the series has no drawdown.
