Convergence of random variables

Revision as of 21:46, 11 February 2025 by imported>FrescoBot (Bot: link syntax and minor changes)
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Template:Short description In probability theory, there exist several different notions of convergence of sequences of random variables, including convergence in probability, convergence in distribution, and almost sure convergence. The different notions of convergence capture different properties about the sequence, with some notions of convergence being stronger than others. For example, convergence in distribution tells us about the limit distribution of a sequence of random variables. This is a weaker notion than convergence in probability, which tells us about the value a random variable will take, rather than just the distribution.

The concept is important 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 certain properties of a sequence of essentially random or unpredictable events can sometimes be expected to settle down into a behavior that is essentially unchanging when items far enough into the sequence are studied. The different possible notions of convergence relate to how such a behavior can be characterized: two readily understood behaviors 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.

BackgroundEdit

"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
  • That the probability distribution describing the next outcome may grow increasingly similar to a certain distribution

Some less obvious, more theoretical patterns could be

  • 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 <math>Y_i, \ i = 1,\dots,n</math>, all having the same finite mean and variance, is given by

<math>X_n = \frac{1}{n}\sum_{i=1}^n Y_i\,,</math>

then as <math> n </math> tends to infinity, <math> X_n </math> converges in probability (see below) to the common mean, <math> \mu </math>, of the random variables <math> Y_i </math>. 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 <math> (X_n) </math> is a sequence of random variables, and <math> X </math> is a random variable, and all of them are defined on the same probability space <math>(\Omega, \mathcal{F}, \mathbb{P} )</math>.

Convergence in distributionTemplate:AnchorEdit

{{#invoke:Infobox|infobox}}Template:Template other{\sigma}(X_n-\mu)</math> will be converging in distribution to the standard normal, the result that follows from the celebrated central limit theorem.

 | header5 = Graphic example
 | data6   = Suppose Template:Math is an iid sequence of uniform Template:Math random variables. Let <math>\scriptstyle Z_n = {\scriptscriptstyle\frac{1}{\sqrt{n}}}\sum_{i=1}^n X_i</math> be their (normalized) sums. Then according to the central limit theorem, the distribution of Template:Mvar approaches the normal Template:Math distribution. This convergence is shown in the picture: as Template:Mvar grows larger, the shape of the probability density function gets closer and closer to the Gaussian curve.

}}

Loosely, 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. More precisely, the distribution of the associated random variable in the sequence becomes arbitrarily close to a specified fixed distribution.

Convergence in distribution is the weakest form of convergence typically discussed, 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.

DefinitionEdit

A sequence <math>X_1, X_2, \ldots </math> of real-valued random variables, with cumulative distribution functions <math>F_1, F_2, \ldots </math>, is said to converge in distribution, or converge weakly, or converge in law to a random variable Template:Mvar with cumulative distribution function Template:Mvar if

<math>\lim_{n\to\infty} F_n(x) = F(x),</math>

for every number <math>x \in \mathbb{R}</math> at which <math> F </math> is continuous.

The requirement that only the continuity points of <math> F </math> should be considered is essential. For example, if <math> X_n </math> are distributed uniformly on intervals <math> \left( 0,\frac{1}{n} \right) </math>, then this sequence converges in distribution to the degenerate random variable <math> X=0 </math>. Indeed, <math> F_n(x) = 0 </math> for all <math> n </math> when <math> x\leq 0</math>, and <math> F_n(x) = 1 </math> for all <math> x \geq \frac{1}{n} </math>when <math> n > 0 </math>. However, for this limiting random variable <math> F(0) = 1 </math>, even though <math> F_n(0) = 0 </math> for all <math> n </math>. Thus the convergence of cdfs fails at the point <math> x=0 </math> where <math> F </math> is discontinuous.

Convergence in distribution may be denoted as

Template:NumBlk\ X,\ \

   X_n \ \xrightarrow{\mathcal{L}}\ X,\ \ 
   X_n \ \xrightarrow{d}\ \mathcal{L}_X, \\
 & X_n \rightsquigarrow X,\ \ 
   X_n \Rightarrow X,\ \ 
   \mathcal{L}(X_n)\to\mathcal{L}(X),\\ 
 \end{align}</math>

|Template:EquationRef}}

where <math>\scriptstyle\mathcal{L}_X</math> is the law (probability distribution) of Template:Mvar. For example, if Template:Mvar is standard normal we can write <math style="height:1.5em;position:relative;top:-.3em">X_n\,\xrightarrow{d}\,\mathcal{N}(0,\,1)</math>.

For random vectors <math>\left\{ X_1,X_2,\dots \right\}\subset \mathbb{R}^k</math> the convergence in distribution is defined similarly. We say that this sequence converges in distribution to a random Template:Mvar-vector Template:Mvar if

<math>\lim_{n\to\infty} \mathbb{P}(X_n\in A) = \mathbb{P}(X\in A)</math>

for every <math>A\subset \mathbb{R}^k</math> which is a continuity set of Template:Mvar.

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.<ref>Template:Harvnb</ref>

In this case the term weak convergence is preferable (see weak convergence of measures), and we say that a sequence of random elements Template:Math converges weakly to Template:Mvar (denoted as Template:Math) if

<math>\mathbb{E}^*h(X_n) \to \mathbb{E}\,h(X)</math>

for all continuous bounded functions Template:Mvar.<ref>Template:Harvnb</ref> Here E* denotes the outer expectation, that is the expectation of a “smallest measurable function Template:Mvar that dominates Template:Math”.

PropertiesEdit

Convergence in probabilityEdit

{{#invoke:Infobox|infobox}}Template:Template other

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.

DefinitionEdit

A sequence {Xn} of random variables converges in probability towards the random variable X if for all ε > 0

<math>\lim_{n\to\infty}\mathbb{P}\big(|X_n-X| > \varepsilon\big) = 0.</math>

More explicitly, let Pn(ε) be the probability that Xn is outside the ball of radius ε centered at X. Then Template:Mvar is said to converge in probability to X if for any Template:Math and any δ > 0 there exists a number N (which may depend on ε and δ) such that for all n ≥ N, Pn(ε) < δ (the definition of limit).

Notice that for the condition to be satisfied, it is not possible that for each n the random variables X and Xn are independent (and thus convergence in probability is a condition on the joint cdf's, as opposed to convergence in distribution, which is a condition on the individual cdf's), unless X is deterministic like for the weak law of large numbers. At the same time, the case of a deterministic X cannot, whenever the deterministic value is a discontinuity point (not isolated), be handled by convergence in distribution, where discontinuity points have to be explicitly excluded.

Convergence in probability is denoted by adding the letter p over an arrow indicating convergence, or using the "plim" probability limit operator: Template:NumBlk\, X_n = X.</math>|Template:EquationRef}}

For random elements {Xn} on a separable metric space Template:Math, convergence in probability is defined similarly by<ref>Template:Harvnb</ref>

<math>\forall\varepsilon>0, \mathbb{P}\big(d(X_n,X)\geq\varepsilon\big) \to 0.</math>

PropertiesEdit

  • 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 <math>g</math>, if <math display="inline">X_n \xrightarrow{p} X</math>, then also Template:Nowrap
  • 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:<ref>Template:Harvnb</ref> <math style="position:relative;top:.3em" display="block">d(X,Y) = \inf\!\big\{ \varepsilon>0:\ \mathbb{P}\big(|X-Y|>\varepsilon\big)\leq\varepsilon\big\}</math> or alternately by this metric <math display="block">d(X,Y)=\mathbb E\left[\min(|X-Y|, 1)\right].</math>

CounterexamplesEdit

Not every sequence of random variables which converges to another random variable in distribution also converges in probability to that random variable. As an example, consider a sequence of standard normal random variables <math>X_n</math> and a second sequence <math>Y_n = (-1)^nX_n</math>. Notice that the distribution of <math>Y_n</math> is equal to the distribution of <math>X_n</math> for all <math>n</math>, but: <math display="block">P(|X_n - Y_n| \geq \epsilon) = P(|X_n|\cdot|(1 - (-1)^n)| \geq \epsilon)</math>

which does not converge to <math>0</math>. So we do not have convergence in probability.

Almost sure convergenceEdit

{{#invoke:Infobox|infobox}}Template:Template other

This is the type of stochastic convergence that is most similar to pointwise convergence known from elementary real analysis.

DefinitionEdit

To say that the sequence Template:Mvar converges almost surely or almost everywhere or with probability 1 or strongly towards X means that <math display="block">\mathbb{P}\!\left( \lim_{n\to\infty}\! X_n = X \right) = 1.</math>

This means that the values of Template:Mvar approach the value of X, in the sense that events for which Template:Mvar does not converge to X have probability 0 (see Almost surely). Using the probability space <math>(\Omega, \mathcal{F}, \mathbb{P} )</math> and the concept of the random variable as a function from Ω to R, this is equivalent to the statement <math display="block">\mathbb{P}\Bigl( \omega \in \Omega: \lim_{n \to \infty} X_n(\omega) = X(\omega) \Bigr) = 1.</math>

Using the notion of the limit superior of a sequence of sets, almost sure convergence can also be defined as follows: <math display="block">\mathbb{P}\Bigl( \limsup_{n\to\infty} \bigl\{\omega \in \Omega: | X_n(\omega) - X(\omega) | > \varepsilon \bigr\} \Bigr) = 0 \quad\text{for all}\quad \varepsilon>0.</math>

Almost sure convergence is often denoted by adding the letters a.s. over an arrow indicating convergence: Template:NumBlk \, X.}</math>|Template:EquationRef}}

For generic random elements {Xn} on a metric space <math>(S,d)</math>, convergence almost surely is defined similarly: <math display="block">\mathbb{P}\Bigl( \omega\in\Omega\colon\, d\big(X_n(\omega),X(\omega)\big)\,\underset{n\to\infty}{\longrightarrow}\,0 \Bigr) = 1</math>

PropertiesEdit

  • 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.

CounterexamplesEdit

Consider a sequence <math>\{X_n\}</math> of independent random variables such that <math>P(X_n=1)=\frac{1}{n}</math> and <math>P(X_n=0)=1-\frac{1}{n}</math>. For <math>0<\varepsilon<1/2</math> we have <math>P(|X_n|\geq \varepsilon)=\frac{1}{n}</math> which converges to <math>0</math> hence <math>X_n\to 0</math> in probability.

Since <math>\sum_{n\geq 1}P(X_n=1)\to\infty</math> and the events <math>\{X_n=1\}</math> are independent, second Borel Cantelli Lemma ensures that <math>P(\limsup_n \{X_n=1\})=1</math> hence the sequence <math>\{X_n\}</math> does not converge to <math>0</math> almost everywhere (in fact the set on which this sequence does not converge to <math>0</math> has probability <math>1</math>).

Sure convergence or pointwise convergenceEdit

To say that the sequence of random variables (Xn) defined over the same probability space (i.e., a random process) converges surely or everywhere or pointwise towards X means

<math display="block">\forall \omega \in \Omega \colon \ \lim_{n\to\infty} X_n(\omega) = X(\omega),</math>

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 a sequence of functions extended to a sequence of random variables. (Note that random variables themselves are functions).

<math display="block">\left\{\omega \in \Omega : \lim_{n \to \infty}X_n(\omega) = X(\omega) \right\} = \Omega.</math>

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 meanEdit

Given a real number Template:Math, we say that the sequence Template:Mvar converges in the r-th mean (or in the Lr-norm) towards the random variable X, if the Template:Mvar-th absolute moments <math>\mathbb{E}</math>(|Xn|r ) and <math>\mathbb{E}</math>(|X|r ) of Template:Mvar and X exist, and

<math>\lim_{n\to\infty} \mathbb{E}\left( |X_n-X|^r \right) = 0,</math>

where the operator E denotes the expected value. Convergence in Template:Mvar-th mean tells us that the expectation of the Template:Mvar-th power of the difference between <math>X_n</math> and <math>X</math> converges to zero.

This type of convergence is often denoted by adding the letter Lr over an arrow indicating convergence:

Template:NumBlk

The most important cases of convergence in r-th mean are:

Convergence in the r-th mean, for r ≥ 1, implies convergence in probability (by Markov's inequality). Furthermore, if r > s ≥ 1, convergence in r-th mean implies convergence in s-th mean. Hence, convergence in mean square implies convergence in mean.

Additionally,

<math>\overset{}{X_n \xrightarrow{L^r} X} \quad\Rightarrow\quad \lim_{n \to \infty} \mathbb{E}[|X_n|^r] = \mathbb{E}[|X|^r]. </math>

The converse is not necessarily true, however it is true if <math>\overset{}{X_n \, \xrightarrow{p} \, X}</math> (by a more general version of Scheffé's lemma).

PropertiesEdit

Provided the probability space is complete:

  • If <math>X_n\ \xrightarrow{\overset{}{p}}\ X</math> and <math>X_n\ \xrightarrow{\overset{}{p}}\ Y</math>, then <math>X=Y</math> almost surely.
  • If <math>X_n\ \xrightarrow{\overset{}\text{a.s.}}\ X</math> and <math>X_n\ \xrightarrow{\overset{}\text{a.s.}}\ Y</math>, then <math>X=Y</math> almost surely.
  • If <math>X_n\ \xrightarrow{\overset{}{L^r}}\ X</math> and <math>X_n\ \xrightarrow{\overset{}{L^r}}\ Y</math>, then <math>X=Y</math> almost surely.
  • If <math>X_n\ \xrightarrow{\overset{}{p}}\ X</math> and <math>Y_n\ \xrightarrow{\overset{}{p}}\ Y</math>, then <math>aX_n+bY_n\ \xrightarrow{\overset{}{p}}\ aX+bY</math> (for any real numbers Template:Mvar and Template:Mvar) and <math>X_n Y_n\xrightarrow{\overset{}{p}}\ XY</math>.
  • If <math>X_n\ \xrightarrow{\overset{}\text{a.s.}}\ X</math> and <math>Y_n\ \xrightarrow{\overset{}\text{a.s.}}\ Y</math>, then <math>aX_n+bY_n\ \xrightarrow{\overset{}\text{a.s.}}\ aX+bY</math> (for any real numbers Template:Mvar and Template:Mvar) and <math>X_n Y_n\xrightarrow{\overset{}\text{a.s.}}\ XY</math>.
  • If <math>X_n\ \xrightarrow{\overset{}{L^r}}\ X</math> and <math>Y_n\ \xrightarrow{\overset{}{L^r}}\ Y</math>, then <math>aX_n+bY_n\ \xrightarrow{\overset{}{L^r}}\ aX+bY</math> (for any real numbers Template:Mvar and Template:Mvar).
  • 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:

<math>\begin{matrix}
 \xrightarrow{\overset{}{L^s}}  & \underset{s>r\geq1}{\Rightarrow} &  \xrightarrow{\overset{}{L^r}}  &             & \\
                                &                                  &     \Downarrow                  &             & \\
 \xrightarrow{\text{a.s.}}      &            \Rightarrow           &  \xrightarrow{p}                & \Rightarrow & \xrightarrow{d}
 \end{matrix}</math>

These properties, together with a number of other special cases, are summarized in the following list:

  • Template:Anchor Almost sure convergence implies convergence in probability:<ref name="vdv2">Template:Harvnb</ref>[proof]
    <math>X_n\ \xrightarrow{\text{a.s.}}\ X \quad\Rightarrow\quad X_n\ \xrightarrow{\overset{}{p}}\ X</math>
  • Template:Anchor Convergence in probability implies there exists a sub-sequence <math>(n_k)</math> which almost surely converges:<ref>Template:Cite book</ref>
    <math>X_n\ \xrightarrow{\overset{}{p}}\ X \quad\Rightarrow\quad X_{n_k}\ \xrightarrow{\text{a.s.}}\ X</math>
  • Template:Anchor Convergence in probability implies convergence in distribution:<ref name="vdv2"/>[proof]
    <math>X_n\ \xrightarrow{\overset{}{p}}\ X \quad\Rightarrow\quad X_n\ \xrightarrow{\overset{}{d}}\ X</math>
  • Template:Anchor Convergence in r-th order mean implies convergence in probability:
    <math>X_n\ \xrightarrow{\overset{}{L^r}}\ X \quad\Rightarrow\quad X_n\ \xrightarrow{\overset{}{p}}\ X</math>
  • Template:Anchor Convergence in r-th order mean implies convergence in lower order mean, assuming that both orders are greater than or equal to one:
    <math>X_n\ \xrightarrow{\overset{}{L^r}}\ X \quad\Rightarrow\quad X_n\ \xrightarrow{\overset{}{L^s}}\ X,</math> provided rs ≥ 1.
  • Template:Anchor If Xn converges in distribution to a constant c, then Xn converges in probability to c:<ref name="vdv2"/>[proof]
    <math>X_n\ \xrightarrow{\overset{}{d}}\ c \quad\Rightarrow\quad X_n\ \xrightarrow{\overset{}{p}}\ c,</math> provided c is a constant.
  • Template:Anchor If Template:Mvar converges in distribution to X and the difference between Xn and Yn converges in probability to zero, then Yn also converges in distribution to X:<ref name="vdv2"/>[proof]
    <math>X_n\ \xrightarrow{\overset{}{d}}\ X,\ \ |X_n-Y_n|\ \xrightarrow{\overset{}{p}}\ 0\ \quad\Rightarrow\quad Y_n\ \xrightarrow{\overset{}{d}}\ X</math>
  • Template:Anchor If Template:Mvar converges in distribution to X and Yn converges in distribution to a constant c, then the joint vector Template:Math converges in distribution to Template:Tmath:<ref name="vdv2"/>[proof]
    <math>X_n\ \xrightarrow{\overset{}{d}}\ X,\ \ Y_n\ \xrightarrow{\overset{}{d}}\ c\ \quad\Rightarrow\quad (X_n,Y_n)\ \xrightarrow{\overset{}{d}}\ (X,c)</math> provided c is a constant.
    Note that the condition that Template:Mvar 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 Template:Math converges to Template:Tmath.
  • Template:Anchor If Xn converges in probability to X and Yn converges in probability to Y, then the joint vector Template:Math converges in probability to Template:Math:<ref name="vdv2"/>[proof]
    <math>X_n\ \xrightarrow{\overset{}{p}}\ X,\ \ Y_n\ \xrightarrow{\overset{}{p}}\ Y\ \quad\Rightarrow\quad (X_n,Y_n)\ \xrightarrow{\overset{}{p}}\ (X,Y)</math>
  • If Template:Mvar converges in probability to X, and if Template:Math for all n and some b, then Template:Mvar converges in rth mean to X for all Template:Math. In other words, if Template:Mvar converges in probability to X and all random variables Template:Mvar are almost surely bounded above and below, then Template:Mvar converges to X also in any rth mean.<ref>Template:Harvnb</ref>
  • Almost sure representation. Usually, convergence in distribution does not imply convergence almost surely. However, for a given sequence {Xn} which converges in distribution to X0 it is always possible to find a new probability space (Ω, F, P) and random variables {Yn, n = 0, 1, ...} defined on it such that Yn is equal in distribution to Template:Mvar for each Template:Math, and Yn converges to Y0 almost surely.<ref>Template:Harvnb</ref><ref>Template:Harvnb</ref>
  • If for all ε > 0,
    <math>\sum_n \mathbb{P} \left(|X_n - X| > \varepsilon\right) < \infty,</math>
    then we say that Template:Mvar converges almost completely, or almost in probability towards X. When Template:Mvar converges almost completely towards X then it also converges almost surely to X. In other words, if Template:Mvar converges in probability to X sufficiently quickly (i.e. the above sequence of tail probabilities is summable for all Template:Math), then Template:Mvar also converges almost surely to X. This is a direct implication from the Borel–Cantelli lemma.
  • If Template:Mvar is a sum of n real independent random variables:
    <math>S_n = X_1+\cdots+X_n \, </math>
    then Template:Mvar converges almost surely if and only if Template:Mvar converges in probability. The proof can be found in Page 126 (Theorem 5.3.4) of the book by Kai Lai Chung.<ref name="Chung">Template:Cite book</ref>
    However, for a sequence of mutually independent random variables, convergence in probability does not imply almost sure convergence.<ref>{{#invoke:citation/CS1|citation

|CitationClass=web }}</ref>Template:Circular reference

Template:NumBlk X \\

|X_n| < Y \\
\mathbb{E}[Y] < \infty 

\end{matrix}\right\} \quad\Rightarrow \quad X_n\xrightarrowTemplate:L^1 X </math>|Template:EquationRef}}

  • A necessary and sufficient condition for L1 convergence is <math>X_n\xrightarrow{\overset{}{P}} X</math> and the sequence (Xn) is uniformly integrable.
  • If <math>X_n\ \xrightarrow{\overset{}{p}}\ X </math>, the followings are equivalent<ref>{{#invoke:citation/CS1|citation

|CitationClass=web }}</ref>

    • <math>X_n\ \xrightarrow{\overset{}{L^r}}\ X</math>,
    • <math> \mathbb{E}[|X_n|^r] \rightarrow \mathbb{E}[|X|^r] < \infty </math>,
    • <math>\{|X_n|^r\}</math> is uniformly integrable.

See alsoEdit

Template:Sister project

NotesEdit

Template:Reflist

ReferencesEdit

Template:Refbegin

|CitationClass=web }} Template:Refend

Template:Citizendium

Template:Lp spaces