public abstract class AbstractShortRateVolatilityModelParametric extends AbstractShortRateVolatilityModel implements ShortRateVolatilityModelParametric, ShortRateVolatilityModelCalibrateable
AbstractShortRateVolatilityModel.
Parametric models feature a parameter vector which can be inspected
and modified for calibration purposes.
The parameter vector may have zero length, which indicated that the model
is not calibrateable.
This class includes the implementation of a generic calibration algorithm.
If you provide an arbitrary list of calibration products, the class can return
a new instance where the parameters are chosen such that the (weighted) root-mean-square
error of the difference of the value of the calibration products and given target
values is minimized.| Constructor and Description |
|---|
AbstractShortRateVolatilityModelParametric(TimeDiscretization timeDiscretization)
Constructor consuming time discretization.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
clone() |
AbstractShortRateVolatilityModelParametric |
getCloneCalibrated(ShortRateModel calibrationModel,
CalibrationProduct[] calibrationProducts,
Map<String,Object> calibrationParameters)
Performs a generic calibration of the parametric model by
trying to match a given vector of calibration product to a given vector of target values
using a given vector of weights.
|
AbstractShortRateVolatilityModelParametric |
getCloneCalibratedLegazy(ShortRateModel calibrationModel,
CalibrationProduct[] calibrationProducts,
Map<String,Object> calibrationParameters)
Performs a generic calibration of the parametric model by
trying to match a given vector of calibration product to a given vector of target values
using a given vector of weights.
|
abstract AbstractShortRateVolatilityModelParametric |
getCloneWithModifiedParameters(double[] parameters)
Return an instance of this model using a new set of parameters.
|
abstract AbstractShortRateVolatilityModelParametric |
getCloneWithModifiedParameters(RandomVariable[] parameters)
Return an instance of this model using a new set of parameters.
|
abstract RandomVariable[] |
getParameter()
Get the parameters of determining this parametric
volatility model.
|
double[] |
getParameterAsDouble()
Get the parameters of determining this parametric
volatility model.
|
String |
toString() |
getTimeDiscretizationequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetMeanReversion, getTimeDiscretization, getVolatilitypublic AbstractShortRateVolatilityModelParametric(TimeDiscretization timeDiscretization)
timeDiscretization - The vector of simulation time discretization points.public abstract RandomVariable[] getParameter()
getParameter in interface ShortRateVolatilityModelParametricpublic double[] getParameterAsDouble()
ShortRateVolatilityModelParametricgetParameterAsDouble in interface ShortRateVolatilityModelParametricpublic abstract AbstractShortRateVolatilityModelParametric getCloneWithModifiedParameters(double[] parameters)
getCloneWithModifiedParameters in interface ShortRateVolatilityModelParametricparameters - The new set of parameters.public abstract AbstractShortRateVolatilityModelParametric getCloneWithModifiedParameters(RandomVariable[] parameters)
getCloneWithModifiedParameters in interface ShortRateVolatilityModelParametricparameters - The new set of parameters.public AbstractShortRateVolatilityModelParametric getCloneCalibrated(ShortRateModel calibrationModel, CalibrationProduct[] calibrationProducts, Map<String,Object> calibrationParameters) throws CalculationException
Strings):
BrownianMotion may be provided. If so, this Brownian motion is used to build the valuation model.getCloneCalibrated in interface ShortRateVolatilityModelCalibrateablecalibrationModel - The LIBOR market model to be used for calibrations (specifies forward curve and tenor discretization).calibrationProducts - The array of calibration products.calibrationParameters - A map of type Map<String, Object> specifying some (optional) calibration parameters.this one, but with calibrated parameters.CalculationException - Thrown if calibration has failed.public AbstractShortRateVolatilityModelParametric getCloneCalibratedLegazy(ShortRateModel calibrationModel, CalibrationProduct[] calibrationProducts, Map<String,Object> calibrationParameters) throws CalculationException
Strings):
BrownianMotion may be provided. If so, this Brownian motion is used to build the valuation model.calibrationModel - The LIBOR market model to be used for calibrations (specifies forward curve and tenor discretization).calibrationProducts - The array of calibration products.calibrationParameters - A map of type Map<String, Object> specifying some (optional) calibration parameters.this one, but with calibrated parameters.CalculationException - Thrown if calibration has failed.Copyright © 2019. All rights reserved.