public abstract class AbstractLIBORCovarianceModelParametric extends AbstractLIBORCovarianceModel implements LIBORCovarianceModelCalibrateable
AbstractLIBORCovarianceModel.
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 |
|---|
AbstractLIBORCovarianceModelParametric(TimeDiscretization timeDiscretization,
TimeDiscretization liborPeriodDiscretization,
int numberOfFactors)
Constructor consuming time discretizations, which are handled by the super class.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
clone() |
AbstractLIBORCovarianceModelParametric |
getCloneCalibrated(LIBORMarketModel calibrationModel,
CalibrationProduct[] calibrationProducts) |
AbstractLIBORCovarianceModelParametric |
getCloneCalibrated(LIBORMarketModel 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.
|
AbstractLIBORCovarianceModelParametric |
getCloneCalibratedLegazy(LIBORMarketModel calibrationModel,
CalibrationProduct[] calibrationProducts,
Map<String,Object> calibrationParameters) |
abstract AbstractLIBORCovarianceModelParametric |
getCloneWithModifiedParameters(double[] parameters)
Return an instance of this model using a new set of parameters.
|
AbstractLIBORCovarianceModelParametric |
getCloneWithModifiedParameters(RandomVariable[] parameters)
Return an instance of this model using a new set of parameters.
|
RandomVariable[] |
getParameter()
Get the parameters of determining this parametric
covariance model.
|
abstract double[] |
getParameterAsDouble()
Get the parameters of determining this parametric
covariance model.
|
String |
toString() |
getCloneWithModifiedData, getCovariance, getCovariance, getFactorLoading, getFactorLoading, getFactorLoading, getFactorLoadingPseudoInverse, getLiborPeriodDiscretization, getNumberOfFactors, getTimeDiscretizationequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCloneWithModifiedData, getCovariance, getCovariance, getFactorLoading, getFactorLoading, getFactorLoading, getFactorLoadingPseudoInverse, getLiborPeriodDiscretization, getNumberOfFactors, getTimeDiscretizationpublic AbstractLIBORCovarianceModelParametric(TimeDiscretization timeDiscretization, TimeDiscretization liborPeriodDiscretization, int numberOfFactors)
timeDiscretization - The vector of simulation time discretization points.liborPeriodDiscretization - The vector of tenor discretization points.numberOfFactors - The number of factors to use (a factor reduction is performed)public RandomVariable[] getParameter()
public abstract double[] getParameterAsDouble()
public AbstractLIBORCovarianceModelParametric getCloneWithModifiedParameters(RandomVariable[] parameters)
parameters - The new set of parameters.public abstract AbstractLIBORCovarianceModelParametric getCloneWithModifiedParameters(double[] parameters)
parameters - The new set of parameters.public AbstractLIBORCovarianceModelParametric getCloneCalibrated(LIBORMarketModel calibrationModel, CalibrationProduct[] calibrationProducts) throws CalculationException
CalculationExceptionpublic AbstractLIBORCovarianceModelParametric getCloneCalibrated(LIBORMarketModel 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 LIBORCovarianceModelCalibrateablecalibrationModel - 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 AbstractLIBORCovarianceModelParametric getCloneCalibratedLegazy(LIBORMarketModel calibrationModel, CalibrationProduct[] calibrationProducts, Map<String,Object> calibrationParameters) throws CalculationException
CalculationExceptionCopyright © 2019. All rights reserved.