Skip to content

calum-strange/SDE-Higham

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 

Repository files navigation

Some basic algorithms for stochastic differential equations in Python 3 and MATLAB

This is an updated version of the 2013 work presented by Dr Alexander Lundervold (http://alexander.lundervold.com/) on GitHub (see https://github.com/alu042/SDE-higham) and the MatLab files Prof Des Higham (https://www.maths.ed.ac.uk/~dhigham/) makes available on his homepage (https://www.maths.ed.ac.uk/~dhigham/algfiles.html). The code we present here is the respective code found on those two locations updated/converted to run in Python 3 and including the typo corrections as detailed by Prof Des Higham on his website.

We thank Prof Higham for kindly giving us permision to host the MATLAB files here.

Overview

Modified from the MATLAB versions in Higham “An Algorithmic Introduction to Numerical Simulation of Stochastic Differential Equations”, SIAM Review, Vol. 43, No. 3, 2001. https://doi.org/10.1137/S0036144500378302. Downloadble version from Des Higham’s website: http://personal.strath.ac.uk/d.j.higham/Plist/P42.pdf

Details about the algorithms can be found in the paper.

List of algorithms

FilenameDescription
bpath1Naive simulation of a Brownian path
bpath2Simulation of a Brownian path
bpath3Function along a Brownain path
stintApproximate stochastic integrals
emEuler-Maruyama method on linear SDE
emstrongTest strong convergence of Euler-Maruyama
emweakTest weak convergence of Euler-Maruyama
milstrongTest strong convergence of Milstein method
stabMean-square and asymptotic stability test for E-M
chainTest stochastic chain rule
milstein-3dMilstein’s method applied to a 3D SDE (not part of SIAM paper)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published