Description Usage Arguments Value
View source: R/momentCondition.R
This function calculates the general iterative moment condition that can be used for moment based model calibration. Futures prices (with some long expiry) are assumed for the stock!
1 2 3 4 5 | momentCondition(params.P, params.Q, condition.struct,
conditional = FALSE, atol = 1e-30, rtol = 1e-12, rtol.Q = rtol,
N.factors = (length(params.P) - 1),
jumpTransform = getPointerToJumpTransform("expNormJumpTransform")$TF,
mod.type = "standard", ...)
|
params.P |
a list of structures that describe the P behaviour of the volatility factors + underlying jumps |
params.Q |
a list of structures that describe the Q behaviour of the volatility factors + underlying jumps |
condition.struct |
a list containing the data frames of relative timings, the frequency + maturity pairs and the required powers / combination coefficients / linear transformation matrix |
atol |
absolute tolerance required of the solution (this should be set very low in general) |
rtol |
relative tolerance required of the solution (the number of correct digits we require) |
... |
further arguments passed to |
Returns the value (unconditional P expectation) of the specified product.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.