function to compute the alpha-Value-at-Risk of a vector.
valueAtRisk(x, alpha = 0.005)
a numeric vector. The vector from which to compute the value-at-risk.
numeric value, the alpha-Value-at-Risk, must take values
between 0 and 1. Please note that we consider value-at-risk here to be equivalent
to the alpha-quantiles of
a numeric value. The value-at-risk.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.