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.