sde


sde, a Python code which illustrates properties of stochastic ordinary differential equations (SDE), and common algorithms for their analysis, including the Euler method, the Euler-Maruyama method, and the Milstein method, by Desmond Higham;

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

sde is available in a C version and a C++ version and a Fortran77 version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.

Related Data and Programs:

black_scholes, a Python code which implements some simple approaches to the Black-Scholes option valuation theory, by Desmond Higham.

brownian_motion_simulation, a Python code which simulates Brownian motion in an M-dimensional region.

colored_noise, a Python code which generates samples of noise obeying a 1/f^alpha power law.

ornstein_uhlenbeck, a Python code which approximates solutions of the Ornstein-Uhlenbeck stochastic differential equation (SDE) using the Euler method and the Euler-Maruyama method.

pink_noise, a Python code which computes a pink noise signal obeying a 1/f power law.

stochastic_diffusion, a Python code which implement several versions of a stochastic diffusivity coefficient.

Author:

Original MATLAB version by Desmond Higham. This version by John Burkardt.

Reference:

  1. Desmond Higham,
    An Algorithmic Introduction to Numerical Simulation of Stochastic Differential Equations,
    SIAM Review,
    Volume 43, Number 3, September 2001, pages 525-546.

Source Code:


Last revised on 30 April 2025.