Convergence of random variables
In probability theory, there exist several different notions of convergence of random variables. The convergence of sequences of random variables to some limit random variable is an important concept in probability theory, and its applications to statistics and stochastic processes. The same concepts are known in more general mathematics as stochastic convergence and they formalize the idea that a sequence of essentially random or unpredictable events can sometimes be expected to settle down into a behaviour that is essentially unchanging when items far enough into the sequence are studied. The different possible notions of convergence relate to how such a behaviour can be characterised: two readily understood behaviours are that the sequence eventually takes a constant value, and that values in the sequence continue to change but can be described by an unchanging probability distribution.
Contents
Background
"Stochastic convergence" formalizes the idea that a sequence of essentially random or unpredictable events can sometimes be expected to settle into a pattern. The pattern may for instance be
 Convergence in the classical sense to a fixed value, perhaps itself coming from a random event
 An increasing similarity of outcomes to what a purely deterministic function would produce
 An increasing preference towards a certain outcome
 An increasing "aversion" against straying far away from a certain outcome
Some less obvious, more theoretical patterns could be
 That the probability distribution describing the next outcome may grow increasingly similar to a certain distribution
 That the series formed by calculating the expected value of the outcome's distance from a particular value may converge to 0
 That the variance of the random variable describing the next event grows smaller and smaller.
These other types of patterns that may arise are reflected in the different types of stochastic convergence that have been studied.
While the above discussion has related to the convergence of a single series to a limiting value, the notion of the convergence of two series towards each other is also important, but this is easily handled by studying the sequence defined as either the difference or the ratio of the two series.
For example, if the average of n independent random variables Y_{i}, i = 1, ..., n, all having the same finite mean and variance, is given by
then as n tends to infinity, X_{n} converges in probability (see below) to the common mean, μ, of the random variables Y_{i}. This result is known as the weak law of large numbers. Other forms of convergence are important in other useful theorems, including the central limit theorem.
Throughout the following, we assume that (X_{n}) is a sequence of random variables, and X is a random variable, and all of them are defined on the same probability space .
Convergence in distribution
Dice factory  

Suppose a new dice factory has just been built. The first few dice come out quite biased, due to imperfections in the production process. The outcome from tossing any of them will follow a distribution markedly different from the desired uniform distribution. As the factory is improved, the dice become less and less loaded, and the outcomes from tossing a newly produced die will follow the uniform distribution more and more closely. 

Tossing coins  
Let X_{n} be the fraction of heads after tossing up an unbiased coin n times. Then X_{1} has the Bernoulli distribution with expected value μ = 0.5 and variance σ^{2} = 0.25. The subsequent random variables X_{2}, X_{3}, ... will all be distributed binomially. As n grows larger, this distribution will gradually start to take shape more and more similar to the bell curve of the normal distribution. If we shift and rescale X_{n} appropriately, then will be converging in distribution to the standard normal, the result that follows from the celebrated central limit theorem. 

Graphic example  
Suppose {X_{i}} is an iid sequence of uniform U(−1, 1) random variables. Let be their (normalized) sums. Then according to the central limit theorem, the distribution of Z_{n} approaches the normal N(0, 1/3) distribution. This convergence is shown in the picture: as n grows larger, the shape of the pdf function gets closer and closer to the Gaussian curve. 
With this mode of convergence, we increasingly expect to see the next outcome in a sequence of random experiments becoming better and better modeled by a given probability distribution.
Convergence in distribution is the weakest form of convergence, since it is implied by all other types of convergence mentioned in this article. However convergence in distribution is very frequently used in practice; most often it arises from application of the central limit theorem.
Definition
A sequence X_{1}, X_{2}, ... of random variables is said to converge in distribution, or converge weakly, or converge in law to a random variable X if
for every number x ∈ R at which F is continuous. Here F_{n} and F are the cumulative distribution functions of random variables X_{n} and X, respectively.
The requirement that only the continuity points of F should be considered is essential. For example if X_{n} are distributed uniformly on intervals (0, 1/n), then this sequence converges in distribution to a degenerate random variable X = 0. Indeed, F_{n}(x) = 0 for all n when x ≤ 0, and F_{n}(x) = 1 for all x ≥ 1/n when n > 0. However, for this limiting random variable F(0) = 1, even though F_{n}(0) = 0 for all n. Thus the convergence of cdfs fails at the point x = 0 where F is discontinuous.
Convergence in distribution may be denoted as
where is the law (probability distribution) of X. For example if X is standard normal we can write .
For random vectors {X_{1}, X_{2}, ...} ⊂ R^{k} the convergence in distribution is defined similarly. We say that this sequence converges in distribution to a random kvector X if
for every A ⊂ R^{k} which is a continuity set of X.
The definition of convergence in distribution may be extended from random vectors to more general random elements in arbitrary metric spaces, and even to the “random variables” which are not measurable — a situation which occurs for example in the study of empirical processes. This is the “weak convergence of laws without laws being defined” — except asymptotically.^{[1]}
In this case the term weak convergence is preferable (see weak convergence of measures), and we say that a sequence of random elements {X_{n}} converges weakly to X (denoted as X_{n} ⇒ X) if
for all continuous bounded functions h.^{[2]} Here E* denotes the outer expectation, that is the expectation of a “smallest measurable function g that dominates h(X_{n})”.
Properties
 Since F(a) = Pr(X ≤ a), the convergence in distribution means that the probability for X_{n} to be in a given range is approximately equal to the probability that the value of X is in that range, provided n is sufficiently large.
 In general, convergence in distribution does not imply that the sequence of corresponding probability density functions will also converge. As an example one may consider random variables with densities f_{n}(x) = (1 − cos(2πnx))1_{(0,1)}. These random variables converge in distribution to a uniform U(0, 1), whereas their densities do not converge at all.^{[3]}
 However, Scheffé’s lemma implies that convergence of the probability density functions implies convergence in distribution.^{[4]}
 The portmanteau lemma provides several equivalent definitions of convergence in distribution. Although these definitions are less intuitive, they are used to prove a number of statistical theorems. The lemma states that {X_{n}} converges in distribution to X if and only if any of the following statements are true:^{[citation needed]}
 Eƒ(X_{n}) → Eƒ(X) for all bounded, continuous functions ƒ (where E denotes the expected value);
 Eƒ(X_{n}) → Eƒ(X) for all bounded, Lipschitz functions ƒ;
 limsup{ Eƒ(X_{n}) } ≤ Eƒ(X) for every upper semicontinuous function ƒ bounded from above;
 liminf{ Eƒ(X_{n}) } ≥ Eƒ(X) for every lower semicontinuous function ƒ bounded from below;
 limsup{Pr(X_{n} ∈ C)} ≤ Pr(X ∈ C) for all closed sets C;
 liminf{Pr(X_{n} ∈ U)} ≥ Pr(X ∈ U) for all open sets U;
 lim{Pr(X_{n} ∈ A)} = Pr(X ∈ A) for all continuity sets A of random variable X.
 The continuous mapping theorem states that for a continuous function g, if the sequence {X_{n}} converges in distribution to X, then {g(X_{n})} converges in distribution to g(X).
 Note however that convergence in distribution of {X_{n}} to X and {Y_{n}} to Y does in general not imply convergence in distribution of {X_{n} + Y_{n}} to X + Y or of {X_{n}Y_{n}} to XY.
 Lévy’s continuity theorem: the sequence {X_{n}} converges in distribution to X if and only if the sequence of corresponding characteristic functions {φ_{n}} converges pointwise to the characteristic function φ of X.
 Convergence in distribution is metrizable by the Lévy–Prokhorov metric.
 A natural link to convergence in distribution is the Skorokhod's representation theorem.
Convergence in probability
Height of a person  

Consider the following experiment. Take it with a grain of salt, however, because this is one of the most silly and noninstructive examples of convergence in probability. First, pick a random person in the street. Let X be his/her height, which is ex ante a random variable. Then you start asking other people to estimate this height by eye. Let X_{n} be the average of the first n responses. Then (provided there is no systematic error) by the law of large numbers, the sequence X_{n} will converge in probability to the random variable X.  
Archer  
Suppose a person takes a bow and starts shooting arrows at a target. Let X_{n} be his score in nth shot. Initially he will be very likely to score zeros, but as the time goes and his archery skill increases, he will become more and more likely to hit the bullseye and score 10 points. After the years of practice the probability that he hit anything but 10 will be getting increasingly smaller and smaller and will converge to 0. Thus, the sequence X_{n} converges in probability to X = 10. Note that X_{n} does not converge almost surely however. No matter how professional the archer becomes, there will always be a small probability of making an error. Thus the sequence {X_{n}} will never turn stationary: there will always be nonperfect scores in it, even if they are becoming increasingly less frequent. 
The basic idea behind this type of convergence is that the probability of an “unusual” outcome becomes smaller and smaller as the sequence progresses.
The concept of convergence in probability is used very often in statistics. For example, an estimator is called consistent if it converges in probability to the quantity being estimated. Convergence in probability is also the type of convergence established by the weak law of large numbers.
Definition
A sequence {X_{n}} of random variables converges in probability towards the random variable X if for all ε > 0
Formally, pick any ε > 0 and any δ > 0. Let P_{n} be the probability that X_{n} is outside the ball of radius ε centered at X. Then for X_{n} to converge in probability to X there should exist a number N (which will depend on ε and δ) such that for all n ≥ N, P_{n} < δ.
Convergence in probability is denoted by adding the letter p over an arrow indicating convergence, or using the “plim” probability limit operator:
For random elements {X_{n}} on a separable metric space (S, d), convergence in probability is defined similarly by^{[5]}
Properties
 Convergence in probability implies convergence in distribution.^{[proof]}
 In the opposite direction, convergence in distribution implies convergence in probability when the limiting random variable X is a constant.^{[proof]}
 Convergence in probability does not imply almost sure convergence.^{[proof]}
 The continuous mapping theorem states that for every continuous function g(·), if , then also .
 Convergence in probability defines a topology on the space of random variables over a fixed probability space. This topology is metrizable by the Ky Fan metric:^{[6]}
or
 .
Almost sure convergence
Example 1  

Consider an animal of some shortlived species. We record the amount of food that this animal consumes per day. This sequence of numbers will be unpredictable, but we may be quite certain that one day the number will become zero, and will stay zero forever after.  
Example 2  
Consider a man who tosses seven coins every morning. Each afternoon, he donates one pound to a charity for each head that appeared. The first time the result is all tails, however, he will stop permanently. Let X_{1}, X_{2}, … be the daily amounts the charity received from him. We may be almost sure that one day this amount will be zero, and stay zero forever after that. However, when we consider any finite number of days, there is a nonzero probability the terminating condition will not occur. 
This is the type of stochastic convergence that is most similar to pointwise convergence known from elementary real analysis.
Definition
To say that the sequence X_{n} converges almost surely or almost everywhere or with probability 1 or strongly towards X means that
This means that the values of X_{n} approach the value of X, in the sense (see almost surely) that events for which X_{n} does not converge to X have probability 0. Using the probability space and the concept of the random variable as a function from Ω to R, this is equivalent to the statement
Using the notion of the limit inferior of a sequence of sets, almost sure convergence can also be defined as follows:
Almost sure convergence is often denoted by adding the letters a.s. over an arrow indicating convergence:
For generic random elements {X_{n}} on a metric space (S, d), convergence almost surely is defined similarly:
Properties
 Almost sure convergence implies convergence in probability (by Fatou's lemma), and hence implies convergence in distribution. It is the notion of convergence used in the strong law of large numbers.
 The concept of almost sure convergence does not come from a topology on the space of random variables. This means there is no topology on the space of random variables such that the almost surely convergent sequences are exactly the converging sequences with respect to that topology. In particular, there is no metric of almost sure convergence.
Sure convergence
To say that the sequence of random variables (X_{n}) defined over the same probability space (i.e., a random process) converges surely or everywhere or pointwise towards X means
where Ω is the sample space of the underlying probability space over which the random variables are defined.
This is the notion of pointwise convergence of sequence functions extended to sequence of random variables. (Note that random variables themselves are functions).
Sure convergence of a random variable implies all the other kinds of convergence stated above, but there is no payoff in probability theory by using sure convergence compared to using almost sure convergence. The difference between the two only exists on sets with probability zero. This is why the concept of sure convergence of random variables is very rarely used.
Convergence in mean
Given a real number r ≥ 1, we say that the sequence X_{n} converges in the rth mean (or in the L^{r}norm) towards the random variable X, if the rth absolute moments E(X_{n}^{r}) and E(X^{r}) of X_{n} and X exist, and
where the operator E denotes the expected value. Convergence in rth mean tells us that the expectation of the rth power of the difference between X_{n} and X converges to zero.
This type of convergence is often denoted by adding the letter L^{r} over an arrow indicating convergence:
The most important cases of convergence in rth mean are:
 When X_{n} converges in rth mean to X for r = 1, we say that X_{n} converges in mean to X.
 When X_{n} converges in rth mean to X for r = 2, we say that X_{n} converges in mean square to X.
Convergence in the rth mean, for r ≥ 1, implies convergence in probability (by Markov's inequality). Furthermore, if r > s ≥ 1, convergence in rth mean implies convergence in sth mean. Hence, convergence in mean square implies convergence in mean.
It is also worth noticing that if , then
Properties
Provided the probability space is complete:
 If and , then almost surely.
 If and , then almost surely.
 If and , then almost surely.
 If and , then (for any real numbers and ) and .
 If and , then (for any real numbers and ) and .
 If and , then (for any real numbers and ).
 None of the above statements are true for convergence in distribution.
The chain of implications between the various notions of convergence are noted in their respective sections. They are, using the arrow notation:
These properties, together with a number of other special cases, are summarized in the following list:
 Almost sure convergence implies convergence in probability:^{[7]}^{[proof]}
 Convergence in probability implies there exists a subsequence which almost surely converges:^{[8]}
 Convergence in probability implies convergence in distribution:^{[7]}^{[proof]}
 Convergence in rth order mean implies convergence in probability:
 Convergence in rth order mean implies convergence in lower order mean, assuming that both orders are greater than or equal to one:
 provided r ≥ s ≥ 1.
 If X_{n} converges in distribution to a constant c, then X_{n} converges in probability to c:^{[7]}^{[proof]}
 provided c is a constant.
 If X_{n} converges in distribution to X and the difference between X_{n} and Y_{n} converges in probability to zero, then Y_{n} also converges in distribution to X:^{[7]}^{[proof]}
 If X_{n} converges in distribution to X and Y_{n} converges in distribution to a constant c, then the joint vector (X_{n}, Y_{n}) converges in distribution to (X, c):^{[7]}^{[proof]}
 provided c is a constant.
 Note that the condition that Y_{n} converges to a constant is important, if it were to converge to a random variable Y then we wouldn’t be able to conclude that (X_{n}, Y_{n}) converges to (X, Y).
 If X_{n} converges in probability to X and Y_{n} converges in probability to Y, then the joint vector (X_{n}, Y_{n}) converges in probability to (X, Y):^{[7]}^{[proof]}
 If X_{n} converges in probability to X, and if P(X_{n} ≤ b) = 1 for all n and some b, then X_{n} converges in rth mean to X for all r ≥ 1. In other words, if X_{n} converges in probability to X and all random variables X_{n} are almost surely bounded above and below, then X_{n} converges to X also in any rth mean.
 Almost sure representation. Usually, convergence in distribution does not imply convergence almost surely. However for a given sequence {X_{n}} which converges in distribution to X_{0} it is always possible to find a new probability space (Ω, F, P) and random variables {Y_{n}, n = 0, 1, ...} defined on it such that Y_{n} is equal in distribution to X_{n} for each n ≥ 0, and Y_{n} converges to Y_{0} almost surely.^{[9]}
 If for all ε > 0,
 then we say that X_{n} converges almost completely, or almost in probability towards X. When X_{n} converges almost completely towards X then it also converges almost surely to X. In other words, if X_{n} converges in probability to X sufficiently quickly (i.e. the above sequence of tail probabilities is summable for all ε > 0), then X_{n} also converges almost surely to X. This is a direct implication from the Borel–Cantelli lemma.
 If S_{n} is a sum of n real independent random variables:
 then S_{n} converges almost surely if and only if S_{n} converges in probability.
 The dominated convergence theorem gives sufficient conditions for almost sure convergence to imply L^{1}convergence:
 A necessary and sufficient condition for L^{1} convergence is and the sequence (X_{n}) is uniformly integrable.
See also
The Wikibook Econometric Theory has a page on the topic of: Convergence of random variables 
 Proofs of convergence of random variables
 Convergence of measures
 Continuous stochastic process: the question of continuity of a stochastic process is essentially a question of convergence, and many of the same concepts and relationships used above apply to the continuity question.
 Asymptotic distribution
 Big O in probability notation
 Skorokhod's representation theorem
 The Tweedie convergence theorem
Notes
 ↑ Bickel et al. 1998, A.8, page 475
 ↑ van der Vaart & Wellner 1996, p. 4
 ↑ Romano & Siegel 1985, Example 5.26
 ↑ Koro. "Scheffé's theorem". Archived from the original on September 15, 2015. Retrieved 1 February 2013.
 ↑ Dudley 2002, Chapter 9.2, page 287
 ↑ Dudley 2002, p. 289
 ↑ ^{7.0} ^{7.1} ^{7.2} ^{7.3} ^{7.4} ^{7.5} van der Vaart 1998, Theorem 2.7
 ↑ Gut, Allan (2005). Probability: A graduate course. Theorem 3.4: Springer. ISBN 0387228330.
 ↑ van der Vaart 1998, Th.2.19
References
 Bickel, Peter J.; Klaassen, Chris A.J.; Ritov, Ya’acov; Wellner, Jon A. (1998). Efficient and adaptive estimation for semiparametric models. New York: SpringerVerlag. ISBN 0387984739.
 Billingsley, Patrick (1986). Probability and Measure. Wiley Series in Probability and Mathematical Statistics (2nd ed.). Wiley.
 Billingsley, Patrick (1999). Convergence of probability measures (2nd ed.). John Wiley & Sons. pp. 1–28. ISBN 0471197459.
 Dudley, R.M. (2002). Real analysis and probability. Cambridge, UK: Cambridge University Press. ISBN 052180972X.
 Grimmett, G.R.; Stirzaker, D.R. (1992). Probability and random processes (2nd ed.). Clarendon Press, Oxford. pp. 271–285. ISBN 0198536658.
 Jacobsen, M. (1992). Videregående Sandsynlighedsregning (Advanced Probability Theory) (3rd ed.). HCØtryk, Copenhagen. pp. 18–20. ISBN 8791180716.
 Ledoux, Michel; Talagrand, Michel (1991). Probability in Banach spaces. Berlin: SpringerVerlag. pp. xii+480. ISBN 3540520139. MR 1102015.
 Romano, Joseph P.; Siegel, Andrew F. (1985). Counterexamples in probability and statistics. Great Britain: Chapman & Hall. ISBN 0412989018.
 van der Vaart, Aad W.; Wellner, Jon A. (1996). Weak convergence and empirical processes. New York: SpringerVerlag. ISBN 0387946403.
 van der Vaart, Aad W. (1998). Asymptotic statistics. New York: Cambridge University Press. ISBN 9780521496032.
 Williams, D. (1991). Probability with Martingales. Cambridge University Press. ISBN 0521406056.
 Wong, E.; Hájek, B. (1985). Stochastic Processes in Engineering Systems. New York: Springer–Verlag.
This article incorporates material from the Citizendium article "Stochastic convergence", which is licensed under the Creative Commons AttributionShareAlike 3.0 Unported License but not under the GFDL.