Skip to main content
The Ornstein-Uhlenbeck process is the canonical mean-reverting series: it wanders like a random walk but is continually pulled back toward a long-run level. It models interest-rate spreads, temperatures, and any quantity with an equilibrium it drifts around rather than away from.
The model dxt=θ(μxt)dt+σdWtdx_t = \theta\,(\mu - x_t)\,dt + \sigma\,dW_t theta is the reversion speed (how hard it is pulled back), mu the long-run mean, and sigma the volatility. Large theta gives a tight band around mu; small theta approaches a random walk.

1. Reversion speed

theta sets how hard the process is pulled back to mu. Everything else, including the seed, is held fixed, so the three paths differ only in reversion speed.

2. Volatility

sigma sets the size of the random shocks. With theta fixed, a larger sigma widens the band the process occupies around mu without changing how fast it returns.

3. Multiple series

Generate multiple independent OU processes in one call.
Related generators Reversion, mean, and volatility parameters are in the generator reference.