Stochastic Processes
Let be a probability space, be a measurable space and be a set. A stochastic process is a collection of random variables indexed by The set is the index set of the process, which is usually interpreted as time, and is the common state space of the process.
Let be a stochastic process. The process is a discrete-time process if and only if is countable, typically The process is a continuous-time process if and only if is an interval, typically
Let be a stochastic process and be a fixed outcome. The sample path or realisation of the process at is the function A stochastic process is equivalently a random function of time.
Let be a stochastic process. The finite-dimensional distributions of the process are the joint distributions of the random vectors over all finite sets of times in
Let be a family of joint distributions indexed by finite sets of times. The family is consistent if and only if the distribution for a subset of times is the marginal of the distribution for the larger set. The Kolmogorov extension theorem states that any consistent family is the family of finite-dimensional distributions of some stochastic process. The processes below are specified by their finite-dimensional distributions.
Let be a real-valued process and be times in The increment of the process over is the random variable
Let be a real-valued process. The process has independent increments if and only if increments over disjoint time intervals are mutually independent. The process has stationary increments if and only if the distribution of does not depend on
Let be a real-valued process with finite second moments. The mean function of the process is the function The autocovariance function of the process is the function for The autocorrelation function of the process is the function
Let be a function of two times. The function is positive semi-definite if and only if the matrix with entries is a positive semi-definite matrix for every finite set of times. The autocovariance function of a process is symmetric and positive semi-definite, since it is the covariance matrix of
Let be a stochastic process. The process is strictly stationary if and only if its finite-dimensional distributions are invariant under shifts in time.
Let be a real-valued process and The lag between and is the time difference
Let be a real-valued process. The process is weakly stationary or second-order stationary if and only if it has finite second moments, a constant mean function and an autocovariance function that depends only on the lag.
Stationary processes have the following properties:
- a strictly stationary process with finite second moments is weakly stationary;
- a weakly stationary process need not be strictly stationary;
- for a weakly stationary process and is the autocorrelation at lag
White noise is a weakly stationary process of uncorrelated random variables with mean zero and constant variance, so that for
A Gaussian process is a real-valued stochastic process all of whose finite-dimensional distributions are multivariate normal.
Let be a Gaussian process. The covariance kernel of the process is its autocovariance function, written Since a multivariate normal distribution is determined by its mean vector and covariance matrix, a Gaussian process is determined by its mean function and its covariance kernel, and is written
Gaussian processes have the following properties:
- any symmetric positive semi-definite function is a valid covariance kernel by the Kolmogorov extension theorem;
- for a Gaussian process weak stationarity implies strict stationarity;
- given observed values at some times, the values at any other times have a multivariate normal conditional distribution whose mean and covariance follow from the conditioning formulas for the multivariate normal distribution, which makes Gaussian processes a model for regression over functions.
Let and The squared exponential kernel is the covariance kernel The number is the length scale of the kernel, which controls how quickly the correlation between and decays with The squared exponential kernel gives smooth sample paths.
A Wiener process or standard Brownian motion is a continuous-time real-valued process with the following properties:
- independent increments;
- normally distributed stationary increments, for all
- continuous sample paths almost surely.
The Wiener process has the following properties:
- it is the Gaussian process with mean function and covariance kernel so and grows linearly in time;
- its sample paths are continuous but almost surely nowhere differentiable;
- it is invariant under the scaling for
Let and Brownian motion with drift and volatility is the process
Let be iid random variables with mean and variance The random walk with steps is the discrete-time process
Let be a random walk with iid steps of mean and variance Donsker’s theorem states that the rescaled random walk converges in distribution to the Wiener process as a process. The Wiener process is therefore the continuous-time limit of random walks in the same way that the normal distribution is the limit of averages.
Let be a discrete-time real-valued process with The process is a martingale if and only if its expected next value given its history is its current value.
Martingales have the following properties:
- by the law of total expectation for every so a martingale models a fair game;
- the random walk with mean-zero steps is a martingale, and in continuous time the Wiener process is a martingale.
A counting process is a continuous-time process with values in such that and is non-decreasing and right-continuous. The value counts the number of events of some kind that occur in the interval
Let be a counting process and The -th arrival time of the process is the time at which the count reaches The -th inter-arrival time of the process is the difference with
Let A Poisson process with rate is a counting process with independent increments whose increments are Poisson distributed with mean proportional to the length of the interval.
The Poisson process has the following properties:
- a counting process is a Poisson process with rate if and only if its inter-arrival times are iid random variables, in which case the arrival times satisfy
- the mean function is
- the sum of independent Poisson processes with rates and is a Poisson process with rate
- keeping each event independently with probability gives a Poisson process with rate
- given the arrival times in are distributed as the order statistics of iid random variables.
Let be a function. An inhomogeneous Poisson process with rate function is a counting process with independent increments whose increments satisfy
A renewal process is a counting process whose inter-arrival times are iid positive random variables with finite mean The process restarts, or renews, at each arrival. The Poisson process is the renewal process with exponential inter-arrival times.
Let be a renewal process. The renewal function of the process is the function
Let be a renewal process with mean inter-arrival time The elementary renewal theorem states that events occur in the long run at rate
Let be a renewal process with mean inter-arrival time and be a reward earned at the -th renewal such that the pairs are iid with finite means. The renewal reward theorem states that the long-run reward rate is
Let be a stochastic process. The process has the Markov property if and only if, given the present state, the future is conditionally independent of the past.
A Markov process is a stochastic process with the Markov property. The Wiener process and the Poisson process are Markov processes.
A Markov chain is a discrete-time Markov process with a countable state space
Let be a Markov chain with state space The transition probabilities of the chain are the conditional probabilities of moving from each state to each other state in one step.
Let be a Markov chain. The chain is time-homogeneous if and only if its transition probabilities do not depend on
Let be a time-homogeneous Markov chain with state space The transition matrix of the chain is the matrix with entries
A stochastic matrix is a matrix with non-negative entries whose rows sum to one. Each row of a transition matrix is a probability distribution over so a transition matrix is a stochastic matrix.
Let be a time-homogeneous Markov chain with transition matrix The distribution at time of the chain is the row vector with entries The initial distribution of the chain is By the theorem of total probability
so the finite-dimensional distributions of a time-homogeneous Markov chain are determined by and
Let be a time-homogeneous Markov chain with transition matrix and The -step transition probabilities of the chain are the conditional probabilities of moving from each state to each other state in steps.
The -step transition probabilities are the entries of The Chapman–Kolmogorov equations state that a transition over steps decomposes over the intermediate state.
Let be a time-homogeneous Markov chain with transition matrix A stationary distribution of the chain is a distribution on that is unchanged by a transition.
A stationary distribution is a left eigenvector of with eigenvalue A chain started from a stationary distribution is strictly stationary.
Let be a time-homogeneous Markov chain with state space The chain is irreducible if and only if every state can be reached from every other state in finitely many steps with positive probability. The chain is aperiodic if and only if, for every state the set of with has greatest common divisor
Let be a time-homogeneous Markov chain and be a state. The state is recurrent if and only if the chain started at returns to with probability one. The state is transient if and only if it is not recurrent. A recurrent state is positive recurrent if and only if the expected time to return to is finite.
Let be an irreducible, aperiodic and positive recurrent time-homogeneous Markov chain, which includes every irreducible aperiodic chain on a finite state space. The ergodic theorem for Markov chains states that the chain has a unique stationary distribution that its distribution converges to from any initial distribution and that the values of are the long-run proportions of time spent in each state.
The second statement is a law of large numbers for dependent random variables. It extends to for any with finite expectation under which is the basis of methods that estimate expectations under by simulating the chain.
Let be a transition matrix and be a distribution on The distribution satisfies the detailed balance equations with respect to if and only if the probability flow between every pair of states balances.
Let be a time-homogeneous Markov chain started from a distribution that satisfies the detailed balance equations. The chain is reversible, meaning that it has the same finite-dimensional distributions run forwards or backwards in time. Detailed balance has the following properties:
- a distribution satisfying the detailed balance equations is a stationary distribution;
- detailed balance is easier to verify than stationarity, and is how Markov chain Monte Carlo algorithms are constructed to have a desired stationary distribution.
A continuous-time Markov chain is a continuous-time Markov process with countable state space whose sample paths are piecewise constant.
Let be a continuous-time Markov chain and for be its transition rates, with The holding time of the chain in state is the time it stays in before jumping, which is On leaving state the chain jumps to state with probability
Let be a continuous-time Markov chain with transition rates The generator matrix of the chain is the matrix with off-diagonal entries and diagonal entries so that its rows sum to zero. The continuous-time Markov chain has the following properties:
- the transition probabilities satisfy
- a stationary distribution satisfies
- the Poisson process is the continuous-time Markov chain on with and all other rates zero.