SRJD Model¶
In this subpackage (ajdmom.mdl_srjd), we consider the following
Square-Root Jump Diffusion:
which is the same as that in ajdmom.ito_cond2_mom, details can be referred to therein. Please note that we write \(v_t, z_t, v_0\) and \(v(t), z(t), v(0)\) interchangeably.
Conditional Moments - I¶
The solution to the SRJD process can be rewritten as:
The first unconditional moment is calculated as \(\mathbb{E}[v] = \theta + \lambda\mu_v/k,\) since \(\mathbb{E}[I\!E\!Z_t] = \lambda\mu_v (e^{kt}-1)/k\), \(\mathbb{E}[I\!E_t] = 0\) and \(\mathbb{E}[v_t] = \mathbb{E}[v_0] = \mathbb{E}[v]\). This result allows us to rewrite solution to the SRJD in the following form:
where \(\overline{I\!E\!Z}_t \mathrel{:=} I\!E\!Z_t - \mathbb{E}[I\!E\!Z_t]\) represents the centralized term. This centralized term can be decomposed similarly: \(\overline{I\!E\!Z}_t = \overline{I\!E\!Z}_{s} + \overline{I\!E\!Z}_{s,t}\) where \(\overline{I\!E\!Z}_{s,t} \mathrel{:=} I\!E\!Z_{s,t} - \mathbb{E}[I\!E\!Z_{s,t}]\). It is straightforward to verify that \(\mathbb{E}[\overline{I\!E\!Z}_{s,t}^m]\) can be expressed as a “polynomial”:
where, with a slight abuse of notation, \(\boldsymbol{j}\mathrel{:=} (j_1,\dots,j_5)\), and \(c_{\boldsymbol{j}}\) denotes the associated coefficient for the corresponding monomial. Therefore, the conditional joint moment \(\mathbb{E}[I\!E_t^{m_1}\overline{I\!E\!Z}_t^{m_2}|v_0]\) can be computed using the following recursive equation:
where \(P(m_1,m_2) \mathrel{:=} [m_1(m_1-1)/2]\cdot(p_1 + p_2 + p_3 + p_4)\), and
For the special case \(m_1=1\), it is easy to find that \(\mathbb{E}[I\!E_t\overline{I\!E\!Z}_t^{m_2}|v_0] = 0\).
With the preparations outlined above, the \(m\)-th conditional central moment of \(v_t\) can be calculated as:
We note that the conditional central moment \(\mathbb{E}[(v_t-\mathbb{E}[v])^m|v_0]\) will be computed as a polynomial in \((v_0-\mathbb{E}[v])\):
where \(c_{m},\dots, c_0\) are coefficients, some of which may be zero and \(c_m = e^{-mkt}\). The reason is that the conditional joint moment \(\mathbb{E}[I\!E_t^{m_1}\overline{I\!E\!Z}_t^{m_2}|v_0]\) produces a polynomial in \((v_0 - \mathbb{E}[v])\) of order at most \(\lfloor m_1 / 2 \rfloor\).
Unconditional Moments¶
We further note that the unconditional central moment of \(v_t\) can be computed via:
Meanwhile, due to the assumption that \(v_t\) is strictly stationary, we have
Thus, the \(m\)-th unconditional central moment of \(v_t\) can be computed using the following recursive equation:
For example, the second central moment is computed as:
and the third central moment:
Using the above recursive equation, we can compute the fourth and any higher central moments recursively. Given the central moments, the corresponding non-central moments can be easily computed.
Conditional Moments - II¶
Given \(v_0\) and \(z_{s}, 0\le s \le t\),
where \(\mu_{ev} \triangleq (v_0-\theta) + \theta e^{kt} + I\!E\!Z_t\). Thus, we have
further,
We have, \(\forall m \ge 2\),
where \(\mathbb{E}[I\!E_t^0|v_0, z(s), 0\le s \le t] = 1\) and \(\mathbb{E}[I\!E_t|v_0, z(s), 0\le s \le t] = 0\).
We decode \(\mathbb{E}[I\!E_t^m|v_0, z(s), 0\le s \le t]\) as
a Poly object of the following form:
where \(\boldsymbol{j}\equiv (j_1,\dots,j_5)\), and
noting that \(n\) denotes the number of compound Poisson processes being multiplied together. The function \(f_{Z_t}(\cdot)\) is defined as
The conditional moments of \(I\!E_t\) and \(v(t)\) are implemented
in moment_IE() and
moment_v(), respectively, in the
ajdmom.mdl_srjd subpackage.
For the conditional central moments, by defining \(\overline{v}(t)\triangleq v(t)-\mathbb{E}[v(t)|v_0, z(s), 0\le s\le t]\), thus \(\overline{v}(t) \equiv e^{-kt}\sigma_vI\!E_t\).
The conditional central moments are implemented in
cmoment_v() in the
ajdmom.mdl_srjd subpackage.
API¶
Moments of the SRJD model |
|
Central Moments of the SRJD model |
|
Conditional Moments (I) |
|
Conditional Central Moments (I) |
|
Conditional moments (II) |
|
Conditional central moments (II) |