Calibration Illustration.pptx
Download
Report
Transcript Calibration Illustration.pptx
Regime Calibration
Calibration Steps 1
β’ Define, vector π1, indicates when the regime switch take place. Define, vector π2, indicates what the new regime target is when the previous
regime is replaced.
β’ Find V1
β’ Define a vector π π by
π π = 1,
π π = 0.5,
π π = β0.5,
π π = β1,
ππ W < βππ π
π
ππ 0 β€ βππ π
π β€ π
ππ β π β€ βππ π
π β€ 0
ππ βππ π
π < βπ
β’ Define another vector πΆπ π by
π+12
πΆπ π = 1,
ππ π΄ππ πππ’π‘π ππππ’π [
π π ] β₯ πΆπππ‘ππππ
π=π
π+12
πΆπ π = 0,
ππ π΄ππ πππ’π‘π ππππ’π [
π π ] < πΆπππ‘ππππ
π=π
β’ If πΆπ π = 1, then we say that in ith month, there could be a regime switching, in another word, a regime switching candidates. If πΆπ π =
0, then we say there is no regime switching in ith month. The Criteria is chosen to make the regime switching candidates just more than
40% of all rates.
Regime Calibration
Calibration Steps 2
β’ Find V2
β’ Starting from first rates, for each of next 40 regime-switching candidates:
β’ Assume this is the regime-switching point, trying different target of interest rate (discretely) until we find one that yields minimum
SSE by formula:
ππ ππ‘ = 1 β 1 β πΉ
πππΈ =
ππ‘
ππ ππ‘ + 1 β πΉ
ππ‘
2
ππ ππ‘ β ππ ππ‘
ππ ππ‘βππ‘
β’ Choose the global minimum SSE generated from 40 regime-switching candidates, and make the first regime switching point.
β’ Use the new switching point as the starting point, loop above.
β’ For Reversion F
β’ We use the F from moment calibration work, which is 0.386806339
(1)
(1)
β’ Ideally F should be involved into calibration in the way: πΉ (1) β π1 , π2
we have better pre-determined F, itβs not necessary to so.
(2)
(2)
β πΉ (2) β π1 , π2
β’ Eventually using the determined V1 to calibrate parameters in Gamma(a, b) by MLE method.
(3)
(3)
β πΉ (3) β π1 , π2
β β― , However, since
Moment Calibration
Calibration Step 1 -Volatility Parameters
β’ Match moments of history delta ln rate by assuming the model follows a pure Di-GenGamma distribution
β’ Algorithm
β’ Conduct three equations by matching three moments, dlnM π
πππππ (πΌ, π½, π) = πππππ , π = 1,2,3
β’ In order to solve the equation, take the LS-sum
π=1
πππππ (πΌ, π½, π) = βπππππ
ππ·π
2
β’ Use Excel-Solver to find values of πΌ, π½, π and implement into our model. Manually adjust parameters through test and trials
Moment Calibration
Calibration Step 2 - Drift Parameters
β’ Algorithm
β’ For ππ‘β drift parameter Ξ΄i , test 100 equally spaced values on interval [li, ui] with 1000 scenarios
β’ For each moment of history rate Mj, fit a linear regression with respect to Ξ΄i :
πππ = πππ Ξ΄π + πππ π€ππ‘β ππππππππ‘πππ π½ππ
β’ Conduct a LS-Sum
π=1
πππ β ππ
ππ·π
2
β πΌ(π½ππ ) ,
π€βπππ ππ·π ππ π π‘ππππππ πππ£πππ‘πππ ππ π π‘β ππππππ‘,
0, πππ½ππ < 0.5
& πΌ π½ππ =
1, πππ½ππ > 0.5
β’
β’ Use Excel-Solver to find the that Ξ΄i minimize the sum, and move on to next (π + 1)π‘β parameter
Loop above until converge
Distance Calibration
Calibration Step
β’ Assume the dlnRate of our model follows a shape adjusted Di-GenGamma distribution -- Di-Gengamma(a,b,t)
β’ Set the mode of Di-Gengamma(a,b,t) to be within 0.004
β’ Loop
β’ Match PDF(History) vs. PDF(Di-Gengamma)
β’ Minimizing SSE by using Excel-Solver on parameters Di-Gengamma(a,b,t)
β’ Using the calibrated Di-Gengamma(a,b,t) to run model, and get PDF(Model)
β’ Match PDF(Model) vs. PDF(Di-Gengamma)
β’ Introduce shape adjustment parameters a*(index+b), we will only change the index (dlnr value/PDF bin) so that the parameters
a,b,t for shape adjusted Di-GenGamma distribution will be the same with our model
β’ Minimizing SSE by using Excel-Solver on shape adjustment parameters a,b
β’ Using the shape adjusted index (dlnr value or pdf bin) to loop above until converge
β’ The convergence means both a,b and a,b,t converges
β’ The convergence is fast