TreynorRatio: calculate Treynor Ratio or modified Treynor Ratio of excess...

TreynorRatioR Documentation

calculate Treynor Ratio or modified Treynor Ratio of excess return over CAPM beta

Description

The Treynor ratio is similar to the Sharpe Ratio, except it uses beta as the volatility measure (to divide the investment's excess return over the beta).

Usage

TreynorRatio(Ra, Rb, Rf = 0, scale = NA, modified = FALSE)

Arguments

Ra

an xts, vector, matrix, data frame, timeSeries or zoo object of asset returns

Rb

return vector of the benchmark asset

Rf

risk free rate, in same period as your returns

scale

number of periods in a year (daily scale = 252, monthly scale = 12, quarterly scale = 4)

modified

a boolean to decide whether to return the Treynor ratio or Modified Treynor ratio

Details

To calculate modified Treynor ratio, we divide the numerator by the systematic risk instead of the beta.

Equation:

TreynorRatio = \frac{\overline{(R_{a}-R_{f})}}{\beta_{a,b}}

ModifiedTreynorRatio = \frac{r_p - r_f}{\sigma_s}

Author(s)

Ho Tsung-wu <tsungwu@ntnu.edu.tw>, College of Management, National Taiwan Normal University.

References

https://en.wikipedia.org/wiki/Treynor_ratio, Carl Bacon, Practical portfolio performance measurement and attribution, second edition 2008 p.77
See also package PerformanceAnalytics.

See Also

SharpeRatio SortinoRatio

Examples


  data(assetReturns)
	assetReturns=assetReturns["2011::2018"] #short sample for fast example
	Ra=assetReturns[, -29]
	Rb=assetReturns[,29] #DJI

  TreynorRatio(Ra, Rb)


JFE documentation built on Aug. 28, 2023, 9:06 a.m.

Related to TreynorRatio in JFE...