Skip to question

Computational Finance Q&A · Volume 1 · Question 22 of 30

Why Is the CIR Process Difficult to Simulate with Euler?

Why can Euler simulation produce negative CIR variance despite nonnegative continuous-time dynamics?

Part of Computational Finance Q&A — Volume 1, a companion to the 14-lecture Computational Finance course. Lecture 10: Monte Carlo Simulation of the Heston Model.

Why this question matters

The Cox–Ingersoll–Ross process is used to model nonnegative quantities such as the variance in Heston stochastic volatility. Its continuous-time structure respects this constraint, but a straightforward numerical time step need not.

The idea explained

The episode looks at square-root diffusion, the Feller condition and the Gaussian shock in the Euler approximation. A sufficiently negative random increment can drive the discretized variance below zero even when the continuous process is nonnegative. This creates a numerical problem for any subsequent square-root calculation.

A practical perspective

A path may have a small positive variance at one time step. The next Euler shock can push the simulated value below zero. Simply increasing the number of paths will not fix the discretization itself; the numerical scheme and its bias must be considered.

What you will learn

Watch the video for the complete discussion and consult the original slides for the technical details.

Slides and related lessons

Q&A slides on GitHub ↗ Relevant slides: pp. 60–62 of the 84-page Q&A deck

Related Computational Finance course material: Lecture 10: Monte Carlo Simulation of the Heston Model.

Browse all 30 questions, explore the full Computational Finance materials ↗, or find more on Computations in Finance ↗.