Description Usage Arguments Examples
The Treynor ratio is an analog to the sharp ratio, with standard deviation replaced by the asset beta to benchmark.
1 | pt.treynor(ar,br,n,rf)
|
ar |
:a vector of a risk asset return |
br |
:a vector of benchmark return |
n |
:number of years of asset return, used to calculate annualized return |
rf |
:risk free rate |
1 2 3 | rtn <- runif(24, -1, 1)
brtn <- runif(24,-1,1)
pt.treynor(rtn,brtn,2,0.024)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.