SVVJ Model¶
In this subpackage (ajdmom.mdl_svvj), we consider the following
SV model,
which adds a jump component in the variance of the Heston model:
where \(z(t)\) is a CPP with constant arrival rate \(\lambda\) and jumps distributed according to distribution \(F_j(\cdot,\boldsymbol{\theta}_j)\) with parameter \(\boldsymbol{\theta}_j\). Usually, the jump distribution is set as an exponential distribution with scale parameter \(\mu_v\) (= 1/rate), which will help to assure the variance always be non-negative, i.e., \(v(t) \ge 0, \forall t\ge 0\).
Define \(y_t \equiv \log s(t) - \log s(0)\). Then, we have
where \(\beta_t \equiv (1-e^{-kt})/(2k)\). Please refer to ajdmom.ito_cond2_mom for the definitions of \(I\!E\!Z_t\) and \(I\!Z_t\). Please also note that \(I\!E_t\equiv I\!E_{0,t}, I_t\equiv I_{0,t}, I_t^{*} \equiv I_{0,t}^{*}\), and refer to Theory for the definitions of \(I\!E_{s,t}, I_{s,t}, I_{s,t}^{*}\).
Conditional Moments - I¶
Given the initial variance \(v_0\), the conditional mean of \(y_t\) is given as
Let us define \(\overline{y}_t \triangleq y_t - \mathbb{E}[y_t|v_0]\), then we have
Central Moments¶
Then, the \(l\)-th conditional central moment can be computed via
where \(\mathbf{n} = (n_1,n_2,n_3,n_4,n_5,n_6,n_7)\), \(n_1+\cdots+n_7=l\),
Moments¶
Given conditional central moments, it is easy to compute conditional moments as the following
Unconditional Moments¶
By substituting the terms \(\mathbb{E}[(v_0 - \theta)^l]\) within the conditional central moments and conditional moments, we get the unconditional central moments and unconditional moments. Please refer to the SRJD model page for the computation of the terms \(\mathbb{E}[(v_0 - \theta)^l]\).
However, it is a little complicated to derive the unconditional covariances. It is necessary to introduce more notations as \(y_{n+1} \equiv y((n+1)h) - y(nh)\),
where \(\beta \equiv (1-e^{-kh})/(2k)\), and \(v_n - \theta = e^{-kh}(v_{n-1} - \theta) + \sigma_ve^{-knh}I\!E_n + e^{-knh}I\!E\!Z_n\).
When expanding \(y_{n+1}^{l_2}\), the indexing (\(n_0+\cdots+n_6=l_2\)) is organized as
\((v_n-\theta)\) |
\(I\!E_{n+1}\) |
\(I_{n+1}\) |
\(I_{n+1}^{*}\) |
\(I\!E\!Z_{n+1}\) |
\(I\!Z_{n+1}\) |
\((\mu - \theta/2) h\) |
|---|---|---|---|---|---|---|
\(n_0\) |
\(n_1\) |
\(n_2\) |
\(n_3\) |
\(n_4\) |
\(n_5\) |
\(n_6\) |
Covariances¶
Covariances can be computed via
Therefore, we only need to compute \(\mathbb{E}[y_n^{l_1}y_{n+1}^{l_2}]\).
Note that
A function is defined to implement the corresponding derivation and the expansion of \((v_n-\theta)\), resulting in
The expansion of \((v_n-\theta)\) is done via,
Conditional Moments - II¶
Given the initial variance \(v_0\) and the CPP over interval \([0,t]\), \(z_s, 0\le s \le t\), the conditional mean of return over this interval is given by
Let us define \(\overline{y}_t \triangleq y_t - \mathbb{E}[y_t|v_0,z_s, 0\le s\le t]\), then we have
Conditional Central Moments¶
For conditional central moments, we have
where \(\boldsymbol{n} = (n_1, n_2, n_3)\), \(n_1+n_2+n_3=l\), \(c(\boldsymbol{n}) = C_l^{n_1} C_{l-n_1}^{n_2}\), and
The derivation for
\(\mathbb{E}[E_t^{n_1} I_t^{n_2} I_t^{*n_3}|v_0,z_s, 0\le s\le t]\)
has been implemented in moment_IEII()
from module ajdmom.ito_cond2_mom.
The conditional central moments in (2) is implemented in
cmoments_y_to() in the subpackage
ajdmom.mdl_svvj, noting that the function now derives simultaneously
the conditional central moments with orders from 1 to \(l\).
Conditional Moments¶
Now we rewrite \(y_t\) as the following
to enable us to exploit
cmoment_y() for the derivation of those
involved conditional central moments. With this expression, the conditional
moments can be derived through the following equation
where \(\boldsymbol{n} = (n_1, n_2, n_3, n_4, n_5)\), \(\sum_{i=1}^5 n_i = l\),
The conditional moments in (3) is implemented in
moments_y_to() in the subpackage
ajdmom.mdl_svvj.
API¶
Central Moments of the SVVJ model |
|
Moments of the SVVJ model |
|
Covariance for the SVVJ model |
|
Conditional Central Moments of the SVVJ model, given initial variance |
|
Conditional Moment of the SVVJ model, given initial variance |
|
Conditional Central Moments for the SVVJ model, given the initial state of the variance and the realized jumps in the variance. |
|
Conditional Moments for the SVVJ model, given the initial state of the variance and the realized jumps in the variance. |