1FSVJ Model¶
In this subpackage (ajdmom.mdl_1fsvj), we consider the following
SV model,
which adds a jump component in the log price process of the Heston model:
where \(z(t)\) is a CPP with a constant arrival rate \(\lambda\) and jump distribution \(F_j(\cdot,\boldsymbol{\theta}_j)\) with parameter \(\boldsymbol{\theta}_j\). We take normal distribution with mean \(\mu_j\) and variance \(\sigma_j^2\) as an example of \(F_j(\cdot,\boldsymbol{\theta}_j)\). For this model,
where
where \(N(t)\) is a Poisson process with rate \(\lambda\), \(j_i\sim\mathcal{N}(\mu_j,\sigma_j^2)\).
Moments¶
Moments and Central Moments
Functions moment_y() and
cmoment_y() can be used to compute
\(E[y_{o,n}^i]\) and
\(E[\overline{y}_{o,n}^i]\), respectively.
Meanwhile, functions mcpp() and
cmcpp() can be used to compute
\(E[J_n^{l-i}]\) and
\(E[\overline{J}_n^{l-i}]\), respectively.
Covariances¶
which reduces to
Function moment_yy() in module
ajdmom.mdl_1fsv.cov can be used to compute
\(E[y_{o,n}^jy_{o,n+1}^i]\).
In summary, I defined
moment_y()for moment \(E[y_n^l]\).cmoment_y()for central moment \(E[\overline{y}_{n}^l]\).cov_yy()for covariance \(cov(y_n^{l_1}, y_{n+1}^{l_2})\).
API¶
Central Moments for One-Factor SV with jumps |
|
Moments for One-Factor SV with jumps |
|
Covariance for One-Factor SV with jumps |
|
Module for generating a trajectory of samples from mdl_1fsvj by Euler approximation |