Description Usage Arguments Value
View source: R/meanAndcovList.R
This function creates mean and covariance structures that can be passed to linCombMean to combine into an estimate of the conditional first and second (cross-)moments of the stock return and volatility factors.
1 2 3 4 | modelDynamics(params.P, params.Q, dT = 5/252, rtol = 1e-14,
N.factors = 3, N.points = 2,
jumpTransform = getPointerToJumpTransform("expNormJumpTransform")$TF,
mod.type = "standard", ...)
|
params.P |
parameter list |
params.Q |
parameter list risk-neutral |
dT |
The Time horizon |
rtol |
The relative tolerance required in the integration |
N.factors |
The number of stochastic vol factors assumed. |
N.points |
Number of points in sparse grid quadratures. 2 usually works pretty good, more than 3 is overkill. |
jumpTransform |
pointer to jump trasform c++ function |
mod.type |
character, |
Returns 2 lists and a matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.