Stochastic process
A stochastic process, also called a random process, is a collection of random variables, one for each moment in time or point in space.[1] Each run of the random experiment produces one whole function of time, called a sample path, realization, or trajectory.[1]
Stochastic processes model quantities that change in ways that cannot be predicted exactly, such as the price of a stock over a day, the position of a pollen grain drifting in water, or the number of customers who have entered a shop.[1][2][3] They are studied in probability theory and statistics, and they are used to model stock markets, moving particles, telephone networks, and other systems in finance, physics, and engineering.[4][5]
The basic idea
A random variable is one random number, such as the result of rolling a die. A stochastic process assigns a random variable to every index in a set , called the index set.[1] The set of values that the variables can take is the state space.[5]
The index often stands for time, so is the state of a system at time . It can also stand for a place, as when is the air temperature at the point on a map, or for a place and a time together.[1]
Two views of a process
A process can be read in two ways.[1][5]
- Fix a time . Then is one random variable with its own distribution, which gives the probabilities of its possible values.
- Fix one outcome of the experiment. Then is an ordinary function of time, the sample path for that outcome.
In the second view, a process is a probability distribution over a whole space of paths.[5] A deterministic process follows one fixed path, such as . A process that equals with probability 1/2 and with probability 1/2 is already stochastic, because we do not know in advance which path will occur.[5]
Types of processes
Processes are sorted by whether the index set and the state space are discrete or continuous.[6] Discrete time usually means integer indices, and continuous time means indices that fill an interval of the real line.[1][5] The table gives one standard example of each kind.[6][7]
| Discrete state space | Continuous state space | |
|---|---|---|
| Discrete time | Simple random walk on the integers | Random walk with real-valued steps |
| Continuous time | Poisson process (values 0, 1, 2, ...) | Wiener process |
Some index sets lead to special names.[1]
- With one index, the process is a single random variable.
- With a finite index set , it is a random vector.
- With index set or for , it is often called a random field.
Common examples
Bernoulli process and random walk
A Bernoulli process is a sequence of coin flips, each landing heads with the same probability .[3] The flips are independent, meaning the result of one flip does not change the probabilities for the others.
The simple random walk adds up fair steps of and .[5] Let be independent, each equal to or with probability 1/2, and set
Here is the position after steps. It is also the balance of a gambler who wins or loses 1 dollar on each toss of a fair coin.[5] The walk has these properties.
- The mean, or expected value, is , and the variance, a measure of how spread out the values are, is for every .[5][8]
- By the central limit theorem, the distribution of approaches the standard normal distribution as grows.[5]
- For positive integers and , the chance that the walk reaches before is . This is the classic gambler's ruin problem.[5]
Poisson process
The Poisson process counts random events, such as arrivals, that occur at a steady average rate .[3] Let be the number of arrivals up to time . It is a Poisson process with rate when these conditions hold.[3]
- .
- Counts in non-overlapping time intervals are independent.
- The number of arrivals in any interval of length has a Poisson distribution with mean .
The waiting times between arrivals are independent and follow an exponential distribution with rate .[3]
Each path is a staircase that starts at 0 and steps up by one at each arrival.[7]
For example, if customers reach a store at per hour, the number arriving in a 20-minute window has a Poisson distribution with mean . The chance of exactly 2 arrivals in that window is about 0.2.[3]
Wiener process
The Wiener process , also called Brownian motion, models random motion in continuous time with continuous values.[9] A standard Wiener process has these properties.[10][8]
- .
- Changes over non-overlapping time intervals are independent.
- For , the change is normally distributed with mean 0 and variance .
- Every path is continuous.
It is not obvious that a process with all four properties exists. Norbert Wiener first proved that it does, in about 1920.[9]
The Wiener process is a limit of random walks. If a simple random walk takes steps per unit of time and its height is shrunk by a factor of , its path looks more and more like a Wiener path as grows (see Donsker's theorem).[9][10]
Markov chains
A Markov chain is a process in which the effect of the past on the future is summed up by the current state alone.[5] For a chain with discrete time and states in a discrete set , this Markov property reads
A chain with finitely many states is described by its transition probabilities , the chances of moving from state to state in one step. For each state , the probabilities over all add up to 1.[5] The simple random walk is also a Markov chain, with infinitely many states.[5]
For example, a machine is either working or broken each day. A working machine breaks by the next day with probability 0.01, and a broken one is repaired by the next day with probability 0.8.[5]
A stationary distribution is a distribution over states that one step leaves unchanged, so for every state . If every is positive, there is exactly one stationary distribution. The chance of being in state after steps then tends to from any starting state.[5]
For the machine, , so and . With , this gives . In the long run the machine is working with probability about 0.988.
Other families
Many other kinds of process have their own theory, including these.
- Point processes
- Branching processes
- Diffusion processes
- Lévy processes
- Gaussian processes, which the next section describes
Describing a process
Finite-dimensional distributions
Pick finitely many times . The joint distribution of is a finite-dimensional distribution of the process.[1] The family of all of them fits together in two ways.[1]
- Reordering the times only reorders the coordinates. This is called permutation invariance.
- Leaving out one time gives the joint distribution of the rest. This is called projection invariance.
Two processes with the same index set have the same finite-dimensional distributions when all these joint distributions agree.[1] As the section Formal definition shows, such processes can still differ in the shape of their paths.
Mean and covariance functions
The simplest summaries of a process are its mean function and its covariance function .[11]
Here is the expected value, and is the covariance between the values at times and , a measure of how the two values vary together. It is defined when each has a finite second moment, meaning the expected value of is finite. The function is also called the autocovariance or covariance function.
For the Wiener process, . For , split into plus the later change .
The second term is 0 because and are independent changes with mean 0. So .[12]
Gaussian processes
A Gaussian process is a collection of random variables, any finite number of which have a joint normal distribution.[13] Each of its finite-dimensional distributions is a multivariate normal distribution. Its covariance matrix, the table of covariances between each pair of values, is filled in from the covariance function.[11][13]
The Wiener process is a Gaussian process with mean 0 and covariance .[9][12]
In machine learning, Gaussian processes describe probability distributions over unknown functions. There the index set is the set of possible inputs, such as , rather than time.[13]
Key properties
Independent and stationary increments
An increment is the change of a process over a time interval.[5]
- Independent increments: for any times , the increments are mutually independent. See independent increments.
- Stationary increments: the distribution of depends only on the length , not on . See stationary increments.
The random walk, the Poisson process, and the Wiener process all have both properties.[5][3][8]
A process with stationary, independent increments, plus a mild condition on its paths, is called a Lévy process. In discrete time, such a process is a random walk with independent, identically distributed steps.[9][7]
Stationarity
A stationary process is one whose statistics do not change over time. There are two main versions.[11]
- Strictly stationary: for every , all times , and every shift , the vector has the same joint distribution as .
- Wide-sense stationary: the mean is constant, and depends only on the difference .
A strictly stationary process with finite second moments is also wide-sense stationary. For Gaussian processes the two versions are the same.[11]
Stationary increments do not make a process stationary. The Wiener process has stationary increments, but the variance of is , which grows with time, so the process itself is not stationary.[8]
Markov property
The Markov property applies to general processes too. It means that the future depends on the past only through the present state.[5]
For a Markov chain, the -step transition probabilities satisfy
So the -step transition matrix is the th power of the one-step matrix.[5]
In continuous time, Kolmogorov wrote for the probability that a system in state at time is in the set at time . The rule that ties these transition probabilities together across times in between is the Chapman-Kolmogorov equation.[14]
Martingales
A martingale models a fair game. Given everything seen so far, the expected next value equals the current value.[5][2] In discrete time, is a martingale if
where is the information in and each has a finite mean.[5]
The simple random walk is a martingale. The balance of a roulette player is not, because the expected next balance is always below the current one.[5]
The growing information is called a filtration.[2] A stopping time is a random time for which the event depends only on , with no look into the future. The first time a gambler's balance reaches 100 dollars is a stopping time, but the time of the balance's first peak is not.[5]
The weak form of Doob's optional stopping theorem says that if is a stopping time with for some constant , then . In a fair game, no such stopping rule gives a winning strategy.[5]
Formal definition
The modern definition rests on Kolmogorov's foundation of probability on measure theory.[15] Let be a probability space and let be any set. A stochastic process with index set is a collection of random variables defined on this same space, each a measurable function .[1]
Here is a sigma-algebra of events. Measurable means that for every Borel set , so probabilities such as are defined.[1] Borel sets are the sets built from intervals by repeatedly taking countable unions, countable intersections, and complements.
Processes can also take values in other spaces, such as for -dimensional Brownian motion or a finite set for a Markov chain.[10][5]
A process can be written as one function of two variables, time and outcome.[10]
For a fixed outcome , the function is the sample path.[1]
Kolmogorov extension theorem
The Kolmogorov extension theorem says that the two consistency conditions on finite-dimensional distributions are enough to build a process.[1] It works in three steps.[1]
- Start with a probability measure on for every and all . A probability measure is a rule that assigns probabilities to sets of outcomes.
- Check that this family has permutation invariance and projection invariance.
- Conclude that there is a probability space and a process on it whose finite-dimensional distributions are exactly these measures.
The proof takes , the set of all functions from to , so each outcome is itself a path.[1]
The result is also called the Daniell-Kolmogorov theorem. Percy Daniell first proved it in 1918, and Kolmogorov presented it in his 1933 book.[15][16]
The theorem guarantees that a process exists but says nothing about its paths.[16] An event such as the path being continuous involves more times than can be listed one by one, while classical measure theory can handle only countably many.[2] Joseph Doob introduced separable processes, whose behavior at all times is controlled by their values on a countable set of times, to deal with this problem.[2]
Modifications and indistinguishability
Two processes and on the same probability space and index set can be equal in two different senses.[1]
- is a modification of if for each .
- and are indistinguishable if there is an event with on which for all at once.
Indistinguishable processes are modifications of each other, but the reverse statement is false.[1] Let be uniform on , let for all , and let when and otherwise. For each fixed , , so is a modification of , yet every path of differs from the zero path at the point .[1]
Modifications agree at any finite set of times with probability 1, so they have the same finite-dimensional distributions. In the example, every path of is continuous and no path of is. So finite-dimensional distributions alone cannot tell whether paths are continuous.
Sample path regularity
Continuous paths
A process has continuous sample paths if every path is continuous. It has almost surely continuous paths if this holds for all in an event of probability 1.[1] See continuous stochastic process.
Kolmogorov's continuity theorem gives a test based on the moments of increments.[16] Suppose there are constants such that
Then has a continuous modification whose paths are -Hölder continuous for every with .[16][12]
A path is -Hölder continuous if for some constant and all . On a bounded interval, a larger is a stronger condition, meaning a smoother path.[12][16]
For the Wiener process, for each there is a constant with .[12] For this fits the theorem with , so . Letting grow shows that Brownian paths are -Hölder continuous for every .[12]
Brownian paths are still very rough. With probability 1 they have these two properties.[9]
- They are nowhere differentiable, meaning the path has no derivative at any point.
- The set of times in at which the path equals 0 is a homeomorphic image of the Cantor set, meaning it has the same topological shape as the Cantor set.
Càdlàg paths
Processes that jump cannot have continuous paths. The usual substitute is a càdlàg path, from the French continue à droite, limites à gauche, meaning right-continuous with left limits.[7]
At a jump time, a càdlàg path already has its new value, and its old value is the limit from the left. Paths of the Poisson process are càdlàg.[7]
Apart from simple transformations of Brownian motion, Lévy processes do not have continuous paths. When a Lévy process is continuous in probability, it has a modification with càdlàg paths.[7]
Stochastic calculus
Stochastic calculus extends ordinary calculus to stochastic processes.[17] Kiyosi Itô introduced the stochastic integral, now called the Itô integral, in a paper published in 1944.[17][2] A stochastic integral adds up a quantity against the random changes of a process such as Brownian motion.[18]
A stochastic differential equation (SDE) has the form
The first term is the drift, which sets the average direction of change. The second is the diffusion term, which adds random motion in proportion to a Brownian motion .[18][19]
Dividing by would give a term , which would be white noise. This derivative does not exist, because Brownian paths are nowhere differentiable.[18] The SDE is therefore read as the integral equation
where the last term is an Itô integral.[18]
Itô's formula, the stochastic version of the chain rule, adds correction terms to the ordinary rules of calculus.[17] These are second-order terms that vanish in ordinary calculus but survive here, because Brownian paths have nonzero quadratic variation.[18]
A simple example is Bachelier's model of a price with drift, . In differential form it reads .[4]
Computer methods for solving SDEs are covered in numerical methods for stochastic differential equations.
Applications
- Finance: Louis Bachelier modeled prices on the Paris stock market in 1900. Itô calculus is now standard equipment for handling financial derivatives, which are contracts whose value depends on the price of an asset.[4][17] See mathematical finance.
- Physics: Albert Einstein's 1905 theory of Brownian motion explained the jittering of small particles in a liquid as the result of random impacts from the liquid's molecules.[4] See stochastic processes in physics.
- Queues and networks: Poisson processes model arrivals, such as customers at a store. Process models can also give the chance that all circuits of a telephone system are busy at once.[3][5] See queueing theory.
- Reliability: Markov chains model machines that switch between working and broken.[5]
- Spatial data: random fields model quantities that vary over space, such as air temperature.[1]
- Machine learning: Gaussian processes give probability distributions over unknown functions in regression, the task of predicting a numerical value from input data.[13]
History
Early models
Louis Bachelier's 1900 doctoral thesis modeled stock prices on the Paris market with random walks and their limits.[4] Kolmogorov's 1931 article on Markov processes cites Bachelier as the first to study continuous-time stochastic processes.[14]
In 1905 Albert Einstein gave a theory of Brownian motion, the irregular movement of small particles floating in a liquid, with detailed numerical predictions.[4][15]
In 1906 Andrey Markov published the first paper on what became Markov chains. He showed that the weak law of large numbers can hold for such dependent sequences.[20] He meant this as a counterexample to a 1902 claim, as Markov read it, by Pavel Nekrasov that pairwise independence of the terms, meaning each pair of terms is independent, was necessary.[20]
Mathematical foundations
- 1918: Percy Daniell proved the theorem that builds a process from consistent finite-dimensional distributions.[15]
- 1923: Norbert Wiener gave a precise theory of Brownian motion by combining measure theory with Fourier analysis, a way to study a function by breaking it into waves. The process is now commonly called the Wiener process.[4]
- 1931: Andrey Kolmogorov published a paper on Markov processes with continuous states in continuous time. Modern diffusion theory dates from that paper, which linked Markov processes to linear partial differential equations, equations involving partial derivatives of functions of several variables.[15] These are now known as the Kolmogorov equations.
- 1933: Kolmogorov's Grundbegriffe der Wahrscheinlichkeitsrechnung set out the axioms of modern probability.[14] Its treatment of distributions in infinite-dimensional spaces and of conditional probability, the chance of an event given that another event has occurred, gave stochastic process theory the tools it needed.[15]
Martingales and stochastic calculus
Kiyosi Itô's first paper on the stochastic integral appeared in 1944.[2]
Joseph Doob worked on martingale theory from 1940 to 1950, after earlier work by Sergei Bernstein, Paul Lévy, and Jean Ville.[2]
In 1948 Lévy published Stochastic Processes and Brownian Motion, a survey of all the processes known at the time.[2] Doob's book Stochastic Processes, published in 1953, became in Paul-André Meyer's words the Bible of the new probability. It introduced separable processes and modeled growing information as an increasing family of sigma-algebras, now called a filtration.[2]
References
- Stochastic Processes (lecture notes), University of Münster.
- Stochastic Processes from 1950 to the Present, Paul-André Meyer, Electronic Journal for History of Probability and Statistics, 2009.
- Basic Concepts of the Poisson Process, H. Pishro-Nik, Introduction to Probability, Statistics, and Random Processes.
- Mathematical Finance: a glimpse from the past challenging the future, CIM Bulletin, issue 23.
- Lecture 5: Stochastic Processes I, MIT OpenCourseWare, 2013.
- EM 509: Stochastic Processes, Introduction, R. Palamakumbura.
- Probability Theory and Stochastic Analysis (lecture notes), Andreas Eberle, University of Bonn.
- IEOR 4700: Notes on Brownian Motion, Karl Sigman, Columbia University.
- Brownian Motion (lecture notes), Steven Lalley, University of Chicago.
- A guide to Brownian motion and related stochastic processes, Jim Pitman and Marc Yor, 2018.
- Stationary Processes (ECE 440 lecture slides), Gonzalo Mateos, University of Rochester.
- The Kolmogorov Continuity Theorem, George Lowther, Almost Sure, 2020.
- Gaussian Processes for Machine Learning, Chapter 2: Regression, C. E. Rasmussen and C. K. I. Williams, MIT Press, 2006.
- The Sources of Kolmogorov's Grundbegriffe, Glenn Shafer and Vladimir Vovk, Statistical Science, 2006.
- Obituary: Andrei Nikolaevich Kolmogorov (1903-1987), Bulletin of the London Mathematical Society, 1990.
- Lecture 6. The Kolmogorov continuity theorem, Fabrice Baudoin, 2012.
- Professor Kiyosi Itô, Times obituary, MacTutor History of Mathematics.
- Tutorial on Stochastic Differential Equations, Machine Perception Laboratory, UC San Diego.
- Lecture 8: Stochastic Differential Equations, Miranda Holmes-Cerfon, University of British Columbia, 2022.
- Markov and the creation of Markov chains, Eugene Seneta, University of Sydney.
