View source: R/Risk.R View source: R/Risk.R
| Risk | R Documentation |
Calculating for given rates of return the value at risk and the expected loss using the historical method.
Risk(data, time)
data |
A dataframe object with column dailyReturnRate |
time |
A number of time window. |
A data frame with calculated VaR and ES
#data("returnRateEUR")
#Risk(returnRateEUR, 200)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.