November 4th, 2004, 4:18 pm
Well, yes, the ODE way usually does involve an ansatz, or the somewhat anticipated "guessing" of the solution's form in advance.Working with piecewise constant parameters allows for an, though iterative, but analytical solution of the arising Riccati-type ODE and thus the whole system over each time bucket. So, to get the MGF, I merely have to evaluate functions. Then I'm left with the numerical integration of the Heston integrals. To this end I have implemented an FFT algorithm also using several "smoothing" methods as proposed by Carr & Madan. Also tried "regular" Gauss-integration of the integrals, because I thought the complex log correction might screw up the FFT. Still, the results seem to be wrong.Admittedly I have not yet tried to tackle the problem via FD or similar. But given the analytical solutions and the FFT algo, I can not imagine FD being faster or more efficient. I do not really dare to make a judgement, though, because I just haven't tried FD in this case.Thx a lot, piterbarg, for the link, although I have already been well familiar with the paper beforehand (and it certainly is on my 'TO DO' list for things to try out). Yet, using DD, it is supporting a somewhat different "philosophy" of smile/skew generation. For now I'm stuck with stochastic vol à la Heston and Schöbel/Zhu, where the skew evolves due to asset-vol correlation.It is actually only the latter model that seems to give me problems with the complex log. For a reason I do not know yet, the Heston case seems to work fine..... (???)