CBOE_sigma_sq | R Documentation |
This function performs the CBOE VIX model-free implied variance calculation
according to the following formula from the 2019 VIX whitepaper:
\loadmathjax
\mjsdeqn\sigma^2 = \frac2T \left(\sum_i \frac\Delta K_iK_i^2 Q(K_i) e^rT \right) - \frac1T \left( \fracF_0K_0 - 1 \right)^2
It uses CBOE_delta_K
internally to derive the weights \mjseqn\Delta K_i
CBOE_sigma_sq(sel_option_quotes, K_0, F_0, maturity, R)
sel_option_quotes |
A |
K_0 |
|
F_0 |
|
maturity |
|
R |
|
Returns a numeric scalar
: the model-free implied volatility \mjseqn\sigma^2 as
per the CBOE formula above.
library(R.MFIV) nest <- CBOE_option_selection(option_dataset$option_quotes[[1]], 147) CBOE_sigma_sq(sel_option_quotes = nest, maturity = 0.06644802, K_0 = 147, R = 0.008769736, F_0 = 147.5697)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.