In probability theory, there exist several different notions of convergence of random variables. The convergence (in one of the senses presented below) of sequences of random variables to some limiting random variable is an important concept in probability theory, and its applications to statistics and stochastic processes. For example, if the average of ''n'' independent, identically distributed random variables ''Y''''i'', ''i'' = 1, ..., ''n'', is given by
:
then as ''n'' goes 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 (Ω, ''F'', P).
== Convergence in distribution ==
Suppose that ''F''1, ''F''2, ... is a sequence of cumulative distribution functions corresponding to random variables ''X''1, ''X''2, ..., and that ''F'' is a distribution function corresponding to a random variable ''X''. We say that the sequence ''X''''n'' converges towards ''X'' in distribution, if
::
for every real number ''a'' at which ''F'' is continuity. Since ''F''(a) = Pr(''X'' ≤ a), this means that the probability that the value of ''X'' is in a given range is very similar to the probability that the value of ''X''''n'' is in that range, provided ''n'' is large enough. Convergence in distribution is often denoted by adding the letter 'D' over an arrow indicating convergence:
::
Convergence in distribution is the weakest form of convergence, and is sometimes called weak convergence. It does not, in general, imply any other mode of convergence. However, convergence in distribution ''is'' implied by all other modes of convergence mentioned in this article, and hence, it is the most common and often the most useful form of convergence of random variables. It is the notion of convergence used in the central limit theorem and the (weak) law of large numbers.
A useful result, which may be employed in conjunction with law of large numbers and the central limit theorem, is that if a function ''g'': R → R is continuous, then if ''X''''n'' converges in distribution to ''X'', then so too does ''g''(''X''''n'') converge in distribution to ''g''(''X''). (This may be proved using Skorokhod's representation theorem.)
Convergence in distribution is also called convergence in law, since the word "law" is sometimes used as a synonym of "probability distribution."
== Convergence in probability ==
We say that the sequence ''X''''n'' converges towards ''X'' in probability if
:
for every ε > 0. Convergence in probability is, indeed, the (pointwise convergence) convergence ''of'' probabilities. Pick any ε > 0 and any δ > 0. Let ''P''''n'' be the probability that ''X''''n'' is outside a tolerance ε of ''X''. Then, if ''X''''n'' converges in probability to ''X'' then there exists a value ''N'' such that, for all ''n'' ≥ ''N'', ''P''''n'' is itself less than δ.
Convergence in probability is the notion of convergence used in the weak law of large numbers.
Convergence in probability implies convergence in distribution. To prove it, it's convenient to prove the following, simple lemma:
=== Lemma ===
Be X, Y random variables, c a real number and ε > 0; then
:
In fact,
:
: