powered by
The standard deviation of excess return is simply the standard deviation of the asset return over the benchmark return.
pt.sdexrtn(ar,br)
:a vector of a risk asset return
:a vector of benchmark return
# NOT RUN { artn <- runif(12, -1, 1) brtn <- runif(12,-1,1) pt.sdexrtn(artn,brtn) # }
Run the code above in your browser using DataLab