• An unbiased
random walk, in any number of dimensions, is an example of a martingale. For example, consider a 1-dimensional random walk where at each time step a move to the right or left is equally likely. • A gambler's fortune (capital) is a martingale if all the betting games which the gambler plays are fair. Suppose X_n is the gambler's fortune after n tosses of a
fair coin, such that the gambler wins $1 if the coin toss outcome is heads and loses $1 if the outcome is tails. The gambler's conditional expected fortune after the next game, given the history, is equal to his present fortune. • Let Y_n = X_n^2 - n where X_n is the gambler's fortune from the prior example. Then the sequence \{Y_n : n = 1, 2, 3, \dots\} is a martingale. This can be used to show that the gambler's total gain or loss varies roughly between plus or minus the
square root of the number of games played. •
de Moivre's martingale: Suppose the
coin toss outcomes are unfair (biased), with probability p of coming up heads and probability q = 1 - p of tails. Let ::X_{n+1} = X_n \pm 1 :with "+" in case of "heads" and "−" in case of "tails". Let ::Y_n = (q/p)^{X_n} :Then \{Y_n : n = 1, 2, 3, \dots\} is a martingale with respect to \{X_n : n = 1, 2, 3, \dots\}. To show this: :: \begin{align} \mathbf{E}[Y_{n+1} \mid X_1,\dots,X_n] & = p (q/p)^{X_n+1} + q (q/p)^{X_n-1} \\[6pt] & = p (q/p) (q/p)^{X_n} + q (p/q) (q/p)^{X_n} \\[6pt] & = q (q/p)^{X_n} + p (q/p)^{X_n} = (q/p)^{X_n} = Y_n. \end{align} •
Pólya's urn contains a number of different-coloured marbles; at each
iteration a marble is randomly selected from the urn and replaced with several more of that same colour. For any given colour, the fraction of marbles in the urn with that colour is a martingale. •
Likelihood-ratio testing in
statistics: A random variable X is thought to be distributed according either to probability density f or to a different probability density g. A
random sample X_1, \dots, X_n is taken. Let Y_n be the "likelihood ratio": ::Y_n = \prod_{i=1}^n \frac{g(X_i)}{f(X_i)} :If X is actually distributed according to the density f rather than g, then \{Y_n\} is a martingale with respect to \{X_n\}. •
Doob martingale: Let Y be any random variable with a finite expected value, and let \{\mathcal{F}_n\} be a filtration. The sequence defined by X_n = \mathbf{E}[Y \mid \mathcal{F}_n] is a martingale. This represents the sequentially updated best estimate of Y as more information becomes available. • In an
ecological community, the number of individuals of any particular species of fixed size is a function of time, and may be viewed as a sequence of random variables. This sequence is a martingale under the
unified neutral theory of biodiversity and biogeography. • In
population genetics, the frequency of an allele in a population of fixed size evolving under genetic drift (with no mutation or selection) follows a martingale. This is a defining feature of the
Wright–Fisher model. • If \{N_t : t \ge 0\} is a
Poisson process with intensity \lambda, then the compensated Poisson process \{N_t - \lambda t : t \ge 0\} is a continuous-time martingale with
right-continuous/left-limit sample paths. •
Exponential martingale: If W_t is a standard one-dimensional
Brownian motion, then the process Z_t = \exp\left(\theta W_t - \frac{1}{2}\theta^2 t\right) is a continuous-time martingale for any real parameter \theta. This process plays a critical role in stochastic calculus and the
Girsanov theorem for changing probability measures. • '''
Wald's martingale:''' If X_1, X_2, \dots are independent and identically distributed random variables with
moment-generating function M(\theta) = \mathbf{E}[\exp(\theta X_1)], and their partial sums are denoted by S_n = X_1 + \dots + X_n, then the sequence W_n = \exp(\theta S_n) / M(\theta)^n is a martingale. •
Asset pricing in mathematical finance: By the
fundamental theorem of asset pricing, in an arbitrage-free market, the discounted price of any tradable asset is a martingale under the
risk-neutral measure. For example, if S_t is a stock price and r is the risk-free interest rate, then e^{-rt}S_t is a martingale under the equivalent martingale measure. • A d-dimensional process M = (M^{(1)},\dots,M^{(d)}) in some space S^d is a martingale if each component T_i(M) = M^{(i)} is a one-dimensional martingale in S. == Submartingales, supermartingales, and relationship to harmonic functions ==