Serving the Quantitative Finance Community

 
User avatar
yoki
Topic Author
Posts: 0
Joined: May 7th, 2004, 8:21 am

Monte Carlo of Heston Model

August 5th, 2004, 2:55 pm

Hi, every one. I am doing the Monte Carlo of Heston Model. But I found that when I impletement the second SDE (actually it is CIR model)for the volatility dV(t)=k*(theta-V(t))*dt+sigma*sqrt(V(t))*dW. It will get negative number sometimes which is inconsistent with the fact that it can only be non-negative. Does any one know how to solve this problem? Thank you very much!yoki
 
User avatar
SPAAGG
Posts: 3
Joined: March 21st, 2003, 1:31 pm

Monte Carlo of Heston Model

August 5th, 2004, 3:22 pm

take absolute value
 
User avatar
yoki
Topic Author
Posts: 0
Joined: May 7th, 2004, 8:21 am

Monte Carlo of Heston Model

August 5th, 2004, 3:36 pm

QuoteOriginally posted by: SPAAGGtake absolute valueThank you, SPAAGG. Does it the usual way people do when this problem happens. At first I am also thinking about to set V=0 when it gets negative number, what do think about it? What I worry about is if I make such change, taking absolute value or setting 0, will it still consist with the SDE?
 
User avatar
FiveEights
Posts: 0
Joined: April 28th, 2004, 7:24 am

Monte Carlo of Heston Model

August 10th, 2004, 8:36 am

Hi,you've got two ways to solve this problem: 1. Use zero as absorbing barrier: if (volatility_t < 0) volatility_t :=02. Reflecting barrier: if (volatility_t < 0) volatility_t := -volatility_tIn my opinon, these are the common methods to deal with negative volatilities but I have to admit, that I don't know which one should be preferred. As far as I observed, this doesn't make much of a difference for the result of the simulation.Kind regards
 
User avatar
SPAAGG
Posts: 3
Joined: March 21st, 2003, 1:31 pm

Monte Carlo of Heston Model

August 13th, 2004, 12:45 pm

I agree...
 
User avatar
hazerider
Posts: 0
Joined: July 24th, 2003, 3:45 pm

Monte Carlo of Heston Model

August 13th, 2004, 1:34 pm

Increase the number of time steps per sample path. You will have to refit your volatility parameters though.
 
User avatar
piterbarg
Posts: 5
Joined: October 29th, 2002, 6:42 pm

Monte Carlo of Heston Model

August 15th, 2004, 3:21 pm

QuoteOriginally posted by: FiveEightsHi,you've got two ways to solve this problem: 1. Use zero as absorbing barrier: if (volatility_t < 0) volatility_t :=02. Reflecting barrier: if (volatility_t < 0) volatility_t := -volatility_tIn my opinon, these are the common methods to deal with negative volatilities but I have to admit, that I don't know which one should be preferred. As far as I observed, this doesn't make much of a difference for the result of the simulation.With all due respect, both suggestions are not totally ideal. The best way to handle this issue is to use (for time-stepping) a distribution that is non-negative, such as log-normal. Although in the case of the Heston model, a Gamma distribution is an even better choice. In either case it should be moment-matched to the actual moments of the Heston process. See Appendix A of this for details.
 
User avatar
AVt
Posts: 90
Joined: December 29th, 2001, 8:23 pm

Monte Carlo of Heston Model

August 16th, 2004, 11:15 am

Vladimir,would you mind to elaborate a little bit on that?
 
User avatar
piterbarg
Posts: 5
Joined: October 29th, 2002, 6:42 pm

Monte Carlo of Heston Model

August 16th, 2004, 11:49 am

QuoteOriginally posted by: AVtVladimir,would you mind to elaborate a little bit on that?hmmmnot sure what is it exactly that you want me to elaborate onIf on the use of a Gamma distribution vs lognormal, then here it goes. The Gamma distribution is a stationary distribution for the Heston model, and has tails that are more similar to the "real" transition density tails than the log-normal distribution. So you get a better approximation on each time step if you use the Gamma distribution, and that allows you to use coarse time steps. hope this helps-Vladimir
 
User avatar
NewFinance
Posts: 0
Joined: December 28th, 2003, 11:57 am

Monte Carlo of Heston Model

August 20th, 2004, 11:35 am

Hi, I also have a basic question regarding the Heston Model. If you are doing a Monte Carlo simulation then can you still simulate the stock price as the exact expression:S(t+1)=S(t)exp{[r-0.5*sigma*sigma]dt+sigma*Z*sqrt(dt)} or do you have to use an Euler discretization.Also is there is also a similar 'exact 'expression for the Heston Volatility rather than using Euler discretization?ThanksNewFinance
 
User avatar
NewFinance
Posts: 0
Joined: December 28th, 2003, 11:57 am

Monte Carlo of Heston Model

August 22nd, 2004, 9:31 am

Could someone answer my question?ThanksNewFinance
 
User avatar
AVt
Posts: 90
Joined: December 29th, 2001, 8:23 pm

Monte Carlo of Heston Model

August 22nd, 2004, 4:37 pm

Vladimir,Thank you, it helped somewhat ... i will have to find time to understand(A.2 & A.1) in that Andersen&Brotherton-Ratcliffe paper, especially howcorrelation has to be treated.Axel
 
User avatar
Demian
Posts: 0
Joined: August 29th, 2004, 3:33 pm

Monte Carlo of Heston Model

September 2nd, 2004, 9:00 am

Could anyone provide a pseudocode (algorithm) for the monte carlo of Heston? Anyone able to get reasonably good results for the simulation of SV?demian
 
User avatar
sammus
Posts: 9
Joined: November 11th, 2003, 6:21 am

Monte Carlo of Heston Model

September 7th, 2004, 1:59 am

Could anyone share some papers that talk about Monte Carlo approach to Heston model? In general, which scheme is more preferred, Euler or Milstein?I am new to this area, any hints are most appreciated.
Last edited by sammus on September 6th, 2004, 10:00 pm, edited 1 time in total.