Module net.finmath.lib
Interface CalibratableProcess
- All Known Implementing Classes:
CalibratableHestonModel
,CalibratableMertonModel
,CalibratableVarianceGammaModel
public interface CalibratableProcess
Every class implementing this interface communicates with the calibration routine by providing
clones of the model with changed parameters. A model descriptor is stored to infer parameters which are not
calibrated such as market observables.
We are decorating every characteristic function with the getCloneForModifiedParameters withouth touching
the existing classes providing the computation of the characteristic function.
Suitable specifications of getCloneForModifiedParameters can be employed to introduce e.g. non-linear constraints.
E.g. it is possible to force the Feller condition in the Heston model by providing a suitable implementation of
this method.
- Author:
- Alessandro Gnoatto
-
Method Summary
Modifier and TypeMethodDescriptionDirectly returns the characteristic function.getCloneForModifiedParameters(double[] parameters)
Calibration substitutes in the model the parameters of the process with calibrated ones.Every class implementing this interface must contain a ModelDescriptor from which we can create some concrete model.double[]
Extracts parameter lower bounds for the optimizer factory.double[]
Extracts parameter upper bounds for the optimizer factory.
-
Method Details
-
getCloneForModifiedParameters
Calibration substitutes in the model the parameters of the process with calibrated ones. Market observables such as the initial stock value should not be changed.- Parameters:
parameters
- The new parameters.- Returns:
- a clone of the original model with modified parameters.
-
getModelDescriptor
ModelDescriptor getModelDescriptor()Every class implementing this interface must contain a ModelDescriptor from which we can create some concrete model.- Returns:
- The descriptor for this model.
-
getCharacteristicFunctionModel
CharacteristicFunctionModel getCharacteristicFunctionModel()Directly returns the characteristic function.- Returns:
- the characteristic function
-
getParameterLowerBounds
double[] getParameterLowerBounds()Extracts parameter lower bounds for the optimizer factory.- Returns:
- parameter lower bounds for the optimizer factory.
-
getParameterUpperBounds
double[] getParameterUpperBounds()Extracts parameter upper bounds for the optimizer factory.- Returns:
- parameter upper bounds for the optimizer factory.
-