Law of large numbers

Law of large numbers

This is a blog discussing the Law of large numbers (LLN) and proof with characteristic function.

In probability theory, law of large numbers describes the asymptotic behavior of the empirical average of the independent and identically distributed (i.i.d.) random variables converging towards the expectation as number of sample grows.

Consider a sequence of i.i.d. random variables $\color{black}{X_i}$ with mean $\color{black}{\mu = E\left[{X}\right]}$, the law of large numbers comes in two forms, one weak law and one strong law as follows

Weak law

The weak law of large numbers states that the sample average converges in probability towards the expected value. That is for $\color{black}{\forall \epsilon > 0}$,

In another notation, it is expressed as when $\color{black}{n \rightarrow \infty}$,

where $\color{black}{\overset{P}{\rightarrow}}$ is called convergence in probability. What weak law represents is that as size of sample grows to infinity, the probability that the empirical average $\color{black}{\hat{\mu}_n}$ is within the $\color{black}{\epsilon}$ neighborhood of the expectation $\color{black}{\mu}$ goes to $\color{black}{1}$. In other words, weak law does not guarantee that $\color{black}{\hat{\mu}_n}$ is always within the $\color{black}{\epsilon}$ neighborhood of the expectation $\color{black}{\mu}$. For instance, it can be the case that for most of time $\color{black}{\hat{\mu}_n}$ converges to $\color{black}{\mu}$, but with very small probability $\color{black}{\hat{\mu}_n}$ deviates from $\color{black}{\mu}$ and the deviation can keep on increasing.

Strong law

The strong law of large numbers, instead, states that the sample average converges almost surely to the expected value. Namely

It is sometimes also written as when $\color{black}{n \rightarrow \infty}$,

where $\color{black}{\overset{a.s.}{\rightarrow}}$ is called almost sure convergence. What strong law represents is that the probability that the empirical average $\color{black}{\hat{\mu}_n}$ is equal to the expectation $\color{black}{\mu}$ will be equal to $\color{black}{1}$ as the number of sample goes to infinity. In other words, the strong law prevents the occurrence of deviation from happening when $\color{black}{n}$ is sufficiently large.

Proof of weak law using characteristic function

Here I provide the proof of weak law of large numbers using characteristic function discussed in last post. For anyone who is interested in the proof of strong law, please check here.

In order to prove the weak law, let us introduce Lévy’s continuity theorem. That is if for $\color{black}{\forall t}$

then $\color{black}{X_{n}(t)}$ converges to $\color{black}{X(t)}$ in probability. Then, to prove the weak law of large numbers becomes equivalent to show

where the random variable of empirical average $\color{black}{\hat{\mu}_{n}}$ is defined as

Due to the fact of each random variable $\color{black}{X_i}$ being i.i.d. drawn from the same probability distribution with $\color{black}{\mu = E\left[{X}\right]}$, the characteristic function of $\color{black}{\hat{\mu}_{n}}$ is then

Let us expand the exponential term with Taylor series up to first order,

incidentally its expectation becomes

Also, bearing in mind that

we can calculate that

By Lévy’s continuity theorem, this finishes the proof. Another proof of weak law using Chebyshev’s inequality can be found here. It is noted that the approach using Chebyshev’s inequality assumes the existence of variance for the random variables, whereas the proof with characteristic function holds always.

Spoiler:

In next post, we will look into the central limit theorem from the perspective of characteristic function. See you next time.