Description Usage Arguments Value Examples
This function will calculate the single commodity hedge ratio by minimizing the semi variance of the returns.
1 | semivar(v, w)
|
v |
length(WinLen x 1) price vector |
w |
length(WinLen x 1) column vector for weight |
semivariance of the input vector, returns a scalar
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.