3
$\begingroup$

I've been trying to calibrate Hull-White 1 Factor & 2 Factor model using Caps but I've some major doubts about my methodology, and would really appreciate some help.

I am using these formulas

I am using these formulas

enter image description here

For getting the instantaneous forward rates needed in theta formula i used the central difference method for getting the derivatives at the discrete time intervals t

(from excel data.....assumed P(t,T)= math.exp(r*t))enter image description here

1) In the A formula for P(t,T) which formula should we use? e^-rt or the Ae^-B*r(t)...If I have to use the latter one, what should I take r? the same r value i used initially for calculating DFs? or the r(t) analytical formula after the Hull White calibration? (I calibrated a,sigma value using sum squared min error with implied caplet values from formula given above and market values that i had)

2) After the calibration step, how do i get the r(t) values? i have to use monte carlo simulation

Thank you once again for your time, I am completely new to this field & would appreciate a helping hand. or the

$\endgroup$

2 Answers 2

3
$\begingroup$

On the Monte-Carlo Simulation of the Hull-White Model: You can find the specification of the Euler Scheme simulation in https://ssrn.com/abstract=2737091 . The paper gives the exact Euler step, i.e. the simulation step does not have a simulation time discretisation error. An implementation of this in Java is available as part of http://finmath.net/finmath-lib/, see also https://github.com/finmath/finmath-lib

The code is (currently) here: https://github.com/finmath/finmath-lib/blob/master/src/main/java/net/finmath/montecarlo/interestrate/models/HullWhiteModel.java

API Documentation here: http://finmath.net/finmath-lib/apidocs/net/finmath/montecarlo/interestrate/models/HullWhiteModel.html

On the formula of the zero bond: The representation of the zero bond with r involves an integral and even worse, an expectation ($P(t,T) = E( exp(-\int_t^T r(\tau) d\tau )$). The core advantage of the HW Model is that you have an analytic formula for P in terms of A and B. So you would use that formula. Note that the paper mentioned above also gives the correct values for A and B under the simulation scheme. Its an advantage to have the correct analytic formula under the simulated model instead of using the formula derived from the continuous time SDE, but being in a discretised setup.

$\endgroup$
1
  • $\begingroup$ So the reason we need to simulate discount factors is the because the exact formula $A*exp(-B*r(t))$ is derived for continuous case and not discretized case, is this correct? Thansk for helping. $\endgroup$
    – InnocentR
    Oct 27, 2019 at 18:53
2
$\begingroup$

1) the latter one. r is modeled short rate (specific to hull white 1 & 2).

2) r is calculated by solving the SDE of the above mentioned model. You can refer to this document for detailed analytical solutions.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.