In mathematics, the Ornstein–Uhlenbeck process is a stochastic process with applications in financial mathematics and the physical sciences. Its original application in physics was as a model for the velocity of a massive Brownian particle under the influence of friction. It is named after Leonard Ornstein and George Eugene Uhlenbeck.
The Ornstein–Uhlenbeck process is a stationary Gauss–Markov process, which means that it is a Gaussian process, a Markov process, and is temporally homogeneous. In fact, it is the only nontrivial process that satisfies these three conditions, up to allowing linear transformations of the space and time variables.[1] Over time, the process tends to drift towards its mean function: such a process is called mean-reverting.
The process can be considered to be a modification of the random walk in continuous time, or Wiener process, in which the properties of the process have been changed so that there is a tendency of the walk to move back towards a central location, with a greater attraction when the process is further away from the center. The Ornstein–Uhlenbeck process can also be considered as the continuous-time analogue of the discrete-time AR(1) process.
The Ornstein–Uhlenbeck process [math]\displaystyle{ x_t }[/math] is defined by the following stochastic differential equation:
where [math]\displaystyle{ \theta \gt 0 }[/math] and [math]\displaystyle{ \sigma \gt 0 }[/math] are parameters and [math]\displaystyle{ W_t }[/math] denotes the Wiener process.[2][3][4]
An additional drift term is sometimes added:
where [math]\displaystyle{ \mu }[/math] is a constant. The Ornstein–Uhlenbeck process is sometimes also written as a Langevin equation of the form
where [math]\displaystyle{ \eta(t) }[/math], also known as white noise, stands in for the supposed derivative [math]\displaystyle{ d W_t / dt }[/math] of the Wiener process.[5] However, [math]\displaystyle{ d W_t / dt }[/math] does not exist because the Wiener process is nowhere differentiable, and so the Langevin equation is, strictly speaking, only heuristic.[6] In physics and engineering disciplines, it is a common representation for the Ornstein–Uhlenbeck process and similar stochastic differential equations by tacitly assuming that the noise term is a derivative of a differentiable (e.g. Fourier) interpolation of the Wiener process.
The Ornstein–Uhlenbeck process can also be described in terms of a probability density function, [math]\displaystyle{ P(x,t) }[/math], which specifies the probability of finding the process in the state [math]\displaystyle{ x }[/math] at time [math]\displaystyle{ t }[/math].[5] This function satisfies the Fokker–Planck equation
where [math]\displaystyle{ D = \sigma^2 / 2 }[/math]. This is a linear parabolic partial differential equation which can be solved by a variety of techniques. The transition probability, also known as the Green's function, [math]\displaystyle{ P(x,t\mid x',t') }[/math] is a Gaussian with mean [math]\displaystyle{ x' e^{-\theta (t-t')} }[/math] and variance [math]\displaystyle{ \frac{D}{\theta} \left( 1 - e^{-2\theta (t-t')} \right) }[/math]:
This gives the probability of the state [math]\displaystyle{ x }[/math] occurring at time [math]\displaystyle{ t }[/math] given initial state [math]\displaystyle{ x' }[/math] at time [math]\displaystyle{ t' \lt t }[/math]. Equivalently, [math]\displaystyle{ P(x,t\mid x',t') }[/math] is the solution of the Fokker–Planck equation with initial condition [math]\displaystyle{ P(x,t') = \delta(x - x') }[/math].
Conditioned on a particular value of [math]\displaystyle{ x_0 }[/math], the mean is
and the covariance is
For the stationary (unconditioned) process, the mean of [math]\displaystyle{ x_t }[/math] is [math]\displaystyle{ \mu }[/math], and the covariance of [math]\displaystyle{ x_s }[/math] and [math]\displaystyle{ x_t }[/math] is [math]\displaystyle{ \frac{\sigma^2}{2\theta} e^{-\theta|t-s|} }[/math].
The Ornstein–Uhlenbeck process is an example of a Gaussian process that has a bounded variance and admits a stationary probability distribution, in contrast to the Wiener process; the difference between the two is in their "drift" term. For the Wiener process the drift term is constant, whereas for the Ornstein–Uhlenbeck process it is dependent on the current value of the process: if the current value of the process is less than the (long-term) mean, the drift will be positive; if the current value of the process is greater than the (long-term) mean, the drift will be negative. In other words, the mean acts as an equilibrium level for the process. This gives the process its informative name, "mean-reverting."
A temporally homogeneous Ornstein–Uhlenbeck process can be represented as a scaled, time-transformed Wiener process:
where [math]\displaystyle{ W_t }[/math] is the standard Wiener process. This is roughly Theorem 1.2 in Doob 1942. Equivalently, with the change of variable [math]\displaystyle{ s = e^{2 \theta t} }[/math] this becomes
Using this mapping, one can translate known properties of [math]\displaystyle{ W_t }[/math] into corresponding statements for [math]\displaystyle{ x_t }[/math]. For instance, the law of the iterated logarithm for [math]\displaystyle{ W_t }[/math] becomes[1]
The stochastic differential equation for [math]\displaystyle{ x_t }[/math] can be formally solved by variation of parameters.[7] Writing
we get
Integrating from [math]\displaystyle{ 0 }[/math] to [math]\displaystyle{ t }[/math] we get
whereupon we see
From this representation, the first moment (i.e. the mean) is shown to be
assuming [math]\displaystyle{ x_0 }[/math] is constant. Moreover, the Itō isometry can be used to calculate the covariance function by
Since the Itô integral of deterministic integrand is normally distributed, it follows that[citation needed]
The infinitesimal generator of the process is[8][math]\displaystyle{ Lf = -\theta (x-\mu) f' + \frac 12 \sigma^2 f'' }[/math]If we let [math]\displaystyle{ y = x\sqrt{\frac{2\mu}{\sigma^2}} }[/math], then the eigenvalue equation simplifies to: [math]\displaystyle{ \frac{d^2}{dy^2}\phi - y\frac{d}{dy}\phi + \frac{\lambda}{\mu} \phi = 0 }[/math]which is the defining equation for Hermite polynomials. Its solutions are [math]\displaystyle{ \phi(y) = He_n(y) }[/math], with [math]\displaystyle{ \lambda = n\mu }[/math], which implies that the mean first passage time for a particle to hit a point on the boundary is on the order of [math]\displaystyle{ \mu^{-1} }[/math].
By using discretely sampled data at time intervals of width [math]\displaystyle{ t }[/math], the maximum likelihood estimators for the parameters of the Ornstein–Uhlenbeck process are asymptotically normal to their true values.[9] More precisely,[failed verification][math]\displaystyle{ \sqrt{n} \left( \begin{pmatrix} \widehat\theta_n \\ \widehat\mu_n \\ \widehat\sigma_n^2 \end{pmatrix} - \begin{pmatrix} \theta \\ \mu \\ \sigma^2 \end{pmatrix} \right) \xrightarrow{d} \ \mathcal{N} \left( \begin{pmatrix} 0 \\ 0 \\ 0 \end{pmatrix}, \begin{pmatrix} \frac{e^{2 t \theta}-1}{t^2} & 0 & \frac{\sigma^2( e^{2 t \theta}-1-2 t \theta )}{ t^2 \theta } \\ 0 & \frac{ \sigma^2 \left(e^{t \theta}+1\right) }{2 \left(e^{t \theta}-1\right) \theta} & 0 \\ \frac{\sigma^2 ( e^{2 t \theta}-1-2 t \theta )}{ t^2 \theta } & 0 & \frac{\sigma^4 \left[ \left( e^{2 t \theta} - 1 \right)^2 + 2 t^2 \theta^2 \left( e^{2 t \theta} + 1 \right) + 4 t \theta \left( e^{2 t \theta} - 1 \right)\right] } { t^2 \left(e^{2 t \theta}-1\right) \theta^2} \end{pmatrix} \right) }[/math]
To simulate an OU process numerically with standard deviation [math]\displaystyle{ \Sigma }[/math] and correlation time [math]\displaystyle{ \Theta }[/math], one method is to apply the finite-difference formula
[math]\displaystyle{ x(t+dt) = x(t) - \Theta \, dt \, x(t) + \Sigma \sqrt{2 \, dt \, \Theta} \nu_i }[/math] where [math]\displaystyle{ \nu_i }[/math] is a normally distributed random number with zero mean and unit variance, sampled independently at every time-step [math]\displaystyle{ dt }[/math].[10]
The Ornstein–Uhlenbeck process can be interpreted as a scaling limit of a discrete process, in the same way that Brownian motion is a scaling limit of random walks. Consider an urn containing [math]\displaystyle{ n }[/math] blue and yellow balls. At each step a ball is chosen at random and replaced by a ball of the opposite colour. Let [math]\displaystyle{ X_k }[/math] be the number of blue balls in the urn after [math]\displaystyle{ k }[/math] steps. Then [math]\displaystyle{ \frac{X_{[nt]} - n/2}{\sqrt{n}} }[/math] converges in law to an Ornstein–Uhlenbeck process as [math]\displaystyle{ n }[/math] tends to infinity. This was obtained by Mark Kac.[11]
Heuristically one may obtain this as follows.
Let [math]\displaystyle{ X^{(n)}_t:= \frac{X_{[nt]} - n/2}{\sqrt{n}} }[/math], and we will obtain the stochastic differential equation at the [math]\displaystyle{ n\to \infty }[/math] limit. First deduce [math]\displaystyle{ \Delta t = 1/n,\quad \Delta X^{(n)}_t = X^{(n)}_{t+\Delta t} -X^{(n)}_t. }[/math] With this, we can calculate the mean and variance of [math]\displaystyle{ \Delta X^{(n)}_t }[/math], which turns out to be [math]\displaystyle{ -2 X^{(n)}_t \Delta t }[/math] and [math]\displaystyle{ \Delta t }[/math]. Thus at the [math]\displaystyle{ n\to \infty }[/math] limit, we have [math]\displaystyle{ dX_t = -2X_t\,dt + dW_t }[/math], with solution (assuming [math]\displaystyle{ X_0 }[/math] distribution is standard normal) [math]\displaystyle{ X_t = e^{-2t}W_{e^{4t}} }[/math].
The Ornstein–Uhlenbeck process is a prototype of a noisy relaxation process. A canonical example is a Hookean spring (harmonic oscillator) with spring constant [math]\displaystyle{ k }[/math] whose dynamics is overdamped with friction coefficient [math]\displaystyle{ \gamma }[/math]. In the presence of thermal fluctuations with temperature [math]\displaystyle{ T }[/math], the length [math]\displaystyle{ x(t) }[/math] of the spring fluctuates around the spring rest length [math]\displaystyle{ x_0 }[/math]; its stochastic dynamics is described by an Ornstein–Uhlenbeck process with
where [math]\displaystyle{ \sigma }[/math] is derived from the Stokes–Einstein equation [math]\displaystyle{ D=\sigma^2/2=k_B T/\gamma }[/math] for the effective diffusion constant.[12][13] This model has been used to characterize the motion of a Brownian particle in an optical trap.[13][14]
At equilibrium, the spring stores an average energy [math]\displaystyle{ \langle E\rangle = k \langle (x-x_0)^2 \rangle /2=k_B T/2 }[/math] in accordance with the equipartition theorem.[15]
The Ornstein–Uhlenbeck process is used in the Vasicek model of the interest rate.[16] The Ornstein–Uhlenbeck process is one of several approaches used to model (with modifications) interest rates, currency exchange rates, and commodity prices stochastically. The parameter [math]\displaystyle{ \mu }[/math] represents the equilibrium or mean value supported by fundamentals; [math]\displaystyle{ \sigma }[/math] the degree of volatility around it caused by shocks, and [math]\displaystyle{ \theta }[/math] the rate by which these shocks dissipate and the variable reverts towards the mean. One application of the process is a trading strategy known as pairs trade.[17][18][19]
A further implementation of the Ornstein–Uhlenbeck process is derived by Marcello Minenna in order to model the stock return under a lognormal distribution dynamics. This modeling aims at the determination of confidence interval to predict market abuse phenomena. [20] [21]
The Ornstein–Uhlenbeck process has been proposed as an improvement over a Brownian motion model for modeling the change in organismal phenotypes over time.[22] A Brownian motion model implies that the phenotype can move without limit, whereas for most phenotypes natural selection imposes a cost for moving too far in either direction. A meta-analysis of 250 fossil phenotype time-series showed that an Ornstein–Uhlenbeck model was the best fit for 115 (46%) of the examined time series, supporting stasis as a common evolutionary pattern.[23] This said, there are certain challenges to its use: model selection mechanisms are often biased towards preferring an OU process without sufficient support, and misinterpretation is easy to the unsuspecting data scientist.[24]
It is possible to define a Lévy-driven Ornstein–Uhlenbeck process, in which the background driving process is a Lévy process instead of a Wiener process:[25][26]
Here, the differential of the Wiener process [math]\displaystyle{ W_t }[/math] has been replaced with the differential of a Lévy process [math]\displaystyle{ L_t }[/math].
In addition, in finance, stochastic processes are used where the volatility increases for larger values of [math]\displaystyle{ X }[/math]. In particular, the CKLS process (Chan–Karolyi–Longstaff–Sanders)[27] with the volatility term replaced by [math]\displaystyle{ \sigma\,x^\gamma\, dW_t }[/math] can be solved in closed form for [math]\displaystyle{ \gamma=1 }[/math], as well as for [math]\displaystyle{ \gamma=0 }[/math], which corresponds to the conventional OU process. Another special case is [math]\displaystyle{ \gamma=1/2 }[/math], which corresponds to the Cox–Ingersoll–Ross model (CIR-model).
A multi-dimensional version of the Ornstein–Uhlenbeck process, denoted by the N-dimensional vector [math]\displaystyle{ \mathbf{x}_t }[/math], can be defined from
where [math]\displaystyle{ \mathbf{W}_t }[/math] is an N-dimensional Wiener process, and [math]\displaystyle{ \boldsymbol{\beta} }[/math] and [math]\displaystyle{ \boldsymbol{\sigma} }[/math] are constant N×N matrices.[28] The solution is
and the mean is
These expressions make use of the matrix exponential.
The process can also be described in terms of the probability density function [math]\displaystyle{ P(\mathbf{x},t) }[/math], which satisfies the Fokker–Planck equation[29]
where the matrix [math]\displaystyle{ \boldsymbol{D} }[/math] with components [math]\displaystyle{ D_{ij} }[/math] is defined by [math]\displaystyle{ \boldsymbol{D} = \boldsymbol{\sigma} \boldsymbol{\sigma}^T / 2 }[/math]. As for the 1d case, the process is a linear transformation of Gaussian random variables, and therefore itself must be Gaussian. Because of this, the transition probability [math]\displaystyle{ P(\mathbf{x},t\mid\mathbf{x}',t') }[/math] is a Gaussian which can be written down explicitly. If the real parts of the eigenvalues of [math]\displaystyle{ \boldsymbol{\beta} }[/math] are larger than zero, a stationary solution [math]\displaystyle{ P_{\text{st}}(\mathbf{x}) }[/math] moreover exists, given by
where the matrix [math]\displaystyle{ \boldsymbol{\omega} }[/math] is determined from the Lyapunov equation [math]\displaystyle{ \boldsymbol{\beta} \boldsymbol{\omega} + \boldsymbol{\omega} \boldsymbol{\beta}^T = 2 \boldsymbol{D} }[/math].[5]
Original source: https://en.wikipedia.org/wiki/Ornstein–Uhlenbeck process.
Read more |