ODEstructs | R Documentation |
This function translates the parameters lists (see jumpDiffusionODEs
) to model specification matrices and vectors for ODE solution. Expand this function if you want to add other specifications.
ODEstructs(params, jumpTransform, mkt, N.factors, mod.type = "standard")
params |
A structure containing the volatility factor + jump descriptions. |
jumpTransform |
String, the function that calculates the jump transform. |
N.factors |
The number of stochastic volatility factors (stock is not a factor). |
mod.type |
string. |
using mod.type = "cascade.vol"
allows that the vol of vol of the first factor is an affine function of other factors. The constraint is that this factor can't have a leverage effect (i.e. its rho parameter must be 0), otherwise you're not in the affine setting.
Return a list with elements K0, l0, K1, l1, H1, see DPS (2000) for their meaning
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.