View source: R/risk_measures.R
est_var | R Documentation |
The VaR is defined as the empirical \alpha
level quantile of the
empirical distribution based on a return sample.
est_var(sample, alpha)
sample |
Numeric vector representing the sample upon which the Value at Risk is calculated. |
alpha |
Numeric vector with entries in (0,1) specifying the levels at which the VaR is calculated. |
Numeric vector with VaR estimates
(same length as alpha
).
est_es()
est_var(0:100, c(0.1, 0.2, 0.3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.