April 24th, 2012, 7:25 pm
There are lots of general approaches for boundary conditions.For your particular question -- just do the stand-alone vol. problem and use the sameresult for that. Since V=infinity is a natural boundary (unreachable in finite time), just aboutanything will work. For example, p(v=vmax) = 0 or dp/dv(v=vmax)=0 for example, will both work fine,assuming vmax >> 1. The main problem with the literature on your question is that laughingly small values of vmax tend to be used.An easy way to achieve vmax >> 1 is to switch to new coords Y = V/(V+V0), then just lay a uniform grid i/N; i = 0,1,...,(N-1) Since the stand-alone vol. process has an exactly known transition density, plot your errors over your *entire grid*and you'll know if your solver is any good. (Ditto for the joint transition density)
Last edited by
Alan on April 23rd, 2012, 10:00 pm, edited 1 time in total.