Directory of Open Source for Quantitative Finance and Trading
Username: Password: Not registered?
 
Quick Search:    (AJAX based: No need to press button)

QuantCode Forum Index
   QuantFinance
     Monte Carlo Simulation in Hull white model
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
azhang
Posted on: 2008/5/28 17:22
Just popping in
Joined: 2008/4/22
From:
Posts: 5
Monte Carlo Simulation in Hull white model
I am trying to simulate short rate in Hull White, but have got caught up in this confusion.
I am using a flat forward term structure of 0.05 as input with hull white parameters
a=0.1
sigma=0.05
T= 5 year

Now the problem is that I was expecting the values of short rate to be same as 0.05 along the path, but when I calculate the average it keeps on increasing as time steps

For example, this is my result:
0.050000 0.050512 0.053635 0.058188

Is it necessay for all the short rate values to approach the forward rate values along a path?

It used to work for Libor market model and I was able to match the bond prices using simulated values of forward rate . The realized forward rate values used to match the forward rates implied from the current term structure.

How can I check that my simulated values are right when simulating a shrt rate model?

vanna
Posted on: 2008/5/30 19:00
Just can't stay away
Joined: 2007/3/21
From:
Posts: 104
Re: Monte Carlo Simulation in Hull white model
For example, this is my result:
0.050000 0.050512 0.053635 0.058188


I think it is ok for r to be increasing. Remember, the expected value of bond price should match with the values of bond prices generated by MC, not that the expected values of rt should match.

E[exp(X)] is not equal to exp[E[X]]

I have updloaded a file to explain the intuition behind Hull White simulation:
MC simulation in Hull White


HTH
MrIsaksen
Posted on: 2012/10/21 6:13
Just popping in
Joined: 2012/10/20
From: Copenhagen, Denmark
Posts: 3
Re: Monte Carlo Simulation in Hull white model
I had a similar problem with my implementation - when switching to discrete time, the model wasn't well-behaved. My problem was that the last part of the theta-function was very large (due to a small "a" in a denominator). When I removed that part, the model converged nicely to the term structure as it's supposed to.

I implemented the formula in Matlab with a varying term structure. I would love to hear your comments/suggestions: http://www.quantcode.com/modules/newbb/viewtopic.php?topic_id=471&forum=1
Threaded | Newest First Previous Topic | Next Topic | Top

Register To Post
 
Similar Links:
Hull White Monte Carlo simulation (Software)
MC simulation in Hull white model (Forum)
Option price by Monte carlo simulation in SABR model (Software)
MONTE CARLO SIMULATION AND FINANCE (Paper)
Bond Option pricing in Hull White using Monte Carlo simulaltion (Software)
Copyright © 2011 QuantCode Inc. All rights reserved.