Markov Functional


Markov Functional is a
direct subtype of Gaussian 1d Model
aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa
with functions Markov Functional Functions, keys Markov Functional keys and example object MarkovFmdl

TYPE INCLUSION RELATIONSHIPS

Gaussian 1d Model

Markov Functional

</defs>

AVAILABLE FUNCTIONS

Calibrate

Create

</defs>

AVAILABLE CREATE FUNCTION KEYS

Adjustments

Calibration Target

Digital Gap

Disc Crv

Expiries

Extra Constraint

Forc Crv

Gauss Hermite Points

Ibor Rate

Initial Vols

Lower Rate Bound

Market Rate Accuracy

Optimization

Parameter Constraints

Rate Type

Reversion

Smile Moneyness Checkpoints

Step Dates

Swap Rate

Swaption Model

Tenors

Upper Rate Bound

Vol Curve

Vols

Y Grid Points

Y Std Devs

Calibrated

Calibration Fit

Proc Time

</defs>

TYPICAL OBJECTS OF TYPE Markov Functional

MarkovFmdl

</defs>

This type represents a one factor interest rate model. Web reference available
here
The model requires a suitable input smile which means it should be arbitrage free, smooth (at least implying a C¹ call price function) and with a call price function not decreasing too slow in strike direction.
Calibration is possible through the function described below.
Alternatively a SABR smile with arbitrage free wings can be fitted to the input smile to provide an appropriate input smile.

If you use theSABR method for smile pretreatment then this implies zero density for negative underlying rates.
This means that in this case the market yield term structure must imply positive underlying atm forward rates.
In principle the mf model is able to produce negative rates.
To make this work the smileSection provided as input must have an digitalVanillaOptionPrice (or an optionPrice) implementation that is consistent with such a yield term structure and the model setting lowerRateBound must be set appropriately as a lower limit for the underlying rates.

If you do not use a smile pretreatment you should ensure that the input smileSection is arbitrage free and that the input smileSection covers the strikes from lowerRateBound to upperRateBound.

During calibration a monocurve setup is assumed with the given yield term structure determining the rates throughout, no matter what curves are linked to the indices in the volatility term structures.
The yield term structure should therefore be the main risk curve, i.e. the forwarding curve for the respective swaption or cap underlyings.

The model uses a simplified formula for the npv of a swaps floating leg, namely P(t,T₀)-P(t,T₁) with T₀ being the start date of the leg and T₁ being the last payment date, which is an approximation to the true npv.
P(t,T) denotes the discount factor as of t with matirity T.

The model calibrates to slightly modified market options in the sense that the start date is set equal to the fixing date, i.e. there is no delay.

The model diagnostic outputs refer to this modified instrument.

In general the actual market instrument including the delay is still matched very well though the calibration is done on a slightly different instrument.

Adjust Yts and Adjust Digitals are experimental options.
Specifying Adjust Yts may have a negative impact on the volatility smile match, so it should be used with special care.
For long term calibration it seems an interesting option though.

A bad fit to the initial yield term structure may be due to a non suitable input smile or accumulating numerical errors in very long term calibrations.
The former point is adressed by smile pretreatment options.
The latter point may be tackled by higher values for the numerical parameters possibly together with NTL high precision computing.

When using a shifted lognormal smile input the lower rate bound is adjusted by the shift so that a lower bound of 0.0 always corresponds to the lower bound of the shifted distribution.