Take the 2-minute tour ×
Quantitative Finance Stack Exchange is a question and answer site for finance professionals and academics. It's 100% free, no registration required.

The CIR process is given by the SDE $$ \mathrm dr_t = \theta(\mu-r_t)\mathrm dt + \sigma\sqrt{r_t}\mathrm dW_t $$ where $W_t$ is a Brownian motion. I am interested in finite-difference schemes of simulating trajectories of this process, for example I tried the Euler-Maryama scheme $$ r_{t+\Delta t} \approx r_t + \theta(\mu - r_t)\Delta t + \sigma\sqrt{r_t}\xi_t\sqrt{\Delta t}, \quad \xi_t\sim\mathscr N(0,1) $$ but when I am making $\Delta t$ smaller and smaller, results do not seem nice. In fact, I am also interested in a more general simulation techniques for similar kind of processes. Any suggestions?

share|improve this question

1 Answer 1

There are a lot of methods for simulating such a process, the real problem here is to preserve positivity of the next simulated step as the Gaussian increment might result in negative value and then a non definite value for the next "square-root" step.

An approach that might be suitable to your more general needs is the following where a "consistent-domain" Markov Chain approach is used "Labbé, Remillard, Renaud - A Simple Discretization Scheme for Non negative Diffusion Processes, with Applications to Option Pricing"

There are many other methods to sample from this process, search for "Heston model simulation" and you should find all you need.

Best regards

share|improve this answer
Thanks, I'll do that! (Btw, did you leave MSE?) –  Ilya May 30 '13 at 14:43
@Ilya : I'm still "watching" but I only follow the tag "stochastic process" which is my main domain of interest. As there are many experts on the subject on the forum, questions usually get excellent answers even before I can read them which is why you feel like I have disappeared from MSE. Regards –  TheBridge May 30 '13 at 15:21
I understand your point, thx –  Ilya May 31 '13 at 12:17
@Ilya: As I realized that some people missed me on MSE I answered this question ;-) math.stackexchange.com/questions/407332/… regards –  TheBridge May 31 '13 at 21:40
Cool! nice to know you didn't leave it at all :) –  Ilya May 31 '13 at 22:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.