Description Usage Arguments Value Author(s) References Examples
View source: R/portfoliodiversificationR.R
This function computes the Value-at-Risk (VaR) or the modified Value-at-Risk (mVaR) from a vector of financial returns. mVaR is also called the Cornish-Fisher expansion of Value-at-Risk. Compared to classic VaR, mVaR adequately accounts for the non-normality of returns.
1 | f_VaR(v_input_data, b_input_var_modified, input_prob)
|
v_input_data |
A vector including an asset or portfolio returns |
b_input_var_modified |
A boolean to compute VaR or mVaR |
input_prob |
A numerical value (probability) |
result |
A numeric value |
Jean-Baptiste Hasse
Cornish, Edmund A., and Ronald A. Fisher. "Moments and cumulants in the specification of distributions." Revue de l'Institut international de Statistique (1938): 307-320.
Jorion, Philippe. "Risk2: Measuring the risk in value at risk." Financial analysts journal 52.6 (1996): 47-56.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.