public class LIBORVolatilityModelFourParameterExponentialFormIntegrated extends LIBORVolatilityModel
| Constructor and Description |
|---|
LIBORVolatilityModelFourParameterExponentialFormIntegrated(TimeDiscretizationInterface timeDiscretization,
TimeDiscretizationInterface liborPeriodDiscretization,
double a,
double b,
double c,
double d,
boolean isCalibrateable)
Creates the volatility model
\[
\sigma_{i}(t_{j}) = \sqrt{ \frac{1}{t_{j+1}-t_{j}} \int_{t_{j}}^{t_{j+1}} \left( ( a + b (T_{i}-t) ) \exp(-c (T_{i}-t)) + d \right)^{2} \ \mathrm{d}t } \text{
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
double[] |
getParameter() |
RandomVariableInterface |
getVolatility(int timeIndex,
int liborIndex)
Implement this method to complete the implementation.
|
void |
setParameter(double[] parameter) |
getLiborPeriodDiscretization, getTimeDiscretizationpublic LIBORVolatilityModelFourParameterExponentialFormIntegrated(TimeDiscretizationInterface timeDiscretization, TimeDiscretizationInterface liborPeriodDiscretization, double a, double b, double c, double d, boolean isCalibrateable)
timeDiscretization - The simulation time discretization tj.liborPeriodDiscretization - The period time discretization Ti.a - The parameter a: an initial volatility level.b - The parameter b: the slope at the short end (shortly before maturity).c - The parameter c: exponential decay of the volatility in time-to-maturity.d - The parameter d: if c > 0 this is the very long term volatility level.isCalibrateable - Set this to true, if the parameters are available for calibration.public double[] getParameter()
getParameter in class LIBORVolatilityModelpublic void setParameter(double[] parameter)
setParameter in class LIBORVolatilityModelpublic RandomVariableInterface getVolatility(int timeIndex, int liborIndex)
LIBORVolatilityModelgetVolatility in class LIBORVolatilityModeltimeIndex - The time index (for timeDiscretization)liborIndex - The libor index (for liborPeriodDiscretization)public Object clone()
clone in class LIBORVolatilityModelCopyright © 2015. All rights reserved.