In this part, we will introduce Brownian motion and Gaussian processes, which are fundamental concepts in stochastic processes and have wide applications in various fields such as physics, finance, and machine learning.
So far, we have looked at discrete-time discrete state space processes (Discrete Markov chains and Branching processes).
Then we moved to discrete-time continuous state space processes (in connection to MCMC).
Most recently, we studied continuous-time discrete state space processes (Poisson processes and more generally Continuous-time Markov chains).
Now, we will start looking at continuous-time continuous state space processes.
Brownian Motion
Intuition (Brownian Motion)
In a gas, atoms bump into each other and change course randomly. Over time, how does a single atom move, on average?
If f(x,t) represents the probability density for the position x of an atom at time t moving along a line, Albert Einstein showd that [^1],
∂t∂f=21∂x2∂2f.
Which has the solution,
f(x,t)=2πt1e−2tx2.
This means that the position of the atom at time t is normally distributed with mean 0 and variance t, i.e., Xt∼N(0,t).
These random movements are called Brownian motion (or Wiener process).
Definition 1 (Brownian Motion)
Brownian motion is a continuous-time stochastic process {Bt}t≥0 with the following properties:
B0=0.
For t>0, Bt∼N(0,t) (i.e., normally distributed with mean 0 and variance t).
For s,t>0, Bt+s−Bs∼N(0,t) (i.e., the increments are stationary).
For 0≤q<r≤s<t, Bt−Bs is independent of Br−Bq (i.e., the increments are independent).
The function t↦Bt is continuous with probability 1 (almost surely).
Intuition (Simulation of Brownian Motion)
Given time points 0=:t0<t1<t2<…<tn, we write for i>0,
Bti=Bti−1+(Bti−Bti−1)=Bti−1+Zi,
where Zi∼N(0,ti−ti−1).
Thus, we get for independent Z1,Z2,…,Zn,
Btn=i=1∑nZi.
This gives a simple way to simulate Brownian motion at discrete time points.
A good way to simulate the path t↦Bt on t∈[0,a] is to set ti=nai, simulate independently,
Zi∼N(0,na),
and compute,
Bti=j=1∑iZj,Note
We could also write Zi=naYi where Yi∼N(0,1) are standard normal random variables.
Intuition (Fractal Nature of Brownian Motion)
What if we have a Brownian motion path simulated as above, and want to plot it at twice the detail (i.e., at 2n points instead of n)?
We have,
Conversely, if t≤s, we would get Cov(Bs,Bt)=t.
Thus, we have,
Cov(Bs,Bt)=min(s,t)■.Intuition (Brownian Motion as Limit of Random Walks)
A random walk is a discrete-time Markov chain S0,S1,S2,… where S0=0 and,
Sn=Y1+Y2+…+Yn,
and Y1,Y2,… are i.i.d. random variables. Assume E[Yi]=0.
Further, if we assume Var(Yi)=1, we get Var(Sn)=n.
Interpolating between the values Sn we can make this into a continuous-time process St where Var(St)≈t.
We may scale with an s>0 to get processes St(s)=sSst where we get lims→∞Var(St(s))=t.
It turns out that the processes St(s) when s→∞ are exactly Brownian motion, no matter what type of Yi we start with.
This is the Donsker’s invariance principle, which is a generalization of the central limit theorem to stochastic processes [^2].
Gaussian Processes
Recall (Multivariate Normal Distribution)
A set of random variables X1,X2,…,Xk has a multivariate normal distribution if, for all real a1,a2,…,ak, a1X1+a2X2+…+akXk is normally distributed.
It is completely determined by the expectation vector μ=(E[X1],E[X2],…,E[Xk]) and the (k×k) covariance matrix Σ where Σij=Cov(Xi,Xj).
The joint density function on the vector x=(x1,x2,…,xk) is given by,
π(x)=∣2πΣ∣1/21exp(−21(x−μ)TΣ−1(x−μ)).
where ∣2πΣ∣ is the determinant of the matrix 2πΣ.
Note
All marginal distributions and all conditional distributions are also multivariate normal.
Definition 2 (Gaussian Process)
A Gaussian process is a continuous-time stochastic process {Xt}t≥0 with the property that for all n≥1 and 0≤t1<t2<…<tn, Xt1,Xt2,…,Xtn have a multivariate normal distribution.
Thus, a Gaussian process is completely determined by its mean function E[Xt] and its covariance function Cov(Xs,Xt).
Intuition (Brownian Motion as a Gaussian Process)
Brownian motion is a Gaussian process, as we can show that any a1Bt1+a2Bt2+…+anBtn is normally distributed.
A Gaussian process {Xt}t≥0 is a Brownian motion if and only if,
X0=0.
E[Xt]=0 for all t.
Cov(Xs,Xt)=min(s,t) for all s,t.
The function t↦Xt is continuous with probability 1 (almost surely).
Intuition (Transformations of Brownian Motion)
The following transformations of Brownian motion also yield Brownian motion:
{−Bt}t≥0, negating the process yields another (reflected) Brownian motion.
{Bt+s−Bs}t≥0 for any fixed s≥0, shifting the time origin yields another Brownian motion.
{a1Bat}t≥0 for any fixed a>0, scaling time and space yields another Brownian motion.
The process {Xt}t≥0 where X0=0 and Xt=tBt1 for t>0, time inversion yields another Brownian motion.
Intuition (Stopping Times)
We saw above that, for any fixed t(Bt+s−Bs)t≥0 is a Brownian motion.
Does thius phenomenon also hold if we start the chain anew from T when T is random? It depends.
If T is the largest value less than 1 where BT=0, then (BT+s−BT)s≥0 is not a Brownian motion.
If T is the smallest value where BT=a for some constant a, then (BT+s−BT)s≥0 is a Brownian motion.
The reason is that the event T=t can be determined based on Br where 0≤r≤t.
Random T’s that have this property are called stopping times. For these BT+s−BT is a Brownian motion.
Intuition (The Distribution of the First Hitting Time)
Given that a=0, what is the distribution of the first hitting time Ta=min{t:Bt=a}?
We will prove that,
Ta1∼Gamma(21,2a2).
Assuming that a>0 and using that Ta is a stopping time we get for any t>0 that P(Bt1>a∣Ta<t1)=P(Bt1−Ta>0)=21.