Quote from Pro_Trader720:
I believe the general formula is:
(AROR-RFROR)/DR;
where:
AROR = Annualized Rate of Return
RFROR = Risk Free Rate of Return
DR = Downside Risk
Downside risk is generally defined as the standard deviation of negative returns.
Quote from Stoxtrader:
You could use the PerformanceAnalytics library in R. Source code is available:
http://braverock.com/brian/R/PerformanceAnalytics/html/SortinoRatio.html
http://cran.r-project.org/web/packa...erformanceAnalyticsPresentation-UseR-2007.pdf
Note, IMHO it only matters going forward. If in backtesting a Sharpe ratio or Sortino ratio is high/low, that doesn't mean it will continue to be so. It's kindof nice to have some measure of risk, but risk is tricky to predict.
Quote from Pro_Trader720:
I believe the general formula is:
(AROR-RFROR)/DR;
where:
AROR = Annualized Rate of Return
RFROR = Risk Free Rate of Return
DR = Downside Risk
Downside risk is generally defined as the standard deviation of negative returns.
Quote from mizhael:
Thanks. So you are a R trader?
I really like R however I really really hate R's debugging functionality.
It's just not suitable for writing a little large program in bug-free manner.
And also I like those fancy stats packages however their quality assurance is my concern...