Salta al contenuto
Note per Studenti Modes of Convergence Report

Modes of Convergence

In questa pagina 5

Sequences of random variables

The simplest probabilistic model of a random experiment with numerical outcomes is the random variable X:(Ω,F,P)→RX:(\Omega,\mathcal{F},P)\to\mathbb{R}, which models one observation of the experiment. Next comes the random vector X‾:(Ω,F,P)→Rn\underline X:(\Omega,\mathcal{F},P)\to\mathbb{R}^n, which models nn observations. At the next level one introduces the random sequence (Xn):(Ω,F,P)→R∞(X_n):(\Omega,\mathcal{F},P)\to\mathbb{R}^\infty, which models a discrete time signal XnX_n, n∈Zn\in\mathbb{Z} or n∈Nn\in\mathbb{N}, where at each time instant nn the observation XnX_n is a random variable. In Signals and Systems the mathematical model of a discrete signal is a sequence of numbers; in probability the random sequence (Xn)(X_n) models a discrete time signal which represents an uncertain phenomenon.

Example (bit stream). A bit stream 0010111010011…0010111010011\dots is modeled as a sequence (Xn)(X_n) where Xn∼b(pn)X_n\sim b(p_n) with pn=P(Xn=1)p_n=P(X_n=1). The model of the bit stream can e.g. specify that the random variables XnX_n are independent, in which case knowing that Xn∼b(pn)X_n\sim b(p_n) specifies the sequence completely from the probabilistic point of view. But the model can be more complicated, assigning a joint distribution of (X1,X2,…,Xn)(X_1,X_2,\dots,X_n) for all nn finite.

Problem. Study the average probabilistic behavior and its asymptotic probabilistic behavior. Does the "signal" (Xn)(X_n) remain stable in the long run? What are its asymptotic probabilistic properties?

In Signals and Systems the notion of stability is related to the study of the long term (asymptotic) behavior of the output signal of a system. The study of convergence of random sequences is to be compared to the analysis of stability. Several notions of convergence for sequences of random variables are introduced.

Pointwise and almost sure convergence

From the mathematical point of view a sequence of random variables is a sequence of functions Xn:(Ω,F,P)→RX_n:(\Omega,\mathcal{F},P)\to\mathbb{R}, ω↦Xn(ω)\omega\mapsto X_n(\omega). The "natural" notion of convergence would therefore be the pointwise one: for each ω∈Ω\omega\in\Omega there exists X(ω)X(\omega) such that

lim⁡n→∞Xn(ω)=X(ω).\lim_{n\to\infty}X_n(\omega)=X(\omega).

If for ω∈E\omega\in E with P(E)=0P(E)=0 the convergence fails, X(ω)X(\omega) is still considered the pointwise limit of (Xn)(X_n) and one says that (Xn)(X_n) converges "almost surely" to the random variable X(ω)X(\omega). This notion of convergence is theoretically interesting and very difficult to study, but almost useless in practice, since it requires the analytical knowledge of the random variables XnX_n, whereas in practice only the probabilistic information is available.

Convergence in distribution

Of the several notions of convergence for a sequence of random variables (Xn)(X_n), convergence in distribution is the weaker one.

Definition. The sequence of random variables (Xn)n≥1(X_n)_{n\ge1}, with Fn(x)=P(Xn≤x)F_n(x)=P(X_n\le x), converges in distribution if there exists a function G(x)G(x) such that

lim⁡n→∞Fn(x)=G(x)\lim_{n\to\infty}F_n(x)=G(x)

(the page has a faint marginal note here, read as "for all xx"), and moreover there exists a DF F(x)F(x) such that G(x)=F(x)G(x)=F(x) for all x∈Rx\in\mathbb{R} where F(x)F(x) is continuous. When this is the case we write

Xn→n→∞DF(x).X_n\xrightarrow[n\to\infty]{\mathcal{D}}F(x).

Critical examples

To understand the necessity of such a complex definition, here are a few critical examples.

Example 1. Let Xn=1+1nX_n=1+\frac1n (degenerate, constant random variable). It is desirable that for n→∞n\to\infty the sequence converges to the degenerate random variable X=1X=1. Therefore the definition must satisfy Xn→D1(x−1)X_n\xrightarrow{\mathcal{D}}\mathbb{1}(x-1), where

1(x−1)={1x≥10x<1\mathbb{1}(x-1)=\begin{cases}1&x\ge1\\0&x<1\end{cases}

is the DF of the degenerate random variable X=1X=1. On the other hand Fn(x)=1(x−(1+1n))F_n(x)=\mathbb{1}\big(x-(1+\frac1n)\big) (a step at 1+1n1+\frac1n) and clearly

lim⁡n→∞Fn(x)=G(x)={1x>10x<1.\lim_{n\to\infty}F_n(x)=G(x)=\begin{cases}1&x>1\\0&x<1.\end{cases}

Now G(x)G(x) is not a DF, but G(x)≡1(x−1)G(x)\equiv\mathbb{1}(x-1) at all points xx of continuity of 1(x−1)\mathbb{1}(x-1) (that is, all x≠1x\ne1). The conclusion is that according to the definition Xn→D1(x−1)X_n\xrightarrow{\mathcal{D}}\mathbb{1}(x-1), as desired.

Example 2. Let Xn∼N(0,n)X_n\sim N(0,n). The DF of XnX_n is expressed in terms of the DF Φ(z)\Phi(z) of the N(0,1)N(0,1) random variable:

Fn(x)=P(Xn≤x)=P(Xnn≤xn)=Φ(xn).F_n(x)=P(X_n\le x)=P\Big(\frac{X_n}{\sqrt n}\le\frac x{\sqrt n}\Big)=\Phi\Big(\frac x{\sqrt n}\Big).

It follows that lim⁡n→∞Fn(x)=lim⁡n→∞Φ(xn)=Φ(0)=12\lim_{n\to\infty}F_n(x)=\lim_{n\to\infty}\Phi\big(\frac x{\sqrt n}\big)=\Phi(0)=\frac12. In this case the limit function G(x)=12G(x)=\frac12 is constant over R\mathbb{R} and clearly there cannot be a DF F(x)F(x) such that G(x)=F(x)G(x)=F(x) at all points of continuity of F(x)F(x). The conclusion is that (Xn)(X_n) does not converge in distribution. (Figure: the curves Fn(x)F_n(x) flatten, for increasing nn, towards the constant G(x)=12G(x)=\frac12.)

Example 3. Let (Xn)(X_n) be a sequence of i.i.d. U([0,1])\mathcal{U}([0,1]) random variables and define

Mn=max⁡1≤i≤nXi.M_n=\max_{1\le i\le n}X_i .

One expects Mn→1M_n\to1 in some sense. Check whether Mn→D1(x−1)M_n\xrightarrow{\mathcal{D}}\mathbb{1}(x-1). By independence,

Fn(x)=P(Mn≤x)=P(max⁡1≤i≤nXi≤x)=∏i=1nP(Xi≤x)=∏i=1nFU(x),F_n(x)=P(M_n\le x)=P\Big(\max_{1\le i\le n}X_i\le x\Big)=\prod_{i=1}^nP(X_i\le x)=\prod_{i=1}^nF_U(x),

where FU(x)=x χ[0,1](x)+1(x−1)F_U(x)=x\,\chi_{[0,1]}(x)+\mathbb{1}(x-1) is the DF of U([0,1])\mathcal{U}([0,1]). Thus Fn(x)=[FU(x)]n=xnχ[0,1](x)+1(x−1)F_n(x)=[F_U(x)]^n=x^n\chi_{[0,1]}(x)+\mathbb{1}(x-1) and

lim⁡n→∞Fn(x)=G(x)=1(x−1),\lim_{n\to\infty}F_n(x)=G(x)=\mathbb{1}(x-1),

which coincides with the DF 1(x−1)\mathbb{1}(x-1). Conclusion: Mn→D1(x−1)M_n\xrightarrow{\mathcal{D}}\mathbb{1}(x-1).

Exercise (difficult, left as such on the page). Prove that n(1−Mn)→DExp(1)n(1-M_n)\xrightarrow{\mathcal{D}}\text{Exp}(1), where Exp(1)=(1−e−x)1(x)\text{Exp}(1)=(1-e^{-x})\mathbb{1}(x) is the DF of an Exp(1)\text{Exp}(1) random variable.

Example 4. Consider the sequence (Xn)(X_n) of discrete random variables Xn∼U({1n,2n,…,nn})X_n\sim\mathcal{U}\big(\{\frac1n,\frac2n,\dots,\frac nn\}\big) (the alphabet changes with nn!). It is trivial to verify that

lim⁡n→∞Fn(x)=FU(x)=x χ[0,1](x)+1(x−1),\lim_{n\to\infty}F_n(x)=F_U(x)=x\,\chi_{[0,1]}(x)+\mathbb{1}(x-1),

therefore Xn→DFU(x)X_n\xrightarrow{\mathcal{D}}F_U(x) (figure: the staircase FnF_n under the ramp FUF_U).

Remark. The examples show that anything can happen:

  • discrete →\to discrete: Example 1;
  • continuous →\to discrete: Example 3;
  • continuous →\to continuous: the Exercise;
  • discrete →\to continuous: Example 4.

Convergence in distribution and characteristic functions

It is often convenient to study convergence in distribution by analyzing the asymptotic behavior of the CFs of the random variables XnX_n (see Characteristic Functionsmoments and the moment generating function lead to the characteristic function, the Fourier transform of the density, which always exists, characterizes the distribution, turns sums of independent variables into products and gives moments by differentiation; the multivariate version works the same way for random vectors.Characteristic Functions →).

Theorem (Lévy). Let (Xn)(X_n) be a sequence of random variables with CFs φn(ω)=E(ejωXn)\varphi_n(\omega)=E(e^{j\omega X_n}) and assume that

lim⁡n→∞φn(ω)=φ(ω)\lim_{n\to\infty}\varphi_n(\omega)=\varphi(\omega)

for some function φ:R→C\varphi:\mathbb{R}\to\mathbb{C}. Then the following facts are equivalent:

(i) φ(ω)\varphi(\omega) is continuous in ω=0\omega=0; (ii) φ(ω)\varphi(\omega) is a CF; (iii) Xn→n→∞DF(x)X_n\xrightarrow[n\to\infty]{\mathcal{D}}F(x) where F(x)F(x) is a DF with corresponding CF φ(ω)\varphi(\omega).

Proof. The proof is difficult and it is omitted.

Example (a new interpretation of the Poisson limit theorem). Consider the sequence (Xn)(X_n) where Xn∼Bin(n,λn)X_n\sim\text{Bin}\big(n,\frac\lambda n\big) and study its convergence in distribution. Use Lévy's theorem: the CF of XnX_n is

φn(ω)=E(ejωXn)=∑k=0n(nk)(λn)k(1−λn)n−kejωk=∑k=0n(nk)(λnejω)k(1−λn)n−k=(λnejω+1−λn)n=(1+λ(ejω−1)n)n\varphi_n(\omega)=E(e^{j\omega X_n})=\sum_{k=0}^n\binom nk\Big(\frac\lambda n\Big)^k\Big(1-\frac\lambda n\Big)^{n-k}e^{j\omega k} =\sum_{k=0}^n\binom nk\Big(\frac\lambda ne^{j\omega}\Big)^k\Big(1-\frac\lambda n\Big)^{n-k} =\Big(\frac\lambda ne^{j\omega}+1-\frac\lambda n\Big)^n=\Big(1+\frac{\lambda(e^{j\omega}-1)}n\Big)^n

→n→∞φ(ω)=eλ(ejω−1).\xrightarrow[n\to\infty]{}\varphi(\omega)=e^{\lambda(e^{j\omega}-1)} .

The limit function φ(ω)\varphi(\omega) is readily recognized to be the CF of a Poisson random variable P(λ)\mathcal{P}(\lambda). The conclusion (by Lévy's theorem) is that

Xn→n→∞DP(λ).X_n\xrightarrow[n\to\infty]{\mathcal{D}}\mathcal{P}(\lambda).

This was already known as the Poisson limit law.

What is not necessarily true when Xn→DF(x)X_n\xrightarrow{\mathcal{D}}F(x)

One has to be very careful with convergence in distribution and not draw conclusions based on shaky intuitions.

1. The densities need not converge. If Fn(x)→F(x)F_n(x)\to F(x) in distribution, it is not true in general that the corresponding densities fn=ddxFnf_n=\frac d{dx}F_n and f=ddxFf=\frac d{dx}F converge, i.e. not necessarily fn(x)→f(x)f_n(x)\to f(x).

Example. fn(x)=(1+cos⁡2πnx) χ[0,1](x)f_n(x)=(1+\cos2\pi nx)\,\chi_{[0,1]}(x) is a probability density with corresponding DF

Fn(x)=∫0x(1+cos⁡2πnτ) dτ  χ[0,1](x)+1(x−1)=(x+sin⁡2πnx2πn)χ[0,1](x)+1(x−1).F_n(x)=\int_0^x(1+\cos2\pi n\tau)\,d\tau\;\chi_{[0,1]}(x)+\mathbb{1}(x-1)=\Big(x+\frac{\sin2\pi nx}{2\pi n}\Big)\chi_{[0,1]}(x)+\mathbb{1}(x-1).

Clearly Fn(x)→DFU(x)F_n(x)\xrightarrow{\mathcal{D}}F_U(x) where FU(x)F_U(x) is the DF of U([0,1])\mathcal{U}([0,1]); on the other hand fn(x)f_n(x) does not converge for n→∞n\to\infty.

2. The expected values need not converge. Xn→DF(x)X_n\xrightarrow{\mathcal{D}}F(x) does not imply E(Xn)→E(X)E(X_n)\to E(X), with E(X)E(X) computed with respect to the DF F(x)F(x).

Example.

Xn={0with probability P(Xn=0)=1−1nnwith probability P(Xn=n)=1n.X_n=\begin{cases}0&\text{with probability }P(X_n=0)=1-\frac1n\\n&\text{with probability }P(X_n=n)=\frac1n.\end{cases}

Then Fn(x)=(1−1n)χ[0,n)(x)+1(x−n)F_n(x)=(1-\frac1n)\chi_{[0,n)}(x)+\mathbb{1}(x-n) (a step of height 1−1n1-\frac1n at 00 and a step up to 11 at nn) and lim⁡nFn(x)=1(x)\lim_nF_n(x)=\mathbb{1}(x), i.e. (Xn)→D1(x)(X_n)\xrightarrow{\mathcal{D}}\mathbb{1}(x), the degenerate random variable X=0X=0 (constant). Notice that E(Xn)=0⋅(1−1n)+n⋅1n=1E(X_n)=0\cdot(1-\frac1n)+n\cdot\frac1n=1, while E(X)=0E(X)=0: E(Xn)↛E(X)=0E(X_n)\not\to E(X)=0.

Convergence in probability

This is a stronger mode of convergence for sequences of random variables and the most widely used in applications. It is formulated in terms of random variables.

Definition. The sequence of random variables (Xn)(X_n) converges in probability to the random variable XX if

lim⁡n→∞P(∣Xn−X∣<ε)=1for all ε>0;\lim_{n\to\infty}P\big(\lvert X_n-X\rvert<\varepsilon\big)=1\qquad\text{for all }\varepsilon>0;

in this case we write Xn→n→∞PXX_n\xrightarrow[n\to\infty]{P}X.

Remarks.

  1. Equivalently, Xn→PXX_n\xrightarrow{P}X if lim⁡n→∞P(∣Xn−X∣>ε)=0\lim_{n\to\infty}P(\lvert X_n-X\rvert>\varepsilon)=0.
  2. To determine whether Xn→PXX_n\xrightarrow{P}X it is necessary to know the joint distributions of the random variables (Xn,X)(X_n,X) for all n≥1n\ge1. In the special case of X=cX=c degenerate, it is enough to know the distributions of the random variables XnX_n for all n≥1n\ge1.
  3. For the special case X=cX=c, convergence in probability is equivalent to lim⁡n→∞P(∣Xn−c∣<ε)=1\lim_{n\to\infty}P(\lvert X_n-c\rvert<\varepsilon)=1, that is, for nn large enough the variables XnX_n are with high probability concentrated on the constant value cc.

Example. Consider again the i.i.d. Xn∼U([0,1])X_n\sim\mathcal{U}([0,1]) and the sequence Mn=max⁡1≤i≤nXiM_n=\max_{1\le i\le n}X_i (obviously the MnM_n are not i.i.d.). We have already proved that Mn→D1(x−1)M_n\xrightarrow{\mathcal{D}}\mathbb{1}(x-1), i.e. the distribution of MnM_n converges to the degenerate distribution of the constant X=1X=1. Now verify whether Mn→P1M_n\xrightarrow{P}1, that is whether lim⁡nP(∣Mn−1∣>ε)=0\lim_nP(\lvert M_n-1\rvert>\varepsilon)=0. Since it is always Mn≤1M_n\le1, the event [Mn−1≥ε][M_n-1\ge\varepsilon] is empty, so

P(∣Mn−1∣≥ε)=P([Mn−1≥ε] or [Mn−1≤−ε])=P(Mn−1≤−ε)=P(Mn≤1−ε)=Fn(1−ε)=(1−ε)n→n→∞0P(\lvert M_n-1\rvert\ge\varepsilon)=P\big([M_n-1\ge\varepsilon]\text{ or }[M_n-1\le-\varepsilon]\big)=P(M_n-1\le-\varepsilon)=P(M_n\le1-\varepsilon)=F_n(1-\varepsilon)=(1-\varepsilon)^n\xrightarrow[n\to\infty]{}0

for all ε>0\varepsilon>0 (using Fn(x)=xnχ[0,1](x)+1(x−1)F_n(x)=x^n\chi_{[0,1]}(x)+\mathbb{1}(x-1)). Conclusion: Mn→P1M_n\xrightarrow{P}1.

Connection between convergence in distribution and in probability

Lemma. If Xn→PXX_n\xrightarrow{P}X then Xn→DFXX_n\xrightarrow{\mathcal{D}}F_X. In particular if X=cX=c (degenerate): if Xn→PcX_n\xrightarrow{P}c then Xn→D1(x−c)X_n\xrightarrow{\mathcal{D}}\mathbb{1}(x-c). Proof. Omitted.

Remark. In general the opposite is not true: Xn→DXX_n\xrightarrow{\mathcal{D}}X does not imply Xn→PXX_n\xrightarrow{P}X. The following lemma is important.

Lemma. In the special case of degenerate limit X=cX=c,

Xn→n→∞Dcif and only ifXn→n→∞Pc.X_n\xrightarrow[n\to\infty]{\mathcal{D}}c\quad\text{if and only if}\quad X_n\xrightarrow[n\to\infty]{P}c .

Proof. (⇒\Rightarrow) If Xn→DcX_n\xrightarrow{\mathcal{D}}c then

P(∣Xn−c∣<ε)=P(c−ε≤Xn<c+ε)=Fn(c+ε)−Fn(c−ε).P(\lvert X_n-c\rvert<\varepsilon)=P(c-\varepsilon\le X_n<c+\varepsilon)=F_n(c+\varepsilon)-F_n(c-\varepsilon).

By assumption Fn(x)→1(x−c)F_n(x)\to\mathbb{1}(x-c), therefore

lim⁡n→∞P(∣Xn−c∣<ε)=lim⁡n→∞[Fn(c+ε)−Fn(c−ε)]=1(c+ε−c)−1(c−ε−c)=1(ε)−1(−ε)=1,\lim_{n\to\infty}P(\lvert X_n-c\rvert<\varepsilon)=\lim_{n\to\infty}\big[F_n(c+\varepsilon)-F_n(c-\varepsilon)\big]=\mathbb{1}(c+\varepsilon-c)-\mathbb{1}(c-\varepsilon-c)=\mathbb{1}(\varepsilon)-\mathbb{1}(-\varepsilon)=1,

i.e. Xn→PcX_n\xrightarrow{P}c. (The points c±εc\pm\varepsilon are continuity points of 1(x−c)\mathbb{1}(x-c). The page treats the endpoints of the interval loosely: the identity Fn(c+ε)−Fn(c−ε)=P(c−ε<Xn≤c+ε)F_n(c+\varepsilon)-F_n(c-\varepsilon)=P(c-\varepsilon<X_n\le c+\varepsilon) is the exact one, and since ε\varepsilon is arbitrary the conclusion is the same.)

(⇐\Leftarrow) By the previous lemma. □\square

What is not necessarily true when Xn→PXX_n\xrightarrow{P}X

Even if Xn→PXX_n\xrightarrow{P}X it is not necessarily true that E(Xn)→E(X)E(X_n)\to E(X).

Example. Xn=0X_n=0 with probability 1−1n1-\frac1n and Xn=nX_n=n with probability 1n\frac1n. It is easy to prove that Xn→P0X_n\xrightarrow{P}0: indeed P(∣Xn−0∣>ε)=P(∣Xn∣>ε)=1n→0P(\lvert X_n-0\rvert>\varepsilon)=P(\lvert X_n\rvert>\varepsilon)=\frac1n\to0. On the other hand E(Xn)=0⋅(1−1n)+n⋅1n=1E(X_n)=0\cdot(1-\frac1n)+n\cdot\frac1n=1 for all nn, and clearly E(Xn)↛E(0)=0E(X_n)\not\to E(0)=0.

Convergence in LpL^p (in the mean of order pp)

Definition. If

lim⁡n→∞E(∣Xn−X∣p)=0\lim_{n\to\infty}E\big(\lvert X_n-X\rvert^p\big)=0

we say that the sequence (Xn)(X_n) converges in the mean of order pp and write Xn→n→∞LpXX_n\xrightarrow[n\to\infty]{L^p}X.

Terminology. (i) For p=1p=1 we say that Xn→XX_n\to X in mean. (ii) For p=2p=2 we say that Xn→XX_n\to X in quadratic mean. (iii) All real numbers p≥1p\ge1 are admissible but p=1p=1 and p=2p=2 are by far the most common.

Lemma. If Xn→L2XX_n\xrightarrow{L^2}X then Xn→L1XX_n\xrightarrow{L^1}X.

Proof. By the Cauchy-Schwarz inequality ∣⟨v,w⟩∣≤∥v∥ ∥w∥\lvert\langle v,w\rangle\rvert\le\lVert v\rVert\,\lVert w\rVert,

E(∣Xn−X∣)=E(∣Xn−X∣⋅1)≤E(∣Xn−X∣2) E(12)→n→∞0.□E(\lvert X_n-X\rvert)=E(\lvert X_n-X\rvert\cdot1)\le\sqrt{E\big(\lvert X_n-X\rvert^2\big)\,E(1^2)}\xrightarrow[n\to\infty]{}0 .\qquad\square

Lemma. Xn→L1XX_n\xrightarrow{L^1}X implies Xn→PXX_n\xrightarrow{P}X.

Proof. By the Markov inequality, P(∣Xn−X∣>ε)≤E(∣Xn−X∣)ε→n→∞0P(\lvert X_n-X\rvert>\varepsilon)\le\dfrac{E(\lvert X_n-X\rvert)}{\varepsilon}\xrightarrow[n\to\infty]{}0. □\square

Connection between the modes of convergence

L2  ⟶  L1  ⟶  P  ⟷  D(the arrow D→P holds only if X=c)L^2\;\longrightarrow\;L^1\;\longrightarrow\;P\;\longleftrightarrow\;\mathcal{D}\qquad\text{(the arrow }\mathcal{D}\to P\text{ holds only if }X=c\text{)}

i.e. L2⇒L1⇒P⇒DL^2\Rightarrow L^1\Rightarrow P\Rightarrow\mathcal{D}, and D⇒P\mathcal{D}\Rightarrow P only in the degenerate case X=cX=c.

Lemma. If Xn→L1XX_n\xrightarrow{L^1}X then E(Xn)→E(X)E(X_n)\to E(X).

Proof. ∣E(Xn)−E(X)∣=∣E(Xn−X)∣≤E(∣Xn−X∣)→n→∞0\lvert E(X_n)-E(X)\rvert=\lvert E(X_n-X)\rvert\le E(\lvert X_n-X\rvert)\xrightarrow[n\to\infty]{}0. □\square

(In the counterexample Xn∈{0,n}X_n\in\{0,n\} above, Xn→P0X_n\xrightarrow{P}0 but E(Xn)↛0E(X_n)\not\to0; by this lemma XnX_n cannot converge to 00 in L1L^1.)

Limit theorems: set-up

The limit theorems are the cornerstone of classical probability theory, as they are essential in applications to extract quantitative information from uncertain behaviors. In classical probability, limit theorems deal with the asymptotic behavior of properly normalized and/or standardized sums of i.i.d. random variables (Xn)(X_n), i.e.

lim⁡n→∞α(n)∑i=1n(Xi−β(i)),\lim_{n\to\infty}\alpha(n)\sum_{i=1}^n\big(X_i-\beta(i)\big),

where α(n)\alpha(n) and β(n)\beta(n) are known sequences of numbers.

Law of large numbers: the sample mean

This limit theorem studies the behavior of

X‾n≜1n∑i=1nXi\overline X_n\triangleq\frac1n\sum_{i=1}^nX_i

when (Xn)(X_n) is a sequence of i.i.d. random variables, discrete, continuous or mixed. In the absolutely continuous case (or discrete with alphabet in Z\mathbb{Z}) the density of X‾n\overline X_n can be computed explicitly as

fX‾n(x)=n fX1∗fX1∗⋯∗fX1⏟n−1 convolutions(nx),f_{\overline X_n}(x)=n\,\underbrace{f_{X_1}*f_{X_1}*\cdots*f_{X_1}}_{n-1\text{ convolutions}}(nx),

but this is always computationally too heavy, and the asymptotic study of X‾n\overline X_n is carried out following a different approach.

Parameters of X‾n\overline X_n. First of all the sequence (X‾n)(\overline X_n) is not i.i.d. even if the (Xn)(X_n) are i.i.d. Assume that E(Xn)=μE(X_n)=\mu and var(Xn)=σ2\text{var}(X_n)=\sigma^2 both exist; then both are constant in nn, since the (Xn)(X_n) are i.i.d. Now

E(X‾n)=E(1n∑i=1nXi)=1n∑i=1nE(Xi)=μ,var(X‾n)=var(1n∑i=1nXi)=1n2∑i=1nvar(Xi)=σ2n.E(\overline X_n)=E\Big(\frac1n\sum_{i=1}^nX_i\Big)=\frac1n\sum_{i=1}^nE(X_i)=\mu,\qquad \text{var}(\overline X_n)=\text{var}\Big(\frac1n\sum_{i=1}^nX_i\Big)=\frac1{n^2}\sum_{i=1}^n\text{var}(X_i)=\frac{\sigma^2}n .

The fact that var(X‾n)→0\text{var}(\overline X_n)\to0 is already saying that the values of X‾n\overline X_n will asymptotically concentrate around the mean value μ\mu. (The notes continue with the law of large numbers itself in the next lecture, not covered here.)

Versione ripasso

Random sequence (Xn)(X_n): model of a discrete time signal where each XnX_n is a random variable. Studying convergence is the analogue of stability analysis in Signals and Systems.

Pointwise / almost sure. Xn(ω)→X(ω)X_n(\omega)\to X(\omega) for each ω\omega, failing at most on a set EE with P(E)=0P(E)=0. Hard to study and almost useless in practice (needs the analytic form of the XnX_n).

Convergence in distribution Xn→DFX_n\xrightarrow{\mathcal{D}}F: Fn(x)→G(x)F_n(x)\to G(x) for all xx and G=FG=F at every continuity point of a DF FF. The weakest mode.

  • 1+1n→D1(x−1)1+\frac1n\xrightarrow{\mathcal{D}}\mathbb{1}(x-1) (GG is not a DF but agrees at continuity points).
  • Xn∼N(0,n)X_n\sim N(0,n): Fn(x)=Φ(x/n)→12F_n(x)=\Phi(x/\sqrt n)\to\frac12, no DF, so no convergence in distribution.
  • Mn=max⁡i≤nXiM_n=\max_{i\le n}X_i, XiX_i i.i.d. U([0,1])\mathcal{U}([0,1]): Fn(x)=xnχ[0,1]+1(x−1)→1(x−1)F_n(x)=x^n\chi_{[0,1]}+\mathbb{1}(x-1)\to\mathbb{1}(x-1) (continuous to discrete). n(1−Mn)→DExp(1)n(1-M_n)\xrightarrow{\mathcal{D}}\text{Exp}(1) (stated as a difficult exercise). Xn∼U({1n,…,nn})→DU([0,1])X_n\sim\mathcal{U}(\{\frac1n,\dots,\frac nn\})\xrightarrow{\mathcal{D}}\mathcal{U}([0,1]) (discrete to continuous).

Lévy's theorem. If φn(ω)=E(ejωXn)→φ(ω)\varphi_n(\omega)=E(e^{j\omega X_n})\to\varphi(\omega) for all ω\omega, the following are equivalent: φ\varphi continuous at 00; φ\varphi is a CF; Xn→DFX_n\xrightarrow{\mathcal{D}}F with CF φ\varphi. Example: Bin(n,λn)\text{Bin}(n,\frac\lambda n) has CF (1+λ(ejω−1)n)n→eλ(ejω−1)\big(1+\frac{\lambda(e^{j\omega}-1)}n\big)^n\to e^{\lambda(e^{j\omega}-1)}, so Bin(n,λn)→DP(λ)\text{Bin}(n,\frac\lambda n)\xrightarrow{\mathcal{D}}\mathcal{P}(\lambda) (Poisson limit law).

Not implied by →D\xrightarrow{\mathcal{D}}: convergence of densities (fn=(1+cos⁡2πnx)χ[0,1]f_n=(1+\cos2\pi nx)\chi_{[0,1]} has Fn→FUF_n\to F_U but fnf_n does not converge); convergence of means (Xn=0X_n=0 w.p. 1−1n1-\frac1n, =n=n w.p. 1n\frac1n: Fn→1(x)F_n\to\mathbb{1}(x), E(Xn)=1↛0E(X_n)=1\not\to0).

Convergence in probability Xn→PXX_n\xrightarrow{P}X: P(∣Xn−X∣<ε)→1P(\lvert X_n-X\rvert<\varepsilon)\to1, equivalently P(∣Xn−X∣>ε)→0P(\lvert X_n-X\rvert>\varepsilon)\to0, for all ε>0\varepsilon>0. Needs the joint law of (Xn,X)(X_n,X), except when X=cX=c is constant. Example: Mn→P1M_n\xrightarrow{P}1 because P(∣Mn−1∣≥ε)=P(Mn≤1−ε)=(1−ε)n→0P(\lvert M_n-1\rvert\ge\varepsilon)=P(M_n\le1-\varepsilon)=(1-\varepsilon)^n\to0.

  • →P  ⇒  →D\xrightarrow{P}\;\Rightarrow\;\xrightarrow{\mathcal{D}} (proof omitted); the converse fails in general.
  • Degenerate limit: Xn→Dc  ⟺  Xn→PcX_n\xrightarrow{\mathcal{D}}c\iff X_n\xrightarrow{P}c (proof: P(∣Xn−c∣<ε)=Fn(c+ε)−Fn(c−ε)→1P(\lvert X_n-c\rvert<\varepsilon)=F_n(c+\varepsilon)-F_n(c-\varepsilon)\to1).
  • Not implied: E(Xn)→E(X)E(X_n)\to E(X) (same counterexample, P(∣Xn∣>ε)=1n→0P(\lvert X_n\rvert>\varepsilon)=\frac1n\to0).

Convergence in LpL^p: E(∣Xn−X∣p)→0E(\lvert X_n-X\rvert^p)\to0 (p=1p=1 in mean, p=2p=2 in quadratic mean).

  • L2⇒L1L^2\Rightarrow L^1: Cauchy-Schwarz, E(∣Xn−X∣)≤E(∣Xn−X∣2)E(\lvert X_n-X\rvert)\le\sqrt{E(\lvert X_n-X\rvert^2)}.
  • L1⇒PL^1\Rightarrow P: Markov, P(∣Xn−X∣>ε)≤E(∣Xn−X∣)εP(\lvert X_n-X\rvert>\varepsilon)\le\frac{E(\lvert X_n-X\rvert)}\varepsilon.
  • L1⇒E(Xn)→E(X)L^1\Rightarrow E(X_n)\to E(X): ∣E(Xn)−E(X)∣≤E(∣Xn−X∣)\lvert E(X_n)-E(X)\rvert\le E(\lvert X_n-X\rvert).

Chain: L2⇒L1⇒P⇒DL^2\Rightarrow L^1\Rightarrow P\Rightarrow\mathcal{D}; D⇒P\mathcal{D}\Rightarrow P only if the limit is a constant.

Sample mean set-up. X‾n=1n∑i=1nXi\overline X_n=\frac1n\sum_{i=1}^nX_i with XiX_i i.i.d., mean μ\mu, variance σ2\sigma^2: E(X‾n)=μE(\overline X_n)=\mu, var(X‾n)=σ2n→0\text{var}(\overline X_n)=\frac{\sigma^2}n\to0; (X‾n)(\overline X_n) is not i.i.d.; its density (nn minus one convolutions) is too heavy to use, so one studies it asymptotically.

Typical mistakes. Assuming the limit function GG is a DF (only agreement at continuity points is required); expecting fn→ff_n\to f or E(Xn)→E(X)E(X_n)\to E(X) from convergence in distribution; reading →D\xrightarrow{\mathcal{D}} as →P\xrightarrow{P} (valid only for a constant limit); forgetting that for PP one needs the joint law of (Xn,X)(X_n,X).

Teoria collegata