excess_return | R Documentation |
Return on asset - risk free rate
excess_return(x, frisk = 0)
x |
asset returns |
frisk |
annual free-risk rate. For daily rate (frisk/252), weekly (frisk/52), monthly (frisk/12), etc |
numeric
xx <- c(0.003,0.026,0.015,-0.009,0.014,0.024,0.015,0.066,-0.014,0.039)
excess_return(xx,frisk=0.02/12)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.