ajdmom.mdl_1fsv.cond_cmom¶
Conditional Central Moment¶
Conditional central moments of the Heston SV model, given the initial variance.
Note that the keyfor attribute is different from that in the module
ajdmom.mdl_1fsv.cmom, which now is
(‘e^{kt}’, ‘t’, ‘k^{-}’, ‘v_0-theta’, ‘theta’, ‘sigma’, ‘sigma/2k’,
‘rho-sigma/2k’, ‘sqrt(1-rho^2)’)
where \(\beta_{n-1,t} = (1-e^{-k[t-(n-1)h]})/(2k)\) and the centralized term
The module implements the derivation of conditional moments of the centralized return
with \(c(\boldsymbol{m}) = C_m^{m_1}C_{m-m_1}^{m_2}\), \(b(\boldsymbol{m}) = \left(\frac{\sigma_v}{2k}\right)^{m_1} \left(\rho - \frac{\sigma_v}{2k}\right)^{m_2} \left(\sqrt{1-\rho^2}\right)^{m_3}\) and \(\boldsymbol{m} = (m_1,m_2,m_3)\).
Functions
|
Conditional central moments from order 1 to \(l\). |
|
Conditional central moment in scalar |
|
Integral of \(c \times tp \times \int_{(n-1)h}^t e^{mks} poly ds\) |
|
Decode poly back to scalar |
|
Recursive step in equation (3) |
|
Simplify polynomials differently |