Description Usage Arguments Examples
The up and down capture is a measure of how an asset was able to improve on benchmark returns or how it underperforms over the benchmark.
1 | pt.updwcap(ar,br,n)
|
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 |
1 2 3 | artn <- runif(12, -1, 1)
brtn <- runif(12,-1,1)
pt.updwcap(artn,brtn,1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.