public class LIBORCorrelationModelExponentialDecay 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} = \exp( -\max(a,0) | T_{i}-T_{j} | ) \]
For a more general model featuring three parameters see LIBORCorrelationModelThreeParameterExponentialDecay.LinearAlgebra.factorReduction(double[][], int),
LIBORCorrelationModelThreeParameterExponentialDecay| Constructor and Description |
|---|
LIBORCorrelationModelExponentialDecay(TimeDiscretizationInterface timeDiscretization,
TimeDiscretizationInterface liborPeriodDiscretization,
int numberOfFactors,
double a) |
LIBORCorrelationModelExponentialDecay(TimeDiscretizationInterface timeDiscretization,
TimeDiscretizationInterface liborPeriodDiscretization,
int numberOfFactors,
double a,
boolean isCalibrateable)
Create a correlation model with an exponentially decaying correlation structure and the given number of factors.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
double |
getCorrelation(int timeIndex,
int component1,
int component2) |
double |
getFactorLoading(int timeIndex,
int factor,
int component) |
int |
getNumberOfFactors() |
double[] |
getParameter() |
void |
setParameter(double[] parameter) |
getLiborPeriodDiscretization, getTimeDiscretizationpublic LIBORCorrelationModelExponentialDecay(TimeDiscretizationInterface timeDiscretization, TimeDiscretizationInterface liborPeriodDiscretization, int numberOfFactors, double a, boolean isCalibrateable)
timeDiscretization - Simulation time dicretization. Not used.liborPeriodDiscretization - Tenor time discretization, i.e., the \( T_{i} \)'s.numberOfFactors - Number \( n \) of factors to be used.a - Decay parameter. Should be positive. Negative values will be floored to 0.isCalibrateable - If true, the parameter will become a free parameter in a calibration.public LIBORCorrelationModelExponentialDecay(TimeDiscretizationInterface timeDiscretization, TimeDiscretizationInterface liborPeriodDiscretization, int numberOfFactors, double a)
public void setParameter(double[] parameter)
setParameter in class LIBORCorrelationModelpublic Object clone()
clone 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 double[] getParameter()
getParameter in class LIBORCorrelationModelCopyright © 2015. All rights reserved.