Euler-Maruyama Scheme
The Euler-Maruyama scheme is the numerical method for integrating stochastic differential equations (SDEs). It is the stochastic analogue of the Explicit Euler method.
General Form
For the SDE :
where are independent standard normal random variables drawn at each step.
Specific Cases
Wiener Process ()
Ornstein-Uhlenbeck Process ()
Python
Python
Output
Stochastic differential equation | Wiener process | Ornstein-Uhlenbeck process | Explicit Euler method | First-passage time