OmegaSharpeRatio | R Documentation |
The Omega-Sharpe ratio is a conversion of the omega ratio to a ranking statistic in familiar form to the Sharpe ratio.
OmegaSharpeRatio(R, MAR = 0)
R |
an xts, vector, matrix, data frame, timeSeries or zoo object of asset returns |
MAR |
Minimum Acceptable Return, in the same periodicity as your returns |
To calculate the Omega-Sharpe ration we subtract the target (or Minimum Acceptable Returns (MAR)) return from the portfolio return and we divide it by the opposite of the Downside Deviation.
OmegaSharpeRatio(R,MAR) = \frac{r_p - r_t}{\sum^n_{t=1}\frac{max(r_t - r_i, 0)}{n}}
where n
is the number of observations of the entire series
Ho Tsung-wu <tsungwu@ntnu.edu.tw>, College of Management, National Taiwan Normal University.
Carl Bacon, Practical portfolio performance measurement
and attribution, second edition 2008, p.95
See also package PerformanceAnalytics
.
data(assetReturns)
R=assetReturns[, -29]
OmegaSharpeRatio(R)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.