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