Module net.finmath.lib
Class CalibratableVarianceGammaModel
java.lang.Object
net.finmath.fouriermethod.calibration.models.CalibratableVarianceGammaModel
- All Implemented Interfaces:
CalibratableProcess
This class is creates new instances of VarianceGammaModel and communicates with the optimization algorithm.
This class provides clones of herself: in such a way the information concerning constraints is not lost.
The method getCharacteristicFunction is then passed to the FFT pricing routine.
- Author:
- Alessandro Gnoatto
-
Constructor Summary
ConstructorsConstructorDescriptionBasic constructor where all parameters are to be calibrated.CalibratableVarianceGammaModel(VarianceGammaModelDescriptor descriptor, ScalarParameterInformation sigmaInfo, ScalarParameterInformation thetaInfo, ScalarParameterInformation nuInfo)
-
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.
-
Constructor Details
-
CalibratableVarianceGammaModel
Basic constructor where all parameters are to be calibrated. All parameters are unconstrained.- Parameters:
descriptor
- The model descriptor for the Variance Gamma model.
-
CalibratableVarianceGammaModel
public CalibratableVarianceGammaModel(VarianceGammaModelDescriptor descriptor, ScalarParameterInformation sigmaInfo, ScalarParameterInformation thetaInfo, ScalarParameterInformation nuInfo)- Parameters:
descriptor
- The model descriptor for the Variance Gamma model.sigmaInfo
- A constraint for the parameter sigma.thetaInfo
- A constraint for the parameter theta.nuInfo
- A constraint for the parameter nu.
-
-
Method Details
-
getCloneForModifiedParameters
Description copied from interface:CalibratableProcess
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.- Specified by:
getCloneForModifiedParameters
in interfaceCalibratableProcess
- Parameters:
parameters
- The new parameters.- Returns:
- a clone of the original model with modified parameters.
-
getModelDescriptor
Description copied from interface:CalibratableProcess
Every class implementing this interface must contain a ModelDescriptor from which we can create some concrete model.- Specified by:
getModelDescriptor
in interfaceCalibratableProcess
- Returns:
- The descriptor for this model.
-
getCharacteristicFunctionModel
Description copied from interface:CalibratableProcess
Directly returns the characteristic function.- Specified by:
getCharacteristicFunctionModel
in interfaceCalibratableProcess
- Returns:
- the characteristic function
-
getParameterLowerBounds
public double[] getParameterLowerBounds()Description copied from interface:CalibratableProcess
Extracts parameter lower bounds for the optimizer factory.- Specified by:
getParameterLowerBounds
in interfaceCalibratableProcess
- Returns:
- parameter lower bounds for the optimizer factory.
-
getParameterUpperBounds
public double[] getParameterUpperBounds()Description copied from interface:CalibratableProcess
Extracts parameter upper bounds for the optimizer factory.- Specified by:
getParameterUpperBounds
in interfaceCalibratableProcess
- Returns:
- parameter upper bounds for the optimizer factory.
-