ecop.get_ld_triple | R Documentation |
Construct triple list of ecld objects by stdev, with lambda, and ratios related to stdev. This utility is used primarily in fixed point ATM hypothesis (when simulating VIX option smile).
ecop.get_ld_triple( lambda = 3, sd = 1, beta = 0, mu_plus_ratio = 0, epsilon_ratio = 0, atm_imp_k = NaN, fn_shift = NULL )
lambda |
numeric, the lambda parameter. Must be positive. Default: 3. |
sd |
numeric, the stdev parameter. Must be positive. Default: 1. |
beta |
numeric, the skewness parameter. Default: 0. |
mu_plus_ratio |
numeric, numeric, excess value in addition to |
epsilon_ratio |
numeric, epsilon ratio relative to the stdev. Default: 0. |
atm_imp_k |
numeric, ATM implied log-strike. It is derived from ATM volatility times sqare root of time to expiration. If provided, it is used to calculate the fixed point shift, -(atm_imp_k - mu). Default: NaN. the rho slot in ld1 is populated with the value. |
fn_shift |
function, takes an ecld object and return the fixed point shift, -(atm_imp_k - mu). the rho slot in ld1 is populated with the value from this function. This serves as secondary method if you don't want to provide atm_imp_k directly. |
a triple list of ecld objects. ld0 has mu=0 as vanila object; ld1 has mu and rho as prescribed; ld2 has mu=mu_D.
Stephen H-T. Lihn
lds <- ecop.get_ld_triple(3, 0.1) ld1 <- lds$ld1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.