Search
Preparing search index...
The search index is not available
quantlib.js
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"ql/models/marketmodels/models/capletcoterminalalphacalibration"
CTSMMCapletAlphaFormCalibration
Class CTSMMCapletAlphaFormCalibration
Hierarchy
CTSMMCapletCalibration
CTSMMCapletAlphaFormCalibration
Index
Constructors
constructor
Properties
_a
_alpha
_alpha
Initial
_alpha
Max
_alpha
Min
_b
_calibrated
_caplet
Max
Error
_caplet
Rms
Error
_corr
_cs
_deformation
Size
_displaced
Swap
Variances
_displacement
_evolution
_failures
_maximize
Homogeneity
_mdl
Caplet
Vols
_mdl
Swaption
Vols
_mkt
Caplet
Vols
_mkt
Swaption
Vols
_number
OfRates
_parametric
Form
_swap
Covariance
Pseudo
Roots
_swaption
Max
Error
_swaption
Rms
Error
_time
Dependent
Calibrated
Swaption
Vols
_used
Caplet
Vols
Methods
_calibration
Impl
alpha
calibrate
caplet
Max
Error
caplet
Rms
Error
curve
State
deformation
Size
displacements
failures
mdl
Caplet
Vols
mdl
Swaption
Vols
mkt
Caplet
Vols
mkt
Swaption
Vols
swap
Pseudo
Root
swap
Pseudo
Roots
swaption
Max
Error
swaption
Rms
Error
time
Dependent
Calibrated
Swaption
Vols
time
Dependent
UnCalibrated
Swaption
Vols
caplet
Alpha
Form
Calibration
perform
Checks
Constructors
constructor
new CTSMMCaplet
Alpha
Form
Calibration
(
evolution
:
EvolutionDescription
, corr
:
PiecewiseConstantCorrelation
, displacedSwapVariances
:
PiecewiseConstantVariance
[]
, mktCapletVols
:
Volatility
[]
, cs
:
CurveState
, displacement
:
Spread
, alphaInitial
:
Real
[]
, alphaMax
:
Real
[]
, alphaMin
:
Real
[]
, maximizeHomogeneity
:
boolean
, parametricForm
?:
AlphaForm
)
:
CTSMMCapletAlphaFormCalibration
Parameters
evolution:
EvolutionDescription
corr:
PiecewiseConstantCorrelation
displacedSwapVariances:
PiecewiseConstantVariance
[]
mktCapletVols:
Volatility
[]
cs:
CurveState
displacement:
Spread
alphaInitial:
Real
[]
alphaMax:
Real
[]
alphaMin:
Real
[]
maximizeHomogeneity:
boolean
Default value
parametricForm:
AlphaForm
= null
Returns
CTSMMCapletAlphaFormCalibration
Properties
Private
_a
_a
:
Real
[]
Private
_alpha
_alpha
:
Real
[]
Private
_alpha
Initial
_alpha
Initial
:
Real
[]
Private
_alpha
Max
_alpha
Max
:
Real
[]
Private
_alpha
Min
_alpha
Min
:
Real
[]
Private
_b
_b
:
Real
[]
Protected
_calibrated
_calibrated
:
boolean
Protected
_caplet
Max
Error
_caplet
Max
Error
:
Real
Protected
_caplet
Rms
Error
_caplet
Rms
Error
:
Real
Protected
_corr
_corr
:
PiecewiseConstantCorrelation
Protected
_cs
_cs
:
CurveState
Protected
_deformation
Size
_deformation
Size
:
Real
Protected
_displaced
Swap
Variances
_displaced
Swap
Variances
:
PiecewiseConstantVariance
[]
Protected
_displacement
_displacement
:
Spread
Protected
_evolution
_evolution
:
EvolutionDescription
Protected
_failures
_failures
:
Natural
Private
_maximize
Homogeneity
_maximize
Homogeneity
:
boolean
Protected
_mdl
Caplet
Vols
_mdl
Caplet
Vols
:
Volatility
[]
Protected
_mdl
Swaption
Vols
_mdl
Swaption
Vols
:
Volatility
[]
Protected
_mkt
Caplet
Vols
_mkt
Caplet
Vols
:
Volatility
[]
Protected
_mkt
Swaption
Vols
_mkt
Swaption
Vols
:
Volatility
[]
Protected
_number
OfRates
_number
OfRates
:
Size
Private
_parametric
Form
_parametric
Form
:
AlphaForm
Protected
_swap
Covariance
Pseudo
Roots
_swap
Covariance
Pseudo
Roots
:
Matrix
[]
Protected
_swaption
Max
Error
_swaption
Max
Error
:
Real
Protected
_swaption
Rms
Error
_swaption
Rms
Error
:
Real
Protected
_time
Dependent
Calibrated
Swaption
Vols
_time
Dependent
Calibrated
Swaption
Vols
:
Volatility
[]
[]
Protected
_used
Caplet
Vols
_used
Caplet
Vols
:
Volatility
[]
Methods
_calibration
Impl
_calibration
Impl
(
numberOfFactors
:
Natural
, maxIterations
:
Natural
, tolerance
:
Real
)
:
Natural
Parameters
numberOfFactors:
Natural
maxIterations:
Natural
tolerance:
Real
Returns
Natural
alpha
alpha
(
)
:
Real
[]
Returns
Real
[]
calibrate
calibrate
(
numberOfFactors
:
Natural
, maxIterations
:
Natural
, capletVolTolerance
:
Real
, innerSolvingMaxIterations
?:
Natural
, innerSolvingTolerance
?:
Real
)
:
boolean
Parameters
numberOfFactors:
Natural
maxIterations:
Natural
capletVolTolerance:
Real
Default value
innerSolvingMaxIterations:
Natural
= 100
Default value
innerSolvingTolerance:
Real
= 1e-8
Returns
boolean
caplet
Max
Error
caplet
Max
Error
(
)
:
Real
Returns
Real
caplet
Rms
Error
caplet
Rms
Error
(
)
:
Real
Returns
Real
curve
State
curve
State
(
)
:
CurveState
Returns
CurveState
deformation
Size
deformation
Size
(
)
:
Real
Returns
Real
displacements
displacements
(
)
:
Spread
[]
Returns
Spread
[]
failures
failures
(
)
:
Natural
Returns
Natural
mdl
Caplet
Vols
mdl
Caplet
Vols
(
)
:
Volatility
[]
Returns
Volatility
[]
mdl
Swaption
Vols
mdl
Swaption
Vols
(
)
:
Volatility
[]
Returns
Volatility
[]
mkt
Caplet
Vols
mkt
Caplet
Vols
(
)
:
Volatility
[]
Returns
Volatility
[]
mkt
Swaption
Vols
mkt
Swaption
Vols
(
)
:
Volatility
[]
Returns
Volatility
[]
swap
Pseudo
Root
swap
Pseudo
Root
(
i
:
Size
)
:
Matrix
Parameters
i:
Size
Returns
Matrix
swap
Pseudo
Roots
swap
Pseudo
Roots
(
)
:
Matrix
[]
Returns
Matrix
[]
swaption
Max
Error
swaption
Max
Error
(
)
:
Real
Returns
Real
swaption
Rms
Error
swaption
Rms
Error
(
)
:
Real
Returns
Real
time
Dependent
Calibrated
Swaption
Vols
time
Dependent
Calibrated
Swaption
Vols
(
i
:
Size
)
:
Volatility
[]
Parameters
i:
Size
Returns
Volatility
[]
time
Dependent
UnCalibrated
Swaption
Vols
time
Dependent
UnCalibrated
Swaption
Vols
(
i
:
Size
)
:
Volatility
[]
Parameters
i:
Size
Returns
Volatility
[]
Static
caplet
Alpha
Form
Calibration
caplet
Alpha
Form
Calibration
(
evolution
:
EvolutionDescription
, corr
:
PiecewiseConstantCorrelation
, displacedSwapVariances
:
PiecewiseConstantVariance
[]
, capletVols
:
Volatility
[]
, cs
:
CurveState
, displacement
:
Spread
, alphaInitial
:
Real
[]
, alphaMax
:
Real
[]
, alphaMin
:
Real
[]
, maximizeHomogeneity
:
boolean
, parametricForm
:
AlphaForm
, numberOfFactors
:
Size
, maxIterations
:
Integer
, tolerance
:
Real
, alpha
:
Real
[]
, a
:
Real
[]
, b
:
Real
[]
, swapCovariancePseudoRoots
:
Matrix
[]
)
:
Natural
Parameters
evolution:
EvolutionDescription
corr:
PiecewiseConstantCorrelation
displacedSwapVariances:
PiecewiseConstantVariance
[]
capletVols:
Volatility
[]
cs:
CurveState
displacement:
Spread
alphaInitial:
Real
[]
alphaMax:
Real
[]
alphaMin:
Real
[]
maximizeHomogeneity:
boolean
parametricForm:
AlphaForm
numberOfFactors:
Size
maxIterations:
Integer
tolerance:
Real
alpha:
Real
[]
a:
Real
[]
b:
Real
[]
swapCovariancePseudoRoots:
Matrix
[]
Returns
Natural
Static
perform
Checks
perform
Checks
(
evolution
:
EvolutionDescription
, corr
:
PiecewiseConstantCorrelation
, displacedSwapVariances
:
PiecewiseConstantVariance
[]
, mktCapletVols
:
Volatility
[]
, cs
:
CurveState
)
:
void
Parameters
evolution:
EvolutionDescription
corr:
PiecewiseConstantCorrelation
displacedSwapVariances:
PiecewiseConstantVariance
[]
mktCapletVols:
Volatility
[]
cs:
CurveState
Returns
void
Globals
"ql/models/marketmodels/models/capletcoterminalalphacalibration"
CTSMMCaplet
Alpha
Form
Calibration
constructor
_a
_alpha
_alpha
Initial
_alpha
Max
_alpha
Min
_b
_calibrated
_caplet
Max
Error
_caplet
Rms
Error
_corr
_cs
_deformation
Size
_displaced
Swap
Variances
_displacement
_evolution
_failures
_maximize
Homogeneity
_mdl
Caplet
Vols
_mdl
Swaption
Vols
_mkt
Caplet
Vols
_mkt
Swaption
Vols
_number
OfRates
_parametric
Form
_swap
Covariance
Pseudo
Roots
_swaption
Max
Error
_swaption
Rms
Error
_time
Dependent
Calibrated
Swaption
Vols
_used
Caplet
Vols
_calibration
Impl
alpha
calibrate
caplet
Max
Error
caplet
Rms
Error
curve
State
deformation
Size
displacements
failures
mdl
Caplet
Vols
mdl
Swaption
Vols
mkt
Caplet
Vols
mkt
Swaption
Vols
swap
Pseudo
Root
swap
Pseudo
Roots
swaption
Max
Error
swaption
Rms
Error
time
Dependent
Calibrated
Swaption
Vols
time
Dependent
UnCalibrated
Swaption
Vols
caplet
Alpha
Form
Calibration
perform
Checks