public class MertonModel extends Object implements CharacteristicFunctionModel
| Constructor and Description |
|---|
MertonModel(double initialValue,
DiscountCurve discountCurveForForwardRate,
double volatility,
double jumpIntensity,
double jumpSizeMean,
double jumpSizeStdDev,
DiscountCurve discountCurveForDiscountRate)
Construct a Merton jump diffusion model with discount curves for the forward price (i.e. repo rate minus dividend yield) and for discounting.
|
MertonModel(double initialValue,
double riskFreeRate,
double volatility,
double jumpIntensity,
double jumpSizeMean,
double jumpSizeStdDev)
Construct a single curve Merton jump diffusion model.
|
MertonModel(double initialValue,
double riskFreeRate,
double volatility,
double jumpIntensity,
double jumpSizeMean,
double jumpSizeStdDev,
double discountRate)
Construct a Merton jump diffusion model with constant rates for the forward price (i.e. repo rate minus dividend yield) and for the discount curve.
|
| Modifier and Type | Method and Description |
|---|---|
CharacteristicFunction |
apply(double time)
Returns the characteristic function of X(t), where X is
this stochastic process. |
DiscountCurve |
getDiscountCurveForDiscountRate() |
DiscountCurve |
getDiscountCurveForForwardRate() |
double |
getDiscountRate() |
double |
getInitialValue() |
double |
getJumpIntensity() |
double |
getJumpSizeMean() |
double |
getJumpSizeStdDev() |
double |
getRiskFreeRate() |
double |
getVolatility() |
String |
toString() |
public MertonModel(double initialValue,
DiscountCurve discountCurveForForwardRate,
double volatility,
double jumpIntensity,
double jumpSizeMean,
double jumpSizeStdDev,
DiscountCurve discountCurveForDiscountRate)
initialValue - \( S_{0} \) - spot - initial value of SdiscountCurveForForwardRate - The curve specifying \( t \mapsto exp(- r^{\text{c}}(t) \cdot t) \) - with \( r^{\text{c}}(t) \) the risk free ratevolatility - \( \sigma \) the initial volatility leveljumpIntensity - Coefficients of for the jump intensity.jumpSizeMean - Jump size meanjumpSizeStdDev - Jump size variance.discountCurveForDiscountRate - The curve specifying \( t \mapsto exp(- r^{\text{d}}(t) \cdot t) \) - with \( r^{\text{d}}(t) \) the discount ratepublic MertonModel(double initialValue,
double riskFreeRate,
double volatility,
double jumpIntensity,
double jumpSizeMean,
double jumpSizeStdDev,
double discountRate)
initialValue - \( S_{0} \) - spot - initial value of SriskFreeRate - The constant risk free rate for the drift (repo rate of the underlying).volatility - \( \sigma \) the initial volatility leveljumpIntensity - Coefficients of for the jump intensity.jumpSizeMean - Jump size meanjumpSizeStdDev - Jump size variance.discountRate - The constant rate used for discounting.public MertonModel(double initialValue,
double riskFreeRate,
double volatility,
double jumpIntensity,
double jumpSizeMean,
double jumpSizeStdDev)
initialValue - \( S_{0} \) - spot - initial value of SriskFreeRate - The constant risk free rate for the drift (repo rate of the underlying). It is also used for discounting.volatility - \( \sigma \) the initial volatility leveljumpIntensity - Coefficients of for the jump intensity.jumpSizeMean - Jump size meanjumpSizeStdDev - Jump size variance.public CharacteristicFunction apply(double time)
CharacteristicFunctionModelthis stochastic process.apply in interface CharacteristicFunctionModeltime - The time at which the stochastic process is observed.public double getInitialValue()
public DiscountCurve getDiscountCurveForForwardRate()
public double getRiskFreeRate()
public DiscountCurve getDiscountCurveForDiscountRate()
public double getDiscountRate()
public double getVolatility()
public double getJumpIntensity()
public double getJumpSizeMean()
public double getJumpSizeStdDev()
Copyright © 2019. All rights reserved.