Description Usage Arguments Value
View source: R/mean_sq_error.R
Compute the mean-square error between model and market implied volatilities
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | meansq_iv_error_kou(
v,
K,
market_iv,
spot,
maturity,
rate,
div,
ku,
kd,
what,
style,
N,
M,
lb,
ub
)
|
v |
vector of parameters: volat, lambda, prob, alpha, beta |
K |
vector of strikes |
market_iv |
vector of fees |
spot |
the underlying spot price |
maturity |
the contract maturity |
rate |
the risk-neutral rate |
div |
the dividend yield |
ku |
the upward jump displacement |
kd |
the downward jump displacement |
what |
the option type |
style |
the optionality style |
N |
time-resolution |
M |
space-resolution |
lb |
lower-bound for IV root-finder |
ub |
upper-bound for IV root-finder |
numeric
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.