public class LIBORVolatilityModelMaturityDependentFourParameterExponentialForm extends LIBORVolatilityModel
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
LIBORVolatilityModel |
getCloneWithModifiedData(Map<String,Object> dataModified)
Returns a clone of this model where the specified properties have been modified.
|
LIBORVolatilityModelMaturityDependentFourParameterExponentialForm |
getCloneWithModifiedParameter(RandomVariable[] parameter) |
RandomVariable[] |
getParameter() |
RandomVariable |
getVolatility(int timeIndex,
int liborIndex)
Implement this method to complete the implementation.
|
getLiborPeriodDiscretization, getParameterAsDouble, getTimeDiscretizationpublic LIBORVolatilityModelMaturityDependentFourParameterExponentialForm(TimeDiscretization timeDiscretization, TimeDiscretization liborPeriodDiscretization, RandomVariable[] parameterA, RandomVariable[] parameterB, RandomVariable[] parameterC, RandomVariable[] parameterD)
public LIBORVolatilityModelMaturityDependentFourParameterExponentialForm(AbstractRandomVariableFactory randomVariableFactory, TimeDiscretization timeDiscretization, TimeDiscretization liborPeriodDiscretization, double[] a, double[] b, double[] c, double[] d)
randomVariableFactory - The random variable factor used to construct random variables from the parameters.timeDiscretization - The simulation time discretization tj.liborPeriodDiscretization - The period time discretization Ti.a - The parameter a: an initial volatility level.b - The parameter b: the slope at the short end (shortly before maturity).c - The parameter c: exponential decay of the volatility in time-to-maturity.d - The parameter d: if c > 0 this is the very long term volatility level.public LIBORVolatilityModelMaturityDependentFourParameterExponentialForm(AbstractRandomVariableFactory randomVariableFactory, TimeDiscretization timeDiscretization, TimeDiscretization liborPeriodDiscretization, double a, double b, double c, double d)
randomVariableFactory - The random variable factor used to construct random variables from the parameters.timeDiscretization - The simulation time discretization tj.liborPeriodDiscretization - The period time discretization Ti.a - The parameter a: an initial volatility level.b - The parameter b: the slope at the short end (shortly before maturity).c - The parameter c: exponential decay of the volatility in time-to-maturity.d - The parameter d: if c > 0 this is the very long term volatility level.public LIBORVolatilityModelMaturityDependentFourParameterExponentialForm(TimeDiscretization timeDiscretization, TimeDiscretization liborPeriodDiscretization, double a, double b, double c, double d)
timeDiscretization - The simulation time discretization tj.liborPeriodDiscretization - The period time discretization Ti.a - The parameter a: an initial volatility level.b - The parameter b: the slope at the short end (shortly before maturity).c - The parameter c: exponential decay of the volatility in time-to-maturity.d - The parameter d: if c > 0 this is the very long term volatility level.public LIBORVolatilityModelMaturityDependentFourParameterExponentialForm(TimeDiscretization timeDiscretization, TimeDiscretization liborPeriodDiscretization, double[] a, double[] b, double[] c, double[] d)
timeDiscretization - The simulation time discretization tj.liborPeriodDiscretization - The period time discretization Ti.a - The parameter a: an initial volatility level.b - The parameter b: the slope at the short end (shortly before maturity).c - The parameter c: exponential decay of the volatility in time-to-maturity.d - The parameter d: if c > 0 this is the very long term volatility level.public RandomVariable[] getParameter()
getParameter in class LIBORVolatilityModelpublic LIBORVolatilityModelMaturityDependentFourParameterExponentialForm getCloneWithModifiedParameter(RandomVariable[] parameter)
getCloneWithModifiedParameter in class LIBORVolatilityModelpublic RandomVariable getVolatility(int timeIndex, int liborIndex)
LIBORVolatilityModelgetVolatility in class LIBORVolatilityModeltimeIndex - The time index (for timeDiscretizationFromArray)liborIndex - The libor index (for liborPeriodDiscretization)public Object clone()
clone in class LIBORVolatilityModelpublic LIBORVolatilityModel getCloneWithModifiedData(Map<String,Object> dataModified)
LIBORVolatilityModeldataModified. If data is provided which is ignored by the model
no exception may be thrown.
Furthermore the structure of the correlation model has to match changed data.
A change of the time discretizations may requires a change in the parameters
but this function will just insert the new time discretization without
changing the parameters. An exception may not be thrown.getCloneWithModifiedData in class LIBORVolatilityModeldataModified - Key-value-map of parameters to modify.Copyright © 2019. All rights reserved.