Runge–Kutta method (SDE)
In mathematics of stochastic systems, the Runge–Kutta method is a technique for the approximate numerical solution of a stochastic differential equation. It is a generalisation of the Runge–Kutta method for ordinary differential equations to stochastic differential equations (SDEs). Importantly, the method does not involve knowing derivatives of the coefficient functions in the SDEs.
Most basic scheme
Consider the Itō diffusion satisfying the following Itō stochastic differential equation
with initial condition , where stands for the Wiener process, and suppose that we wish to solve this SDE on some interval of time . Then the basic Runge–Kutta approximation to the true solution is the Markov chain defined as follows:[1]
- partition the interval into subintervals of width :
- set ;
- recursively compute for by
where and The random variables are independent and identically distributed normal random variables with expected value zero and variance .
This scheme has strong order 1, meaning that the approximation error of the actual solution at a fixed time scales with the time step . It has also weak order 1, meaning that the error on the statistics of the solution scales with the time step . See the references for complete and exact statements.
The functions and can be time-varying without any complication. The method can be generalized to the case of several coupled equations; the principle is the same but the equations become longer.
Variation of the Improved Euler is flexible
A newer Runge—Kutta scheme also of strong order 1 straightforwardly reduces to the Improved Euler scheme for deterministic ODEs. [2] Consider the vector stochastic process that satisfies the general Ito SDE
where drift and volatility are sufficiently smooth functions of their arguments. Given time step , and given the value , estimate by for time via
- where for normal random ;
- and where , each alternative chosen with probability .
The above describes only one time step. Repeat this time step times in order to integrate the SDE from time to .
The scheme integrates Stratonovich SDEs to provided one sets throughout (instead of choosing ).
Higher order Runge-Kutta schemes
Higher-order schemes also exist, but become increasingly complex. Rößler developed many schemes for Ito SDEs,[3][4] whereas Komori developed schemes for Stratonovich SDEs.[5][6][7] Rackauckas extended these schemes to allow for adaptive-time stepping via Rejection Sampling with Memory (RSwM), resulting in orders of magnitude efficiency increases in practical biological models[8], along with coefficient optimization for improved stability[9].
References
- P. E. Kloeden and E. Platen. Numerical solution of stochastic differential equations, volume 23 of Applications of Mathematics. Springer--Verlag, 1992.
- A. J. Roberts. Modify the improved Euler scheme to integrate stochastic differential equations. , Oct 2012.
- Rößler, A. (2009). "Second Order Runge–Kutta Methods for Itô Stochastic Differential Equations". SIAM Journal on Numerical Analysis. 47 (3): 1713–1738. doi:10.1137/060673308.
- Rößler, A. (2010). "Runge–Kutta Methods for the Strong Approximation of Solutions of Stochastic Differential Equations". SIAM Journal on Numerical Analysis. 48 (3): 922–952. doi:10.1137/09076636X.
- Komori, Y. (2007). "Multi-colored rooted tree analysis of the weak order conditions of a stochastic Runge–Kutta family". Applied Numerical Mathematics. 57 (2): 147–165. doi:10.1016/j.apnum.2006.02.002.
- Komori, Y. (2007). "Weak order stochastic Runge–Kutta methods for commutative stochastic differential equations". Journal of Computational and Applied Mathematics. 203: 57–79. doi:10.1016/j.cam.2006.03.010.
- Komori, Y. (2007). "Weak second-order stochastic Runge–Kutta methods for non-commutative stochastic differential equations". Journal of Computational and Applied Mathematics. 206: 158–173. doi:10.1016/j.cam.2006.06.006.
- Rackauckas, Christopher; Nie, Qing (2017). "ADAPTIVE METHODS FOR STOCHASTIC DIFFERENTIAL EQUATIONS VIA NATURAL EMBEDDINGS AND REJECTION SAMPLING WITH MEMORY". Discrete and Continuous Dynamical Systems - Series B. 22 (7): 2731–2761. doi:10.3934/dcdsb.2017133.
- Rackauckas, Christopher; Nie, Qing (2018). "Stability-optimized high order methods and stiffness detection for pathwise stiff stochastic differential equations". arXiv:1804.04344.