Description Usage Arguments Value
This private function allows to compute scaling constants in the valuation formulas.
1 | computeConstant(id, scale, cov.matrix)
|
id |
an integer value. The risk-factor ids involved in the valuation formula. |
scale |
a numeric value. The scales corresponding to those risk-factors. |
cov.matrix |
a numeric matrix. The covariance matrix of the risk-factors. |
A numeric value, the scaling constant. This is equal to -0.5
times the variance of the linear combination of the risk-factors provided
in the parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.