public class HullWhiteLocalVolatilityModel extends AbstractLIBORCovarianceModelParametric
LIBORVolatilityModelTwoParameterExponentialForm, then
the resulting LIBOR Market model corresponds to a Hull-White short rate model
(with constant short rate volatility and mean reversion).
The parameter of this model is the parameter vector of the given base covariance model.| Constructor and Description |
|---|
HullWhiteLocalVolatilityModel(AbstractLIBORCovarianceModelParametric covarianceModel,
double periodLength)
The model constructed for the i-th factor loading is
(1+Li(t) d) Fi(t)
where d is a constant (the period length), Li is
the realization of the i-th component of the stochastic process and
Fi is the factor loading from the given covariance model.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
AbstractLIBORCovarianceModelParametric |
getBaseCovarianceModel()
Returns the base covariance model, i.e., the model providing the factor loading F.
|
AbstractLIBORCovarianceModelParametric |
getCloneWithModifiedParameters(double[] parameters)
Return an instance of this model using a new set of parameters.
|
RandomVariableInterface[] |
getFactorLoading(int timeIndex,
int component,
RandomVariableInterface[] realizationAtTimeIndex)
Return the factor loading for a given time index and component index.
|
RandomVariableInterface |
getFactorLoadingPseudoInverse(int timeIndex,
int component,
int factor,
RandomVariableInterface[] realizationAtTimeIndex)
Returns the pseudo inverse of the factor matrix.
|
double[] |
getParameter()
Get the parameters of determining this parametric
covariance model.
|
getCloneCalibrated, getCloneCalibrated, toStringgetCovariance, getCovariance, getFactorLoading, getFactorLoading, getLiborPeriodDiscretization, getNumberOfFactors, getTimeDiscretizationpublic HullWhiteLocalVolatilityModel(AbstractLIBORCovarianceModelParametric covarianceModel, double periodLength)
covarianceModel - The given covariance model specifying the factor loadings F.periodLength - The parameter d in the formula above.public Object clone()
clone in class AbstractLIBORCovarianceModelParametricpublic AbstractLIBORCovarianceModelParametric getBaseCovarianceModel()
public double[] getParameter()
AbstractLIBORCovarianceModelParametricgetParameter in class AbstractLIBORCovarianceModelParametricpublic AbstractLIBORCovarianceModelParametric getCloneWithModifiedParameters(double[] parameters)
AbstractLIBORCovarianceModelParametricgetCloneWithModifiedParameters in class AbstractLIBORCovarianceModelParametricparameters - The new set of parameters.public RandomVariableInterface[] getFactorLoading(int timeIndex, int component, RandomVariableInterface[] realizationAtTimeIndex)
AbstractLIBORCovarianceModelgetFactorLoading in class AbstractLIBORCovarianceModeltimeIndex - The time index at which factor loading is requested.component - The index of the component i.realizationAtTimeIndex - The realization of the stochastic process (may be used to implement local volatility/covariance/correlation models).public RandomVariableInterface getFactorLoadingPseudoInverse(int timeIndex, int component, int factor, RandomVariableInterface[] realizationAtTimeIndex)
AbstractLIBORCovarianceModelgetFactorLoadingPseudoInverse in class AbstractLIBORCovarianceModeltimeIndex - The time index at which factor loading inverse is requested.component - The index of the component i.factor - The index of the factor j.realizationAtTimeIndex - The realization of the stochastic process (may be used to implement local volatility/covariance/correlation models).Copyright © 2017. All rights reserved.