#include <ql/models/marketmodels/models/capletcoterminalalphacalibration.hpp>
|
| CTSMMCapletAlphaFormCalibration (const EvolutionDescription &evolution, const ext::shared_ptr< PiecewiseConstantCorrelation > &corr, const std::vector< ext::shared_ptr< PiecewiseConstantVariance > > &displacedSwapVariances, const std::vector< Volatility > &capletVols, const ext::shared_ptr< CurveState > &cs, Spread displacement, const std::vector< Real > &alphaInitial, const std::vector< Real > &alphaMax, const std::vector< Real > &alphaMin, bool maximizeHomogeneity, ext::shared_ptr< AlphaForm > parametricForm=ext::shared_ptr< AlphaForm >()) |
|
const std::vector< Real > & | alpha () const |
|
virtual | ~CTSMMCapletCalibration ()=default |
|
| CTSMMCapletCalibration (EvolutionDescription evolution, ext::shared_ptr< PiecewiseConstantCorrelation > corr, std::vector< ext::shared_ptr< PiecewiseConstantVariance > > displacedSwapVariances, std::vector< Volatility > mktCapletVols, ext::shared_ptr< CurveState > cs, Spread displacement) |
|
bool | calibrate (Natural numberOfFactors, Natural maxIterations, Real tolerance, Natural innerMaxIterations=100, Real innerTolerance=1e-8) |
|
Natural | failures () const |
|
Real | deformationSize () const |
|
Real | capletRmsError () const |
|
Real | capletMaxError () const |
|
Real | swaptionRmsError () const |
|
Real | swaptionMaxError () const |
|
const std::vector< Matrix > & | swapPseudoRoots () const |
|
const Matrix & | swapPseudoRoot (Size i) const |
|
const std::vector< Volatility > & | mktCapletVols () const |
|
const std::vector< Volatility > & | mdlCapletVols () const |
|
const std::vector< Volatility > & | mktSwaptionVols () const |
|
const std::vector< Volatility > & | mdlSwaptionVols () const |
|
const std::vector< Volatility > & | timeDependentCalibratedSwaptionVols (Size i) const |
|
const std::vector< Volatility > & | timeDependentUnCalibratedSwaptionVols (Size i) const |
|
const ext::shared_ptr< CurveState > & | curveState () const |
|
std::vector< Spread > | displacements () const |
|
|
static Natural | capletAlphaFormCalibration (const EvolutionDescription &evolution, const PiecewiseConstantCorrelation &corr, const std::vector< ext::shared_ptr< PiecewiseConstantVariance > > &displacedSwapVariances, const std::vector< Volatility > &capletVols, const CurveState &cs, Spread displacement, const std::vector< Real > &alphaInitial, const std::vector< Real > &alphaMax, const std::vector< Real > &alphaMin, bool maximizeHomogeneity, const ext::shared_ptr< AlphaForm > ¶metricForm, Size numberOfFactors, Integer steps, Real toleranceForAlphaSolving, std::vector< Real > &alpha, std::vector< Real > &a, std::vector< Real > &b, std::vector< Matrix > &swapCovariancePseudoRoots) |
|
static void | performChecks (const EvolutionDescription &evolution, const PiecewiseConstantCorrelation &corr, const std::vector< ext::shared_ptr< PiecewiseConstantVariance > > &displacedSwapVariances, const std::vector< Volatility > &mktCapletVols, const CurveState &cs) |
|
◆ CTSMMCapletAlphaFormCalibration()
CTSMMCapletAlphaFormCalibration |
( |
const EvolutionDescription & |
evolution, |
|
|
const ext::shared_ptr< PiecewiseConstantCorrelation > & |
corr, |
|
|
const std::vector< ext::shared_ptr< PiecewiseConstantVariance > > & |
displacedSwapVariances, |
|
|
const std::vector< Volatility > & |
capletVols, |
|
|
const ext::shared_ptr< CurveState > & |
cs, |
|
|
Spread |
displacement, |
|
|
const std::vector< Real > & |
alphaInitial, |
|
|
const std::vector< Real > & |
alphaMax, |
|
|
const std::vector< Real > & |
alphaMin, |
|
|
bool |
maximizeHomogeneity, |
|
|
ext::shared_ptr< AlphaForm > |
parametricForm = ext::shared_ptr<AlphaForm>() |
|
) |
| |
◆ alpha()
const std::vector< Real > & alpha |
( |
| ) |
const |
◆ capletAlphaFormCalibration()
Natural capletAlphaFormCalibration |
( |
const EvolutionDescription & |
evolution, |
|
|
const PiecewiseConstantCorrelation & |
corr, |
|
|
const std::vector< ext::shared_ptr< PiecewiseConstantVariance > > & |
displacedSwapVariances, |
|
|
const std::vector< Volatility > & |
capletVols, |
|
|
const CurveState & |
cs, |
|
|
Spread |
displacement, |
|
|
const std::vector< Real > & |
alphaInitial, |
|
|
const std::vector< Real > & |
alphaMax, |
|
|
const std::vector< Real > & |
alphaMin, |
|
|
bool |
maximizeHomogeneity, |
|
|
const ext::shared_ptr< AlphaForm > & |
parametricForm, |
|
|
Size |
numberOfFactors, |
|
|
Integer |
steps, |
|
|
Real |
toleranceForAlphaSolving, |
|
|
std::vector< Real > & |
alpha, |
|
|
std::vector< Real > & |
a, |
|
|
std::vector< Real > & |
b, |
|
|
std::vector< Matrix > & |
swapCovariancePseudoRoots |
|
) |
| |
|
static |
◆ calibrationImpl_()
◆ alphaInitial_
std::vector<Real> alphaInitial_ |
|
private |
◆ alphaMax_
std::vector<Real> alphaMax_ |
|
private |
◆ alphaMin_
std::vector<Real> alphaMin_ |
|
private |
◆ maximizeHomogeneity_
bool maximizeHomogeneity_ |
|
private |
◆ parametricForm_
◆ alpha_
◆ a_
◆ b_