sde: a simple tool for numerical stochastic differential equations
sde provides basic tools for simulating brownian motions which is the basic ingredients to lots of SDE models, performing different types of stochastic integrations, Eular-Maruyama methods and so much more (to come…).
The origin of this project is this wonderful introductory paper: by Desmond J. Higham.
In this document, we will demonstrate how to:
Simulate brownian motion paths
Transform simulated bm paths
Perform stochastic integrals
Carry out numerical sde methods
However, before we get started, we need to install the package first which is freely available on PyPI.
Dependencies
Package |
Version |
|---|---|
python |
|
numpy |
|
tqdm |
|
matplotlib |
|
Installation
Note
We highly recommend creating a virtual environment before
proceeding to installing the package. For how to manage virtual
environment via conda, check out
their tutorial.
pip install sdeIU
To quickly test if it has been installed:
python -m sde --version
Tutorial
Brownian Motions
Stochastic Integrals
Stochastic Differential Equations
Convergence and Stability
API Reference