First-Passage Time

The first-passage time of a stochastic process to a threshold is defined as the first time the process reaches or exceeds :

Numerical Method

To estimate the mean first-passage time numerically:

  1. Run an Euler-Maruyama scheme simulation of the process (e.g. the Ornstein-Uhlenbeck process).
  2. At each time step, check whether .
  3. When the condition is met, record the elapsed time as for that walker.
  4. Average over many independent simulations (walkers) to obtain the mean first-passage time .

Python

Python
Output

Euler-Maruyama scheme | Ornstein-Uhlenbeck process | Langevin equation | Wiener process | Stochastic differential equation