public class LIBORCorrelationModelThreeParameterExponentialDecay extends LIBORCorrelationModel
LinearAlgebra.factorReduction(double[][], int)) created from the
\( n \) Eigenvectors of \( \tilde{R} \) belonging to the \( n \) largest non-negative Eigenvalues,
where \( \tilde{R} = \tilde{\rho}_{i,j} \) and
\[ \tilde{\rho}_{i,j} = b + (1-b) * \exp(-a |T_{i} - T_{j}| - c \max(T_{i},T_{j}))LinearAlgebra.factorReduction(double[][], int),
Serialized Form| Constructor and Description |
|---|
LIBORCorrelationModelThreeParameterExponentialDecay(TimeDiscretization timeDiscretization,
TimeDiscretization liborPeriodDiscretization,
int numberOfFactors,
double a,
double b,
double c,
boolean isCalibrateable) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
LIBORCorrelationModel |
getCloneWithModifiedData(Map<String,Object> dataModified)
Returns a clone of this model where the specified properties have been modified.
|
LIBORCorrelationModelThreeParameterExponentialDecay |
getCloneWithModifiedParameter(RandomVariable[] parameter) |
double |
getCorrelation(int timeIndex,
int component1,
int component2) |
double |
getFactorLoading(int timeIndex,
int factor,
int component) |
int |
getNumberOfFactors() |
RandomVariable[] |
getParameter() |
getLiborPeriodDiscretization, getParameterAsDouble, getTimeDiscretizationpublic LIBORCorrelationModelThreeParameterExponentialDecay(TimeDiscretization timeDiscretization, TimeDiscretization liborPeriodDiscretization, int numberOfFactors, double a, double b, double c, boolean isCalibrateable)
public RandomVariable[] getParameter()
getParameter in class LIBORCorrelationModelpublic LIBORCorrelationModelThreeParameterExponentialDecay getCloneWithModifiedParameter(RandomVariable[] parameter)
getCloneWithModifiedParameter in class LIBORCorrelationModelpublic double getFactorLoading(int timeIndex,
int factor,
int component)
getFactorLoading in class LIBORCorrelationModelpublic double getCorrelation(int timeIndex,
int component1,
int component2)
getCorrelation in class LIBORCorrelationModelpublic int getNumberOfFactors()
getNumberOfFactors in class LIBORCorrelationModelpublic Object clone()
clone in class LIBORCorrelationModelpublic LIBORCorrelationModel getCloneWithModifiedData(Map<String,Object> dataModified)
LIBORCorrelationModeldataModified. If data is provided which is ignored by the model
no exception may be thrown.
Furthermore the structure of the correlation model has to match changed data.
A change of the time discretizations may requires a change in the parameters
but this function will just insert the new time discretization without
changing the parameters. An exception may not be thrown.getCloneWithModifiedData in class LIBORCorrelationModeldataModified - Key-value-map of parameters to modify.Copyright © 2019. All rights reserved.