Probability 8 of 11
On this page

Probability

8.7 Convergence of random variables

Chapter 7 of 10 71 min read

The central limit theorem is a fundamental result with several applications. Even when the distribution of the population of events does not follow a Normal distribution, the distribution of the data mean converges to the Normal distribution as the sample size increases. Thus, whatever the distribution of the sample, for a sufficiently large number of observations, the probability distribution of the mean approximates the Normal distribution with mean $ \mu $ and variance $ \frac{\sigma^2}{n} $, in which $ \mu $ is the average and $ \sigma^2 $ is the population variance. To illustrate, consider a population $ X $ which has an exponential distribution with parameter $ \lambda = 1 $, that is, $ X\sim \ \text{Exp}(1) $. We will carry out a study of the sampling distribution of $ \overline{X} $.

Initially, we will plot the histogram of the population that has an exponential distribution with parameter $ \lambda =1 $ and sample size 500.

TCL

Figure 7.1: histogram of population data with exponential distribution with parameter λ=1.

Note that the data set graph follows a non-symmetrical distribution, different from the Normal distribution curve (red line). Let’s make a descriptive summary of the population data.

TCL1_0

Figure 7.2: Descriptive summary of the population.

We observe that in the case of the entire population, the population mean is approximately 1 and the standard deviation of the mean is given by $ \dfrac{s}{\sqrt{n}}=\dfrac{0,95961}{\sqrt{500}}=0,042915. $ In order to apply the central limit theorem (TCL), we will take 1000 random samples from this population, whose sample size is two. From each of these 1000 samples we calculate the average, then we check the behavior of the data. Next, we will plot the histogram of the data and make a descriptive summary.

TCL2_0

Figure 7.3: Histogram using groups of 2.

TCL3

Figure 7.4: Descriptive summary for samples of size 2.

With samples of size 2, we still do not obtain satisfactory results. With this, we will take 1000 random samples of size 10. From each of these 1000 samples we calculate the average, then we check the behavior of the data. Next, we will plot the histogram of the data and make a descriptive summary.

TCL4

Figure 7.5: Histogram for sample sizes $ n=10. $

TCL5

Figure 7.6: Descriptive summary for samples of size 10.

Now, for samples of size 2, we still do not obtain satisfactory results. Finally, we will take 1000 random samples of size 250. From each of these 1000 samples we calculate the average, then check the behavior of the data. Next, we will plot the histogram of the data and make a descriptive summary.

TCL6

Figure 7.7: Histogram for sample sizes $ n=250. $

TCL7

Figure 7.8: Descriptive summary for samples of size 250.

As we can see, this graph already has a distribution similar to the Normal distribution. From the distribution of the population mean we obtain $ \mu=\overline{X}=1 $ and $ \sigma_{\overline{X}}=\dfrac{s}{\sqrt{n}}=\dfrac{0,95961}{\sqrt{500}}=0,042915. $ We observe in figure 7.8 that the difference between data with samples of size 250 and the distribution of the empirical mean (error) is 0.004 for the mean and 0.00012 for the standard deviation. To reinforce this, we will carry out a normality test (for more details see the statistical inference content), in which we carry out the following hypothesis test (for more details see the hypothesis test content):

Screenshot_209

(image missing)

Figure 7.9: Normality test according to Anderson and Darling criteria.

We note that based on the Anderson and Darling test, we obtain a p-value of 0.53 (for more details, see the calculation and interpretation of p-value content). Therefore, there is strong evidence that the data comes from a Normal distribution. Below, we present a graph summarizing all the steps of this study.

TCL8_0

Figure 7.10: All steps of the study.

Therefore, when the population distribution does not follow a Normal distribution, the distribution of the mean of the data converges to the Normal distribution as the sample size increases.

Therefore, the central limit theorem (TCL) can be summarized as. For large samples, the sampling distribution of the mean can be approximated by the Normal distribution. More specifically, we consider a simple random sample of size n, taken from a population with mean μ and variance σ2. Representing such a sample by n independent random variables X1,…,Xn, and denoting its mean by $ \overline{X} $, we have from the central limit theorem that when n is large enough, the variable Z given by

$$\frac{\overline{X}-\mu}{\sigma / \sqrt{n}}$$

has an approximately Normal distribution with mean 0 and variance 1 (N(0,1)).

The law of large numbers is one of the main asymptotic theorems in statistics. Intuitively, we visualize through a graph (figure 7.10) the law of large numbers, which says that the arithmetic mean of the observed values ​​tends to the expectation of the random variable.

LeiGrandNum_0

Figure 7.11: Intuitive idea of ​​the law of large numbers.

In the graph, the straight line represents the average of the random variable, while the other line represents the average of the observed values. Note that as the number of observations increases, the arithmetic mean of the observed values ​​tends towards the mean of the random variable.

Next, we will show the results with details about the law of large numbers and the central limit theorem (TCL).

8.7.1 Types of Convergence

In this module, we present the main types of stochastic convergence and their relationships.

8.7.1.1 Convergence in probability and almost certain

In this section, we will study convergences in probabilities and almost certainties, however, initially we will present an important result, which is the Borel-Cantelli lemma.

Definition 7.1.1.1

Be $(A_n)_{n\geq 1}$ a sequence of random events then the upper limit of the sequence is defined as

Screenshot_210

Lemma 7.1.1.1 (Borel-Cantelli Lemma)

Be $(A_n)_{n\geq 1}$ a sequence of random events. We have to:

Screenshot_211

Screenshot_212

So, be it $B_n=\displaystyle \bigcup_{k=n}^{\infty}A_k$, note that $B_n \supset \displaystyle \bigcup_{k=n}^{n+m}A_k $, for any $m \in \mathbb{N}$, and therefore $B_n^c \subset \left(\displaystyle \bigcup_{k=n}^{n+m}A_k\right)^c=\displaystyle \bigcap_{k=n}^{n+m}A_k^{c}$ (this equality is valid according to De Morgan’s laws).

Therefore, for everyone we have

$$1-\mathbb{P}(B_n)=\mathbb{P}(B_n^c)\leq \mathbb{P}\left(\displaystyle \bigcap_{k=n}^{n+m}A_k^{c}\right).$$

How each $A_i$ are independent then we obtain that

$$\mathbb{P}\left(\displaystyle \bigcap_{k=n}^{n+m}A_k^{c}\right)=\prod_{k=n}^{n+m}\mathbb{P}(A_k^c)=\prod_{k=n}^{n+m}(1-\mathbb{P}(A_k)).$$

Let us note that $1-p\leq e^{-p}$ for $0\leq p \leq 1$, we then have:

Screenshot_213

because by hypothesis we have $\displaystyle \sum_{n=1}^{\infty}\mathbb{P}(A_n)=\infty$. Therefore $\mathbb{P}(B_n)=1$, for all $n\geq 1$.

$\Box$

Example 7.1.1.1

Be $(X_n)_{n\geq 1}$ a sequence of independent random variables such that, $X_n\sim \text{Bernoulli}(p_n)$, $0 \ < \ p_n \ < \ 1$, $n\geq 1.$

By the Borel-Cantelli lemma, we have

Se $\displaystyle\sum^\infty_{n=1}p_n \ < \ \infty$ then $\mathbb{P}([X_n=1],i.v.)=0$

Se $\displaystyle\sum^\infty_{n=1}p_n=\infty$ then $\mathbb{P}([X_n=1],i.v.)=1$

Example 7.1.1.2

Be $(X_n)_{n\geq 1}$ a sequence of independent random variables with $X_n\sim \text{Exp}(1).$ Define $Y_n=\frac{X_n}{\log(n)}$ for $n\geq1.$ Discuss convergence in probability and near certainty.

Note that

$$\mathbb{P}\left(X_n \ > \ x\right)=e^{-x},\quad x \ > \ 0,~n\geq 1$$

and therefore,

$$\mathbb{P}\left(X_n \ > \ \alpha \log n\right)=e^{-\alpha\log n}=\dfrac{1}{n^\alpha},\quad ~n\geq 1$$

So, by the Borel-Cantelli lemma,

Screenshot_214

Now, let’s present the definitions of convergence in probabilities and almost certainty.

Definition 7.1.1.2: (Convergence in probability)

Screenshot_215

The main idea of convergence in probability is that when n is arbitrarily large, the probability of the difference $|X_n-X|$ be greater than any positive number $\varepsilon$ tends to zero.

Definition 7.1.1.3: (Almost certain convergence)

Screenshot_216

Theorem 7.1.1.1: (Almost certain convergence criterion)

Be $(X_n)_{n\geq 1}$ a sequence of random variables and $X$ a random variable. So $X_n$ almost certainly converges to $X$ if, and only if, for all $j\geq1$

$$\mathbb{P}\left(|X_n-X|\geq \frac{1}{j} \ \text{i.v.} \right)=0$$

Demo:

A sequence of functions converges for all $j\geq 1,$ exists $n\geq 1$ such that $k\geq n$ implies

$$|X_k(\omega)-X(\omega)| \ < \ \frac{1}{j}$$

equivalently

Screenshot_217

Below, we present two examples related to almost certain and probability convergence. Next, we present a result that proves that almost certain convergence implies convergence in probability.

Example 7.1.1.3

Screenshot_218

Example 7.1.1.4

Screenshot_219

Theorem 7.1.1.2

Screenshot_220

Theorem 7.1.1.3

Screenshot_221

Theorem 7.1.1.4

Screenshot_222

Theorem 7.1.1.5

Screenshot_223

Theorem 7.1.1.6

Be $(X_n)_{n\geq 1}$ a sequence of random variables, $X$ a random variable and $g$ a continuous function at real values. Se $X_n$ converges in probability to $X$ then $g(X_n)$ converges in probability to $g(X)$.

Demo:

Initially, assume that $g$ is uniformly continuous. So, given $\varepsilon \ > \ 0$, there is a $\delta \ > \ 0$ such that $|g(X_n) - g(x)| \ < \ \varepsilon$ whenever $|X_n-X| \ < \ \delta$. In this case, we have to

Screenshot_224

then converges in probability.

$\Box$

Theorem 7.1.1.7: (The limit on probability is “unique”)

Screenshot_225

Definition 7.1.1.4

Screenshot_226

Theorem 7.1.1.8

Screenshot_227

Screenshot_228

Example 7.1.1.5

Screenshot_229

Example 7.1.1.6

Screenshot_230

Example 7.1.1.7

Be $(X_n)_{n\geq 1}$ a sequence of independent v.a’s defined in $(\Omega, \mathcal{A}, \mathbb{P})$, such that $X_n\sim U(0,a_n)$, with $a_n \ > \ 0$, $n\geq 1$. So

(a) Assuming $a_n=n$, prove that, with probability 1, there are an infinite number of v.a’s $X_n$ which take values less than 1 and an infinite number $X_n$ which take values greater than 2.

(b) With considerations similar to those in item (a), decide on the almost certain convergence, in the case in which $a_n=n^2$, $n\geq 1$.

(a) We have to:

$$\mathbb{P}(X_n \ < \ 1)= \int_{0}^{1}\frac{1}{n}dx_n=\frac{1}{n}$$

How $\displaystyle \sum_{n=1}^{\infty}\frac{1}{n}=\infty$, then by the Borel-Cantelli Lemma, we conclude that $\mathbb{P}(X_n \ < \ 1;~ i.v.)=1$.

Now for

$$\mathbb{P}(X_n \ > \ 2)= \int_{2}^{n}\frac{1}{n}=\frac{n-2}{n}.$$

How $\displaystyle \sum_{n=1}^{\infty}\frac{n-2}{n}=\infty,$ so by the Borel-Cantelli Lemma, we conclude that $\mathbb{P}(X_n \ > \ 2;~ i.v.)=1$.

Now from the fact that there are infinitely many values smaller than 1 and infinitely many values greater than 2, we conclude that the sequence of v.a’s $(X_n)_{n\geq 1}$ almost certainly does not converge.

(b) We have to,

$$\mathbb{P}(X_n \ < \ 1)= \int_{0}^{1}\frac{1}{n^2}dx_n=\frac{1}{n^2}$$

How $\displaystyle \sum_{n=1}^{\infty}\frac{1}{n^2} \ < \ \infty$, then by the Borel-Cantelli Lemma, we conclude that $\mathbb{P}(X_n \ < \ 1;~ i.v.)=0$.

$$\mathbb{P}(X_n \ > \ 2)=\displaystyle \int_{2}^{n^2}\frac{1}{n^2}dx_n=1-\frac{2}{n^2}$$

How $\displaystyle \sum_{n=1}^{\infty}1-\frac{2}{n^2}=\infty,$ so by the Borel-Cantelli Lemma, we conclude that $\mathbb{P}(X_n \ > \ 2;~ i.v.)=1$.

Screenshot_231

Example 7.1.1.8

Consider X a v.a. and $(X_n)_{n\geq 1}$ a sequence of v.a’s defined over $(\Omega,\mathcal{A},\mathbb{P})$, such that the joint distribution of $(X_n,X)$ be given by:

$$\mathbb{P}(X_n=0,X=0)=\displaystyle \frac{n}{3(n+1)}$$

$$\mathbb{P}(X_n=1,X=0)=\displaystyle \frac{1}{3(n+1)}$$

$$\mathbb{P}(X_n=0,X=1)=\displaystyle \frac{n}{3}$$

$$\mathbb{P}(X_n=1,X=1)=\displaystyle \frac{1}{3}$$

Screenshot_232

To conclude this section, we will present a diagram of the main results.

Convergencia1_1

Figure 7.1.1.1: Diagram of implications between types of convergence.

8.7.1.2 Convergence in distribution or Weak Convergence

In this section, we will discuss some characteristics of distributional convergence or weak convergence of probability measures. Next, we present the following definition.

Definition 7.1.2.1

Screenshot_233

Example 7.1.2.1

Screenshot_234

Theorem 7.1.2.1

Be $F$ a cumulative distribution function and $(F_{n})_{n\geq 1}$ a sequence of cumulative distribution functions. Se $F_{n}\rightarrow F$ So, for every function $g:\mathbb{R}\rightarrow\mathbb{R}$ continuous and limited we have that:

$$\displaystyle\int{g(x)dF_n(x)}\rightarrow \int{g(x)dF(x)}.$$

This theorem is known as Helly Bray’s theorem.

Demo:

We want to show that $\displaystyle\int{g(x)dF_n(x)}\rightarrow \int{g(x)dF(x)}$. To do this, we need to show that

$$\displaystyle\left|\displaystyle\int{g(x)dF_n(x)}-\int{g(x)dF(x)}\right| \ < \ \varepsilon,~~\forall \ \varepsilon \ > \ 0.$$

Be $-\infty \ < \ a \ < \ b \ < \ \infty$. We can divide the difference between the above integrals as follows:

$$\int{g(x)dF_n(x)}-\int{g(x)dF(x)}= A - B$$

in which

$$A = \int_{-\infty}^{a}{g(x)dF_n(x)} +\int_{a}^{b}{g(x)dF_n(x)}+\int_{b}^{\infty}{g(x)dF_n(x)}$$

and

$$B = \int_{-\infty}^{a}{g(x)dF(x)}+\int_{a}^{b}{g(x)dF(x)}+\int_{b}^{\infty}g(x)dF(x).$$

By hypothesis we have $g$ is a limited function and therefore $c=\sup_{x\in \mathbb{R}}|g(x)| \ < \ \infty$. Be $\varepsilon \ > \ 0$ arbitrary. Using the triangular inequality we have

$$\displaystyle\left|\displaystyle\int{g(x)dF_n(x)} - \int{g(x)dF(x)}\right|\leq \left|\int g(x)dF_n-\int_{a}^{b}g(x)dF_n(x)\right|+$$

$$+\left|\int_{a}^{b}g(x)dF_n(x)-\int_{a}^{b}g(x)dF(x)\right|+\left|\int_{a}^{b}g(x)dF(x)-\int g(x)dF(x)\right|.$$

Let us note the following fact:

$$\displaystyle\left|\int_{-\infty}^{a}g(x)dF_n(x)-\int_{-\infty}^{a}g(x)dF(x)\right|\leq\int_{-\infty}^{a}cdF_n(x)+\int_{-\infty}^{a}cdF(x)=c[F_n(a)+F(a)].$$

Se $a$ is small enough, as $F$ is non-decreasing we have to $F(a)$ will also be small, and the same goes for $F_n(a)$. In this way we conclude that for each $\varepsilon_0 \ > \ 0$ there is one such that:

$$c[F_n(a)-F(a)] \ < \ \varepsilon_0$$

Similarly we have:

$$\displaystyle \left|\int_{b}^{\infty}g(x)dF_n(x)-\int_{b}^{\infty}g(x)dF(x)\right|\leq \int_{b}^{\infty}cdF_n(x)-\int_{b}^{\infty}cdF(x)=c[F_n(b)-F(b)].$$

For $b$ sufficiently large we have:

$$c[F_n(b)-F(b)] \ < \ \varepsilon_2.$$

Now we just need to show that:

$$\displaystyle\left|\int_{a}^{b}g(x)dF_n(x)-\int_{a}^{b}g(x)dF(x)\right| \ < \ \varepsilon_3.$$

As by hypothesis g is continuous and limited, we have that in the closed interval $[a,b]$ the function g is uniformly continuous, since every continuous function defined in a compact is uniformly continuous.

Remembering that a compact in reals is a closed and limited set.

Thus, let’s consider the following partition of the interval [a,b]:

$$x_0=a \ < \ x_1 \ < \ \cdots \ < \ x_m=b.$$

For $x\in\mathbb{R}$, with $x_i \ < \ x \ < \ x_{i+1}$ we have to:

$$g(x)-g(x_i) \ < \ \varepsilon_4,~~\forall i,$$

For $\varepsilon_4 \ > \ 0$. Let’s define a function $g_j(x)=g(x_i)$ for everyone $x\in(x_i,x_i+1)$, let us observe that $g_j$ is a constant function, so we show the following fact:

$$\displaystyle\int_{a}^{b}g(x_i)dF_n(x)=\sum_{i=0}^{m-1}g(x_i)[F_n(x_{i+1})-F_n(x_i)]\rightarrow\sum_{i=0}^{m-1}g(x_i)[F(x_{i+1})-F(x_i)]=\int_{a}^{b}g_j(x)dF(x).$$

This convergence arises from the fact that, hypothetically, $F_n$ converges to F.

In this way we have that for any $\varepsilon \ > \ 0$ there is a sufficiently large n such that:

$$\displaystyle \left|\int_{a}^{b}g_m(x)dF_n(x)-\int_{a}^{b}g_m(x)dF(x)\right|\leq\varepsilon_5.$$

But

$$\left|\int_{a}^{b}g(x)dF_n(x)-\int_{a}^{b}g(x)dF(x)\right|\leq$$

$$\left|\int_{a}^{b}g(x)dF_n-\int_{a}^{b}g_m(x)dF_n\right|+\left|\int_{a}^{b}g_m(x)dF_n(x)-\int_{a}^{b}g_m(x)dF(x)\right|+$$

$$+\left|\int_{a}^{b}g_m(x)dF(x)-\int_{a}^{b}g(x)dF(x)\right|\leq\left|\int_{a}^{b}\varepsilon_4dF_n+\varepsilon_5+\int_{a}^{b}\varepsilon_4dF_n\right|\leq\varepsilon_5+ 2\varepsilon_4.$$

Therefore we can conclude that:

$$\left|\int g(x)dF_n(x)-\int g(x)dF(x)\right|\rightarrow 0,$$

$\Box$

With this, we can have an alternative definition, given by

Definition 7.1.2.2

We say that a sequence of random variables $(X_n)_{n\geq 1}$ converges in distribution for the random variable $X$, if

$$\mathbb{E}[f(X_n)]\rightarrow \mathbb{E}[f(X)$$

for every continuous and limited function $f$.

Theorem 7.1.2.2

Be $(F_n)_{n\geq 1}$ a sequence of cumulative distribution functions and $(\varphi_n)$ a sequence of characteristic functions, with $\varphi_n$ being the characteristic function of $F_n$. Se $\varphi_n$ converges punctually to $\varphi$ and $\varphi$ is continuous at zero, then there is a function $F$ such that $F_n \rightarrow F$ such that $\varphi$ is the characteristic function of $F$.

Demo:

We will omit the proof of this theorem because it is a very technical proof, however it can be found in Barry James' book and in some other books that appear in the references.

$\Box$

Proposition 7.1.2.1

Screenshot_243

Demo:

By Theorem 7.1.2.2 we conclude that a characteristic function defines the cumulative distribution function in a unique way. Since the characteristic function of the normal distribution is $e^{-t^{2}/2}$ we have that it follows immediately from Theorem 7.1.2.2 that $X_n$ converges to the normal distribution.

$\Box$

Theorem 7.1.2.3

Be $(X_n)_{n\geq 1}$ a sequence of random variables, $X$ a random variable and $g$ a continuous function at real values. Se $X_n$ converges in distribution to $X$ then $g(X_n)$ also converges in distribution to $g(X)$.

Demo:

By hypothesis we have $X_n$ converges in distribution to $X$. So to show that $g(X_n)$ converges in distribution to $g(X)$. We just need to show the convergence of the characteristic functions. We have, by definition, that

$$\varphi_{g(X_n)}(t)=\mathbb{E}[e^{itg(X_n)}]=\mathbb{E}[\cos{(tg(X_n))}]+i~\mathbb{E}[\text{sen}{(tg(X_n))}].$$

But $\cos$ and $\text{sen}$ are continuous and limited functions and so from Theorem 7.1.2.1 it follows that:

$$\varphi_{g(X_n)}\rightarrow \varphi_{g(X)}.$$

Therefore $g(X_n)$ converges in distribution to $g(X)$.

$\Box$

Theorem 7.1.2.4 (Slutsky)

Screenshot_242

i) $X_n+Y_n$ converges in distribution to $X+Y.$

ii) $X_n-Y_n$ converges in distribution to $X-Y.$

iii) $X_nY_n$ converges in distribution to $YX.$

iv) if $Y\neq 0$ and $\mathbb{P}(Y_n\neq 0)=1$, then $\displaystyle \frac{X_n}{Y_n}$ converges in distribution to $\displaystyle \frac{X}{Y}$.

Demo:

i) We just need to show that $\varphi_{X_n+Y_n}(t)\rightarrow \varphi_{X+Y}(t)$, but we have

$$\varphi_{X_n+Y_n}=\mathbb{E}[e^{it(X_n+Y_n)}]=\mathbb{E}[e^{it(X_n+Y)}]+\mathbb{E}[e^{itX_n}(e^{itY_n}-e^{itY})].$$

How $\mathbb{E}[e^{itX_n}]=\varphi_{X_n}(t)\rightarrow \varphi_X(t)$, and therefore

$$\mathbb{E}[e^{it(X_n+Y)}]=e^{itY}\mathbb{E}[e^{itX_n}]\rightarrow e^{itY}\varphi_X=\varphi_{X+Y}(t).$$

In this way, we only need to show that $\mathbb{E}[e^{itX_n}(e^{itY_n}-e^{itY})]\rightarrow 0$.

$$|\mathbb{E}[e^{itX_n}(e^{itY_n}-e^{itY})]|\leq \mathbb{E}[|e^{itX_n}(e^{it Y_n}e^{itY})|]=\mathbb{E}[e^{itY_n}-e^{itY}],$$

because $|e^{itX_n}|=1$, so we just need to show that $\mathbb{E}[|e^{it(Y_n-Y)}|]\rightarrow 0$. But this fact is a consequence of the dominated convergence theorem.

ii) This convergence is immediate from i), since $-Y_n\rightarrow -Y$.

iii) Let us first assume that $Y=0.$ So we want to show that $Y_nX_n$ converges in probability to 0, since convergence in probability implies convergence in distribution.

Therefore be $\varepsilon,~\delta \ > \ 0$ and $x \ < \ 0 \ < \ y$ points of continuity $F_X$, such that $F_X(y)-F_X(x)=\mathbb{P}[x \ < \ X \leq y] \ > \ 1-\delta$. As per hypothesis $X_n$ converges in distribution to $X$, we have to

$$\mathbb{P}[x \ < \ X_n \leq y]=F_{X_n}(y)-F_{X_n}(x) \ > \ 1-\delta$$

for one $n$ big enough. Furthermore, we define $M=\max(y,-x).$ Then the convergence in probability of $Y_n$ to zero implies that $\mathbb{P}[|Y_n| \ < \ \varepsilon/M] \ > \ 1-\delta$ for $n$ big enough.

$$\mathbb{P}[x \ < \ X_n \ < \ y, |Y| \ < \ \varepsilon/M] \ >1-2\delta.$$

this follows from P10.

Furthermore, we have to $x \ < \ X_n \ < \ y$ and $|Y_n| \ < \ \frac{\varepsilon}{M}$ which implies that $|X_nY_n| \ < \ \varepsilon$.

Logo $\mathbb{P}[|X_nY_n| \ < \ \varepsilon] \ > \ 1-2\delta$ for $n$ big enough.

Therefore, we have to $\varepsilon \ > \ 0$ we have to $\mathbb{P}[|X_nY_n| \ < \ \varepsilon]\rightarrow 1$, that is $X_nY_n$ converges in probability to zero.

To demonstrate the general case in which $Y=c$, we just need to analyze the following fact

$$Y_nX_n=YX_n+(Yn-Y)X_n$$

and $Y_n-Y$ converges in probability to zero, so it follows from the case where $Y=0$ that $(Y_n-Y)X_n$ converges in probability to zero.

Furthermore, we have to

$$\varphi_{cX_n}(t)=\varphi_{X_n}(ct)\rightarrow \varphi_{X}(ct)=\varphi_{cX}(t)=\varphi_{YX}(t),$$

Thus, from Theorem 7.1.2.5 it follows that $YX_n$ converges $YX$. Now the result follows immediately from item i), as we have the sum of two terms in which one converges in probability to zero and the other converges in distribution to $YX$.

iv) Let us note that from Theorem 7.1.2.4 that $\frac{1}{Y_n}$ converges in probability to $\frac{1}{Y}$ and then just apply item iii) and the result follows.

$\Box$

Theorem 7.1.2.4 (Cramér-Wold)

Screenshot_244

Demo:

To start this demonstration, let’s define the characteristic function of a random vector.

Thus, we consider a j-dimensional vector $\widetilde{X}=(X_1,\cdots,X_j)$ the characteristic function of $\widetilde{X}$ is the function $\varphi_{\widetilde{X}}:\mathbb{R}^j\rightarrow C$ which is defined by:

$$\displaystyle\varphi_{\widetilde{X}}(t_1,\cdots,t_j)=\mathbb{E}\left[\exp\left(i\sum_{k=1}^{j}t_jX_j\right)\right]=E\left[e^{i\widetilde{t} \widetilde{X}}\right].$$

Now with the definition of the characteristic function for a random vector in hand we can finally move on to demonstrating the Cramér-Wold theorem.

Let’s suppose that $\sum_{j=1}^{k}t_jX_{nj}$ converges in distribution to

$$\sum_{j=1}^{k}t_jX_{j}$$

In this case we have to:

$$\varphi_{X_n}(t_1,\cdots,t_k)=\mathbb{E}[e^{i\sum_{j=1}^{k}t_jX_{nj}}]$$

$$\varphi_{\sum_{j=1}^{k}t_jX_{nj}}(1)\rightarrow\varphi_{\sum_{j=1}^{k}tjXj}(1)=\varphi_{\widetilde{X}}(t_1,\cdots,t_k)$$

It follows immediately that as $\varphi_{\widetilde{X_n}}\rightarrow\varphi_{\widetilde{X}}$ that $\widetilde{X_n}$ converges in distribution to $X$.

Now let’s assume the opposite case, suppose that $X_n$ converges in distribution to $X$.

So we note that:

$$\varphi_{\sum_{j=1}^{k}tjX_{nj}}=E\left[e^{it\sum_{j=1}^{k}t_jX_{nj}}\right]=E\left[e^{i \sum_{j=1}^{k}tt_jX_{nj}}\right]=$$

$$=\varphi_{\widetilde{X_n}}(tt_1,\cdots,tt_k)\rightarrow\varphi_{\widetilde{X}}(tt_1,\cdots,tt_k)=\varphi_{\sum_{j=1}^{k}t_jX_j}(t).$$

Therefore $$\sum_{j=1}^{k}t_jX_{nj}$$

converges in distribution to $$\sum_{j=1}^{k}t_jX_{j}$$

$\Box$

Proposition 7.1.2.2

Screenshot_235

Conversely, be $F_n$ the accumulated distribution function of $X_n,~n\geq 1.$ We fix $x\in\mathbb{R}$ for everyone $x$ point of continuity $F$. So for everyone $\varepsilon>0$

$$\mathbb{P}(X_n\leq x)\leq\mathbb{P}(X\leq x+\varepsilon)+\mathbb{P}(X_n\leq x~;~X> x+\varepsilon)\leq \mathbb{P}(X\leq x+\varepsilon)+\mathbb{P}(|X_n-c|>\varepsilon)~~(7.1.2.1)$$

and similarly

$$\mathbb{P}(X_n\leq x)\geq\mathbb{P}(X\leq x-\varepsilon)-\mathbb{P}(|X_n-c|>\varepsilon)~~(7.1.2.2)$$

Therefore, from (7.1.2.1) and (7.1.2.2) we obtain that

$$F(x-\varepsilon)-\mathbb{P}(|X_n-c|> \varepsilon)\leq F_n(x)\leq F(x+\varepsilon)+\mathbb{P}(|X_n-c|>\varepsilon)$$

Screenshot_236

$\Box$

Theorem 7.1.2.5

Screenshot_237

Demo:

Just use the return of proposition 7.1.2.2, replacing c with $X.$

$\Box$

Proposition 7.1.2.3: (Discrete case)

Screenshot_238

$\Box$

Example 7.1.2.2

Screenshot_239

Example 7.1.2.3

Screenshot_240

So follow the result.

Now, we present an example of a sequence of random variables which converges in probability and in mean p for $\forall p\geq 1$, but it almost certainly does not converge.

Example 7.1.2.4

Screenshot_241

To conclude this section, we will present a diagram of the main results.

Convergencia2_0

Figure 7.1.2.1: Diagram of implications between types of convergence.

8.7.1.3 Convergence in mean p

In this section, we will study convergence on average p, however, initially we need important inequalities such as Markov and Chebyshev inequalities. Chebyshev established a simple inequality that allowed a trivial proof of the Weak Law of Large Numbers. Below, we present the main inequalities.

Proposition 7.1.3.1 (Markov Inequality)

Let X be a non-negative random variable, that is, one that only takes on positive real values. So we have that for any $\varepsilon > 0$:

$$\mathbb{P}[X > \varepsilon]\leq \displaystyle \frac{\mathbb{E}[X]}{\varepsilon}$$

Demo:

For all $\varepsilon > 0$, note that

Screenshot_266

Then, $\mathbb{E}[X]\geq \varepsilon \mathbb{P}(X\geq \varepsilon)$

Therefore, $\mathbb{P}(X\geq \varepsilon ) \leq \dfrac{\mathbb{E}[X]}{\varepsilon}$ follows Markov inequality.

$\Box$

Proposition 7.1.3.2 (Chebyshev Inequality)

Let X be a random variable such that $\mathbb{E}(X)< \infty$, $\text{Var}(X)<\infty$ and $\varepsilon > 0$ then:

$$\mathbb{P}[|X-\mathbb{E}[X]|> \varepsilon]\leq \displaystyle \frac{\text{Var}(X)}{\varepsilon^2}.$$

Demo:

First let’s define a random variable $Y=(X-\mathbb{E}[X])^2.$ Note that the variable Y satisfies the hypotheses of Markov inequality, as Y is a non-negative variable. So, we have to:

$$\mathbb{P}[Y> \varepsilon^2]\leq \displaystyle \dfrac{\mathbb{E}[Y]}{\varepsilon^2}=\dfrac{\mathbb{E}[(X-\mathbb{E}[X])^2]}{\varepsilon^2}$$

By definition we have $\mathbb{E}[(X-\mathbb{E}[X])^2]=\text{Var}[X],$ then

$$\mathbb{P}[Y> \varepsilon^2]\leq \displaystyle \frac{\text{Var}[X]}{\varepsilon^2}.$$

Screenshot_247

$\Box$

Next, we will state an important inequality, which is Jensen’s inequality, widely used in probability theory. Johan Valdemar Jensen, a Danish telecommunications engineer, published this inequality in 1906 in Acta Matemática.

Proposition 7.1.3.3 (Jensen Inequality)

Let X be a random variable, then for every random variable $X\in \mathcal{L}^1(\mathbb{P})$ such that $-\infty\leq a< X< b\leq +\infty$ and $\varphi: (a,b)\rightarrow \mathbb{R}$ convex

$$\varphi(\mathbb{E}[X])\leq \mathbb{E}[\varphi(X)]$$

Demo:

Intuitive idea: (Particular case) Be $\varphi(x)=x^2$ a function $\varphi: (a,b)\rightarrow \mathbb{R}$ convex. We saw in the variance section of random variables that

$$\text{Var}(X)=\mathbb{E}(X^2)-[\mathbb{E}(X)]^2.$$

We can rewrite as

$$\mathbb{E}(X^2)=\underbrace{\text{Var}(X)}_{\geq 0}+[\mathbb{E}(X)]^2\geq [\mathbb{E}(X)]^2$$

The general case can be seen in the article by Johan L. W. V. Jensen. We can see another demonstration in the Expected value properties content.

$\Box$

Proposition 7.1.3.4 (Cauchy-Schwartz Inequality)

Let X and Y be random variables, such that $\mathbb{E}[X^2]<\infty$ and $\mathbb{E}[Y^2]<\infty,$ then

$$\mathbb{E}[|X|.|Y|]\leq \sqrt{\mathbb{E}[X^2]\mathbb{E}[Y^2]}$$

Demo:

For $\lambda\in \mathbb{R},$

$$0\leq\mathbb{E}\left[(\lambda|X|+|Y|)^2\right]=\mathbb{E}[\lambda^2|X|^2+2\lambda|X|.|Y|+|Y|^2]=\lambda^2\mathbb{E}[X^2]+2\lambda\mathbb{E}[|X|.|Y|]+\mathbb{E}[|Y|^2]$$

We use the idea of the discriminant in solving the 2nd degree equation as follows

$$\Delta=4(\mathbb{E}[|X|.|Y|])^2-4\mathbb{E}[|X|^2]\mathbb{E}[|Y|^2]\leq0$$

Therefore,

$$\mathbb{E}[|X|.|Y|]\leq \sqrt{\mathbb{E}[X^2]\mathbb{E}[Y^2]}$$

$\Box$

With this, we will define the convergence on average p as follows.

Definition 7.1.3.1

Consider $X$ a random variable with $\mathbb{E}[|X|^p]< \infty$ and $(X_n)_{n\geq 1}$ sequence of random variables. We say that $X_n$ converges on average p to $\mathcal{L}^p$ to X (if you want to know more about the spaces $\mathcal{L}^p$ see content Space properties L^p) if

$$\lim_{n\rightarrow\infty}\mathbb{E}\left[|X_n-X|^p\right]=0,\quad \text{para}~p\geq 1$$

Screenshot_246

Note

when $p=2,$ we say that it converges in a quadratic mean.

Theorem 7.1.3.1

Screenshot_245

$\Box$

Lemma 7.1.3.1

Screenshot_248

$\Box$

Theorem 7.1.3.2

Screenshot_249

Demo:

We consider $q=p+s$ and by Jensen’s inequality we obtain that

$$\left(\mathbb{E}|X_n-X|^p\right)^{\frac{1}{p}}\leq \left(\mathbb{E}|X_n-X|^q\right)^{\frac{1}{q}}\rightarrow 0$$

$\Box$

In the particular case, we have to $X_{n}$ converges in square mean to X, then also $X_{n}$ converges on average to X (lemma 7.1.3.1). In theorem 7.1.3.1 we saw that if $X_{n}$ converges on average p to X then converges in probability, but the converse is not always true. Below, we present a particular case in which it is worth going back.

Theorem 7.1.3.3 (Dominated case)

Screenshot_250

$\Box$

Theorem 7.1.3.4

Be $(X_n)$ a sequence of non-negative random variables such that

$X_n\stackrel{q.c}{\rightarrow}X$ and $\mathbb{E}[X_n]\rightarrow \mathbb{E}[X]$, then $X_n\stackrel{\mathcal{L}^1}{\rightarrow}X$

Demo:

For n large enough we have $\mathbb{E}[X_n]< \infty$ and we have to

Screenshot_267

which proves the result.

$\Box$

Example 7.1.3.1

Screenshot_251

Example 7.1.3.2

Screenshot_252

$$\varepsilon\leq |X-Y|\leq |X_n-X|+|X_n-Y|$$

Now we observe the following events

$$[|X-Y|\geq \varepsilon]\subseteq [|X_n-X|\geq \frac{\varepsilon}{2}]\cup[|X_n-Y|\geq \frac{\varepsilon}{2}].$$

Then,

$$0\leq \mathbb{P}[|X-Y|\geq \varepsilon]\leq \mathbb{P}[|X_n-X|\geq \frac{\varepsilon}{2}]+[|X_n-Y|\geq \frac{\varepsilon}{2}]\rightarrow 0$$

which implies that $\mathbb{P}[|X-Y|\geq \varepsilon]\rightarrow 0,~\forall \varepsilon> 0$

Therefore, $$\mathbb{P}[|X-Y|> 0]=\lim_{n\rightarrow \infty}\mathbb{P}\left(|X-Y|> \frac{1}{n}\right)=0.$$

Example 7.1.3.3

Screenshot_253

Example 7.1.3.4

Screenshot_254

Therefore it converges almost certainly and therefore converges in probability. But notice that it does not converge on average p for $X=0$, because

$$\lim_{n\rightarrow\infty} \mathbb{E}[|X_n|^p]=\lim_{n\rightarrow\infty} \frac{e^{np}}{n^2}=\infty, ~~\forall p\geq 1.$$

Example 7.1.3.5

Suppose $(X_n)_{n\geq 1}$ a sequence of v.a’s such that

$$\mathbb{P}(X=0)=1-\displaystyle \frac{1}{n}$$

$$\mathbb{P}(X_n=1)=\displaystyle \frac{1}{2n}=\mathbb{P}(X_n=-1).$$

Show that $X_n\stackrel{P}{\rightarrow} 0$ and $X_n\stackrel{\mathcal{L}^p}{\rightarrow} 0,$ for all p≥1.

Firstly, we will show that $X_n\stackrel{P}{\rightarrow} 0.$ For this, given ε>0,

$$\mathbb{P}(|X_n-0|\geq \varepsilon)=\mathbb{P}(X_n=0;X=0)+\mathbb{P}(X_n=0;X=1)+\mathbb{P}(X_n=0;X=-1)=$$

Screenshot_255

Therefore $X_n\stackrel{\mathcal{L}^p}{\rightarrow} 0.$

Example 7.1.3.6

For $c\in\mathbb{R}$, constant, show that $X_n\stackrel{\mathcal{L}^2}{\rightarrow} c$ if, and only if, $\mathbb{E}[X_n]\rightarrow c$ and $Var[X_n]\rightarrow 0$.

Firstly, we assume that $X_n\stackrel{\mathcal{L}^2}{\rightarrow} c$.

$$\mathbb{E}\left[(X_n-c)^2\right]=\mathbb{E}\left[(X_n-\mathbb{E}[X_n]+\mathbb{E}[X_n]-c)^2\right]=$$

$$=\mathbb{E}\left[(X_n-\mathbb{E}[X_n])^2\right]+\mathbb{E}\left[(\mathbb{E}[X_n]-c)^2\right]-2\mathbb{E}\left[(X_n-\mathbb{E}[X_n])\right]\mathbb{E}\left[(\mathbb{E}[X_n]-c)\right]=$$

Screenshot_256

Therefore $X_n\stackrel{\mathcal{L}^2}{\rightarrow} c.$

Uniformly integrable and limited in $\mathcal{L}^1$

The main concern among the relations of stochastic convergence types is whether it is a necessary and sufficient condition. For this we will introduce the concept of Uniformly Integrable (UI) and limited in $\mathcal{L}^1.$ Next, we will present results and definitions to show that a necessary and sufficient condition for convergence on average p for X implies convergence in probability.

Definition 7.1.3.2

Screenshot_257

Note: (if you want to know more about the spaces $\mathcal{L}^p$ see content Space properties L^p)

We observe that $\mathbb{X}$ is limited in $\mathcal{L}^1$ if and only if $I_{\mathbb{X}}(1)< \infty.$

Definition 7.1.3.3

Screenshot_258

So, if $\mathbb{X}$ is limited in $\mathcal{L}^p$ for some p$\in(1,\infty)$ then $\mathbb{X}$ It’s U.I.

Lemma 7.1.3.1

Be $(\Omega,\mathcal{A},\mathbb{P})$ fixed probability space and X an integrable random variable and the set

Screenshot_259

which is a contradiction.

$\Box$

Screenshot_260

Next, we present another characterization of U.I.

Lemma 7.1.3.2

Be $\mathbb{X}$ a family of random variables. So $\mathbb{X}$ It’s U.I. if, and only if,

Screenshot_261

Therefore, $\mathbb{X}$ It’s U.I.

$\Box$

Now, we need a definition and a result that are of great importance to demonstrate the last result of this subject.

Definition 7.1.3.4

Screenshot_262

Theorem 7.1.3.5

Screenshot_263

Demo:

We will omit this demonstration, as we need functional analysis results.

$\Box$

Finally, we will prove the result that shows the necessary and sufficient condition for convergence on average p for X to imply convergence in probability.

Theorem 7.1.3.6

Be $(X_n)_{n\geq 1}$ a sequence of random variables and X random variable. We obtain the following equivalences:

Screenshot_264

Demo:

Screenshot_265

Initially, let’s state Fatou’s lemma.

Fatou’s motto

Consider $(X_n)_{n\geq 1}$ sequence of non-negative random variables. So by the Monotone Convergence Theorem we have $\mathbb{E}[\liminf Xn]\leq\liminf_n \mathbb{E}[X_n].$

Therefore, by Fatou’s lemma $\mathbb{E}[|X|]\leq\displaystyle\liminf_k \mathbb{E}[|X_{n_k}|]<\infty.$

Therefore, given ε > 0, there is a K < ∞ tal que para todo n ≥ 1, temos que

Screenshot_268

As we take an arbitrary ε > 0, we can conclude that (2)$\rightarrow$(1).

$\Box$

To conclude this section, we will present a diagram of the main results.

Convergencia3_0

Figure 7.1.3.1: Diagram of implications between types of convergence.

8.7.2 Law of Large Numbers

The law of large numbers was first proven by mathematician James Bernoulli in the fourth part of his book Ars Conjectandi published in 1713. As is the case in most cases, the proof given by Bernoulli is much more difficult than that performed with Chebyshev’s inequality. Chebyshev developed his inequality (a generalization of Markov inequality) to demonstrate a more general form of the Law of Large Numbers.

The law of large numbers is one of the main asymptotic laws of statistics, its idea is quite intuitive, but of great importance. Before we state this law, let’s try to analyze its intuitive idea.

For example, let X be a random variable that represents the toss of a fair coin, in which $X(cara)=1$ and $X(coroa)=0.$ If we toss this coin n times then we have that the arithmetic mean of the observed values tends to 1/2, that is, they tend to $\mathbb{E}[X].$ The law of large numbers tells us that the arithmetic mean of the observed values tends to the expectation of the random variable.

Another example is when we throw a balanced die, with the sides numbered from 1 to 6. The probability of getting the number 4 is $\dfrac{1}{6}=0,16666\dots,$ because the events are equiprobable. Let’s simulate the results on the computer as follows. First we roll the dice 100 times and note how many times face 4 appears in the results and finally we calculate the proportion of times face 4 appears. We repeat this for 1000 and 10000 launches. Thus, we obtain the following results:

Releases Side of the die equals 4 Face proportion equal to 4
100 11 0,11
1000 159 0,159
10000 1660 0,166

Note that the greater the number of die rolls, the closer the experimental result comes to the expected probability.

8.7.2.1 Weak Law of Large Numbers

Founded in the late 19th century, the Saint Petersburg school produced great Russian mathematicians with major contributions to the Law of Large Numbers. Chebyshev, influenced by great Russian mathematicians, published the important book Fundamentals of the mathematical theory of probability, which are part of the lines studied by Daniel Bernoulli and Euler in Saint Petersburg. Chebyshev was the first to reason systematically in terms of random variables and their moments. Chebyshev established a simple inequality that allowed a trivial proof of the Weak Law of Large Numbers.

Before we formally define and demonstrate the Weak Law of Large Numbers, we will need knowledge of convergence in probability and near certainty and some important inequalities, such as Markov and Chebyshev inequalities (for more details see the content of convergence of random variables).

The main difference between the weak law and the strong law of large numbers is that the first converges in probability and the second converges almost certainly. Convergence in probability is a weaker convergence than almost certain convergence, because if there is almost certain convergence there is convergence in probability. Let us see this through the following proposition.

Proposition 7.1.1.1

If a sequence of random variables $Y_n$ over a probability space $(\Omega , \mathcal{F} , \mathbb{P} )$ almost certainly converges to a random variable $Y $ then $Y_n \to Y$ in probability.

Demo:

Given $\varepsilon > \ 0 $ take $ S_m = ( Y_m : Y_m - Y > \varepsilon ) $ for everyone $m \in \mathbb{N} $.

How $Y_m \to Y $ almost certainly, we have

$\mathbb{P}(\limsup S_m ) \leq \limsup \mathbb{P}(S_m ) = 0 $ and $\mathbb{P}(S_m ) \ge 0$ for everyone $m \in \mathbb{N} $. So we have $\mathbb{P}(S_m ) \to 0$

$\Box$

Theorem 7.1.1.1 (Chebyshev’s Weak Law)

Be $X_i$ a countable sequence of independent random variables two by two. If the sequence $X_i$ has finite and uniformly limited variance, that is, there is a constant $c\in \mathbb{R}$ such that $\text{Var}[X_i]\leq c$. So the sequence $X_i$ satisfies the Weak Law of Large Numbers:

Screenshot_269

in which $\displaystyle S_n=\sum_{i=1}^{n}X_i$

Demo:

How $X_i$ are independent we have to $\text{Var}\left[S_n\right]=\displaystyle\sum_{i=1}^{n}\text{Var}[X_i]\leq nc,$ Therefore, the hypotheses of Chebyshev’s inequality are satisfied.

Therefore, we have to

$$\mathbb{P}\left[\left|\displaystyle S_n - \mathbb{E}\left[S_n\right]\right|\right]\geq \varepsilon n]\leq\displaystyle \dfrac{\text{Var}\left[S_n\right]}{\varepsilon^2 n^2}\leq\dfrac{c}{\varepsilon^2 n^2}\rightarrow 0,~~\text{quando} ~~ n\rightarrow \infty.$$

$\Box$

Theorem 7.1.1.1 (Khintchine’s Weak Law)

Be $X_i$ a countable sequence of independent and identically distributed random variables and integrable with mean $\mu.$ So $X_i,~i\in\mathbb{N}$ satisfy the Weak Law of Large Numbers:

$$\frac{S_n}{n}\stackrel{P}{\rightarrow}\mu$$

Demo:

In fact, as the $X_n$ are independent and identically distributed and using the characteristic function (for more details see the content Characteristic Function or Fourier Transform), we have that

$$\varphi_{S_n/n}(t)=\left(\varphi_{X_1}\left(\frac{t}{n}\right)\right)^n=\left(1+it\frac{\mu}{n}+r_1\left(\frac{t}{n}\right)\right)^n$$

in which $\frac{r_1(t)}{t}\stackrel{t\rightarrow 0}\longrightarrow0.$ From this, we obtain that

$$\varphi_{S_n/n}(t)\stackrel{n\rightarrow \infty}\longrightarrow e^{it\mu},\quad \forall ~t\in \mathbb{R}$$

By Lévy’s continuity theorem, we have

$$\frac{S_n}{n}\stackrel{\mathcal{D}}\rightarrow\mu$$

But how $\mu$ is constant, we have to

$$\frac{S_n}{n}\stackrel{P}\rightarrow\mu$$

$\Box$

Proposition 7.1.1.4

Be $X_1,\dots,X_n$ independent random variables with $E[X_i]=\mu$ and $\text{Var}(X_i)=\sigma^2$ for $i=1,2,\dots,n.$ So for everyone $\varepsilon> 0$ we have:

$$\mathbb{P}\left[\left|\frac{S_n}{n}-\mu\right|\geq \varepsilon \right]\leq \dfrac{\sigma^2}{n\varepsilon^2}$$

Demo:

Be $S_n=X_1+\dots+X_n,$ We apply Chebyshev’s inequality and we obtain that

$$\mathbb{P}\left[\left|\frac{S_n}{n}-\mu\right|\geq \varepsilon \right]\leq \dfrac{\text{Var}\left(\frac{S_n}{n}\right)}{\varepsilon^2}=\dfrac{\sigma^2}{n\varepsilon^2}$$

$\Box$

The first law of large numbers was proposed by Bernoulli in 1713 and is a particular case of Chebychev’s weak law, which is proposed as the proposition below.

Proposition 7.1.1.5 (Bernoulli’s Weak Law of Large Numbers)

Be $X_i$ a sequence of independent Bernoulli trials, with the same probability of success. So

$\displaystyle \frac{S_n}{n}\stackrel{P}\rightarrow p$

in which $S_n=\displaystyle\sum^n_{i=1}X_i$

Demo:

We can demonstrate this result in two ways. The first of them is enough to observe that $p=\mathbb{E}[X_i]$ and $\text{Var}[X_i]=p(1-p)$, and therefore the sequence $X_i$ has uniformly bounded variance. Thus, the hypotheses of the previous theorem are satisfied, which implies that:

$\displaystyle \frac{S_n-np}{n}=\frac{S_n}{n}-p\stackrel{P}\rightarrow 0$

i.e.

$\displaystyle \frac{S_n}{n}\stackrel{P}\rightarrow p.$

The other way to demonstrate this result would be using Chebychev’s inequality. Since the inequality hypotheses are satisfied, we have

$$\mathbb{P}[|\displaystyle S_n-\mathbb{E}[S_n]|\geq \varepsilon n]=\mathbb{P}[|S_n -np]|\geq \varepsilon n]\leq\displaystyle \frac{\text{Var}[S_n]}{\varepsilon^2 n^2}\leq\frac{p(1-p)}{\varepsilon^2 n^2}\rightarrow 0,$$

when $n\rightarrow \infty$, or equivalently $\displaystyle \frac{S_n}{n}\stackrel{P}\rightarrow p.$

$\Box$

To conclude this section, we will present some examples to establish the concepts presented.

Example 7.1.1.1

Be $X_i$ a sequence of random variables, show that if $\mathbb{E}[X_i]\rightarrow \alpha$ and $\text{Var}[X_i]\rightarrow 0$, then $X_n\stackrel{P}\rightarrow\alpha$.

How $\mathbb{E}[X_i]\rightarrow \alpha$ we have to for each $\varepsilon > 0$, there is $n_0$ such that $|\mathbb{E}[X_n]-\alpha|<\dfrac{\varepsilon}{2}$ for $n\geq n_0$.

Thus, for all $n\geq n_0$ we have to:

$$[|X_n-\alpha|> \varepsilon]\subseteq[|X_n-\mathbb{E}[X_n]|> \dfrac{\varepsilon}{2}],$$

because

$$\varepsilon < |X_n-\alpha|=|X_n-\mathbb{E}[X_n]+\mathbb{E}[X_n]-\alpha|\leq|X_n-\mathbb{E}[X_n]|+|\mathbb{E}[X_n]-\alpha|\leq|X_n-\mathbb{E}[X_n]|+\dfrac{\varepsilon}{2}$$

Then,

$$|X_n-\mathbb{E}[X_n]|+\dfrac{\varepsilon}{2}>\varepsilon\quad \rightarrow\quad |X_n-\mathbb{E}[X_n]|> \dfrac{\varepsilon}{2}$$

But by Chebyshev’s inequality for all $n\geq 1$.

$\mathbb{P}(|X_n-\mathbb{E}[X_n]|>\dfrac{\varepsilon}{2})\leq\displaystyle\dfrac{4}{\varepsilon^2}\text{Var}(X_n).$

Therefore for all $n\geq n_0,$

$\mathbb{P}(|X_n-\alpha|> \varepsilon)\leq \dfrac{4}{\varepsilon^2}\text{Var}[X_n],$

but how $\text{\text{Var}}[X_n]\rightarrow 0$, when $n\rightarrow \infty$, we conclude that $X_n \stackrel{P}\rightarrow \alpha$.

Example 7.1.1.2

Suppose that in a rubber factory the number of rubbers produced per day is a random variable $\mu=70$. Estimate the probability that daily production is greater than 210.

In this case, we just use Markov inequality, and we obtain the following result:

$\mathbb{P}(X\geq 210)\leq\displaystyle\dfrac{\mathbb{E}[X]}{210}=\frac{70}{210}=\dfrac{1}{3}.$

Example 7.1.1.3

If in the example above the variance of X is equal to 20, what is the probability that the day’s production is between 40 and 100 rubbers produced?

Using Chebyshev’s inequality, we obtain that:

$\mathbb{P}(|X-\mathbb{E}[X]|\geq 30)=\displaystyle\dfrac{\text{Var}[X]}{30^2}=\dfrac{20}{30^2}=\dfrac{1}{45}$

i.e.

$\mathbb{P}(X-\mathbb{E}[X]\leq 30)=1-\mathbb{P}(X-\mathbb{E}[X]\geq 30)=1-\displaystyle \dfrac{1}{45}=\dfrac{44}{45}\approx 0,977.$

Therefore, the probability that the day’s production is between 40 and 100 rubbers produced is approximately 97.7%.

Example 7.1.1.4

Screenshot_270

Therefore $\mathbb{P}[B_n]=\mathbb{P}[A_n]\rightarrow 0$

Example 7.1.1.5

A variable with zero variance is a deterministic value.

In fact, let X be a random variable with zero variance $\text{Var}(X)=0,$ By Chebyshev’s inequality we have

$$\mathbb{P}[|X-\mu|\geq k]\leq \dfrac{\text{Var}(X)}{k^2}\quad \rightarrow \quad \mathbb{P}[|X-\mu|>0]=0$$

Therefore, $X=\mu$ with probability 1, that is, it is deterministic.

Example 7.1.1.6

A candidate for mayor of the city of São Carlos would like to have an idea of how many votes he will receive in the next elections. For this, a survey was carried out with citizens, in which $p$ represents the proportion of votes of the candidate with $0\leq p< 1.$ How many people must be interviewed with 95% confidence for the value of $p$ was determined with an error of less than 5%, assuming that each person’s choices are independent.

Be $n$ the number of candidates, we denote $X_i, ~i=1,\dots,n$ the Bernoulli random variable that takes value 1, with probability p, if the ith person interviewed declares the intention to vote for the candidate. Assumes the value 0, with probability $1-p$ otherwise.

Note that $S_n=X_1+\dots+X_n\sim b(n,p)$ (for more details see binomial distribution). So, $\frac{S_n}{n}$ is an approximation of the value of $p$ which is unknown.

Therefore, from the statement, we want

$$\mathbb{P}\left[\left|\frac{S_n}{n}-p\right|\leq 0,05\right]\geq 0,95$$

From proposition 7.1.1.4 we have that

$$\mathbb{P}\left[\left|\frac{S_n}{n}-p\right|\geq 0,05\right]\leq \frac{p(1-p)}{n(0,05)^2}\leq \frac{1}{4n~(0,05)^2}, \quad\text{pois}~p(1-p)\leq \frac{1}{4}\quad (7.1.1.1)$$

The probability on the left side of (7.1.1.1) is complementary to the desired probability, that is, $1-0,95=0,05.$

Then,

$$\frac{1}{4n(0,05)^2}\leq 0,05\quad \rightarrow \quad n\geq 2000.$$

Therefore, we must interview at least 2000 people.

Example 7.1.1.7

$$\mathbb{P}(A_n)\rightarrow 0$$

which implies that

Screenshot_271

And the result follows

Example 7.1.1.8

Be $ X_1,X_2,\dots $ independent random variables with common distribution $ Poisson(\lambda) $. What is the probability limit of the sequence $ (Y_n)_{n\geq 1} $, in which

$$Y_n=\frac{X_1^2+\dots+X^2_n}{n}$$

We have to $ \mathbb{E}(X_1^2)=Var(X_1)+[\mathbb{E}(X_1)]^2=\lambda+\lambda^2=\lambda(\lambda+1) $. Now be $ Z_i=X^2_i, i=1,2,\dots $ random variable that will be independent by “hereditary property”, identically distributed and integrable. So, by Khintchine’s Weak Law

$$Y_n=\frac{X_1^2+\dots+X_n^2}{n}\stackrel{\mathbb{P}}{\rightarrow} \mathbb{E}(X_1^2)=\lambda(\lambda+1)$$

Example 7.1.1.9

Be $ (X_n)_{n\geq 1} $ a sequence of random variables. Prove that if $ \mathbb{E}(X_n)\rightarrow \alpha $.

Be $ \epsilon > 0 $ any and

$$A_n=[|X_n-\alpha|\geq \epsilon]=[|X_n-\mathbb{E}(X_n)+\mathbb{E}(X_n)-\alpha|\geq \epsilon]$$

$$B_n=[(|X_n-\mathbb{E}(X_n)|+|\mathbb{E}(X_n)-\alpha|)\geq \epsilon]$$

Now $ \omega \in A_n $ which implies that $ \omega \in B_n $ because

$$(|X_n-\mathbb{E}(X_n)|+|\mathbb{E}(X_n)-\alpha|)\geq |X_n-\alpha|\geq \epsilon$$

So $ A_n\subset B_n $ which implies that

$$\mathbb{P}(A_n)\leq \mathbb{P}(B_n)$$

However, through the classical Chebyshev-Bienayme inequality. We have

$$\mathbb{P}(A_n)\leq \mathbb{P}(B_n)=\mathbb{P}((|X_n-\mathbb{E}(X_n)|+|\mathbb{E}(X_n)-\alpha|)\geq \epsilon)$$

$$=\mathbb{P}((|X_n-\mathbb{E}(X_n)|)\geq \epsilon-|\mathbb{E}(X_n)-\alpha|)\leq \frac{Var(X_n)}{[\epsilon-|\mathbb{E}(X_n-\alpha)|]^2}\rightarrow 0$$

Example 7.1.1.10

Be $ X_1,X_2,\dots $ independent random variables such that $ X_1=0 $ and for $ j\geq 2 $, $ X_j $ is a discrete random variable satisfying

Screenshot_272

Prove that

$$\frac{\displaystyle \sum_{j=1}^n X_j}{n^\alpha}\stackrel{\mathbb{P}}{\longrightarrow} 0$$

when $ n\rightarrow \infty $, if $ \alpha > \frac{1}{2} $.

We have to because of symmetry $ \mathbb{E}(X_j)=0 $ for $ j=1,2,\dots $ and

$$Var(X_j)=2\sum_{k=1}^n k^3\frac{1}{j^3}=\frac{2}{j^3}\sum_{k=1}^n k^2=\frac{j(j+1)(2j+1)}{6j^3}=\frac{2j^2+3j+1}{3j^2}$$

$$=\frac{2}{3}+\frac{1}{j}+\frac{1}{3j^2}\leq 2$$

Now

$$Var\left(\sum_{j=1}^n X_j\right)=\sum_{j=1}^n Var X_j\leq 2n$$

Applying the Chebyshev-Bienayme inequality we have

$$\mathbb{P}\left(\bigg|\frac{\sum_{j=1}^n X_j}{n^\alpha}\bigg|\geq \epsilon \right)=\mathbb{P}\left(|\sum_{j=1}^n X_j|\geq n^{\alpha}\epsilon\right)$$

$$\leq \frac{Var\left(\sum_{j=1}^n X_j\right)}{n^{2\alpha}\epsilon^2}\leq \frac{2}{n^{2\alpha-1}\epsilon^2}\rightarrow 0$$

Example 7.1.1.11

Let S be a finite sequence of heads and tails. Show that if a coin that is not necessarily fair (with a probability of heads equal to p, $ 0< p< 1 $) is played independently an infinite number of times then S will come up infinitely many times in the obtained sequence, with probability 1.

We will have

$$\Omega=(W=(\omega_1,\omega_2,\dots),\quad no\quad qual\quad \omega_i=1 \quad ou\quad \omega_i=0,\quad todo\quad i)$$

Be $ S_k $ the finite sequence(of k elements) of heads and tails

$$S_k=(s_1,s_2,\dots,s_k)$$

in which $ s_i\in (0,1) $ and $ i=1,\dots,k $. Now, be the sequence of random events

$$A_1=(\text{a ocorrência da sequência} S_k\text{nos k primeiros ensaios})$$

\colorbox[rgb]{1,1,0}{Review}

$$A_2=(\text{a ocorrência da sequência} S_k\text{nos (k+1)2k primeiros ensaios})$$

$ \vdots $

$$A_n=(\text{a ocorrência da sequência} S_k\text{nos k primeiros ensaios})$$

i.e. $A_n=(\omega\in \Omega: \omega_{(n-1)k+i}=s_i, i=1,\dots,k)$ in which $ A_1,A_2,\dots $ are independent random events because the trials are independent, so we have

$$\mathbb{P}(A_n)=p^j(1-p)^{k-j}=q$$

in which $ S_k $ has $ j $ guys and $ k-j $ crowns. Now $ \sum_{n=1}^\infty \mathbb{P}(A_n)=\sum_{n=1}^\infty q=\infty $. How $ A_1,A_2,\dots $ are independent random events applying the Borel-Cantelli theorem, we have

$$\mathbb{P}(A_n,\quad i.o)=1$$

However, being $ \mathcal{S} $ the event “occurrence of S infinite times”, we have

$$\mathcal{S}\supset [A_n,\quad i.o.]$$

which implies that $ \mathbb{P}(\mathcal{S})\geq \mathbb{P}(A_n,\quad i.o)=1 $ which implies that $ \mathbb{P}(\mathcal{S})=1 $

Example 7.1.1.12

Be $ X_1,X_2,\dots $ independent random variables such that $ X_n $ has distribution $ U[0,a_n] $, in which $ a_n> 0 $. Show

(a) If $ a_n=n^2 $, then with probability 1, only a finite number of $ X_n $ takes values less than 1.

Be $ A_n=[X_n< 1] $. So $ A_1,A_2,\dots $ are independent random events because $ A_i $ it just depends on $ X_i $. And

$$\mathbb{P}(A_n)=\mathbb{P}([X_n< 1])=\frac{1}{n^2}, \quad n=1,2,\dots$$

So,

$$\sum_{n=1}^\infty \mathbb{P}(A_n)=\sum_{n=1}^\infty \frac{1}{n^2}< \infty$$

which implies by Borel-Cantelli that

$$\mathbb{P}(A_n,\quad i.o)=0$$

which implies that $ \mathbb{P}(A_n,\quad f.o.)=1 $.

(b) If $ a_n=n, $ then with probability 1, an infinite number of $ X_n $ takes values less than 1.

So,

$$\sum_{n=1}^\infty \mathbb{P}(A_n)=\mathbb{P}([X_n< 1])=\frac{1}{n}=\infty$$

by Borel-Cantelli and by $ A_n $ be independent, this implies that

$$\mathbb{P}(A_n,\quad i.o)=1$$

Example 7.1.1.13

Be $ X_1, X_2,\dots $ independent random variables such that $ \mathbb{P}(X_n=1)=1/n, \mathbb{P}(X_n=0)=1-1/n $. Show that $ X_n\stackrel{\mathbb{P}}{\rightarrow}0 $ but $ \mathbb{P}(X_n\rightarrow 0)=0. $

For all $ \epsilon> 0, $

$$\mathbb{P}(|X_n|\geq \epsilon)\leq \mathbb{P}(X_n=1)=\frac{1}{n}\stackrel{n\rightarrow\infty}{\longrightarrow} 0$$

Be $ A_n=[X_n\neq 0] $, then $ A_1,A_2,\dots $ are independent because $ A_i $ depends on $ X_i $. So,

$$\mathbb{P}(A_n)=\mathbb{P}([X_n\neq 0])=\mathbb{P}(X_n=1)=\frac{1}{n}.$$

Now,

$$\sum_{n=1}^\infty \mathbb{P}(A_n)=\sum_{n=1}^\infty \frac{1}{n}=\infty$$

by Borel-Cantelli we have to $ \mathbb{P}(A_n,\quad i.o.)=1 $. So, an infinite number of $ X_i $ are non-zero. So,

$$\mathbb{P}(\omega\in \Omega: X_n(\omega)\nrightarrow 0)=1$$

which implies that

$$\mathbb{P}(\omega\in\Omega:X_n(\omega)\rightarrow 0)=0$$

Example 7.1.1.14

Be $ X_1,X_2, \dots $ independent and identically distributed random variables with exponential distribution of parameter 1. Show that

$$\displaystyle \mathbb{P}\left(\frac{X_n}{\ln(n)}> 1 \text{infinitas}\quad \text{vezes}\right)=1$$

but

$$\displaystyle \mathbb{P}\left(\frac{X_n}{\ln(n)}> 2 \text{infinitas}\quad \text{vezes}\right)=0$$

Firstly, we will show that

$$\displaystyle \mathbb{P}\left(\frac{X_n}{\ln(n)}> 1 \text{infinitas}\quad \text{vezes}\right)=1$$

Be $ A_n=\left[\frac{X_n}{\ln{(n)}}> 1\right] $ which implies that $ A_1, A_2, \dots $ are independent because $ A_i $ it just depends on $ X_i $ which are independent random variables. Now,

$$\mathbb{P}(A_n)=\mathbb{P}\left(\left[\frac{X_n}{\ln(n)> 1}\right]\right)=\mathbb{P}(X_n> \ln(n))=e^{-\ln(n)}=\frac{1}{n}$$

so by the Borel-Cantelli lemma we have that

$$\displaystyle \sum_{n=1}^\infty \mathbb{P}(A_n)=\sum_{n=1}^\infty \frac{1}{n}=\infty$$

which implies that $ \mathbb{P}(A_n,\quad i.o.)=1 $.

Now we will show that

$$\displaystyle \mathbb{P}\left(\frac{X_n}{\ln(n)}> 2 \text{infinitas}\quad \text{vezes}\right)=0$$

Similarly, be $ B_n=\left[\frac{X_n}{\ln{n}}> 2\right] $, again we have to $ B_i $ are independent. Now

$$\mathbb{P}(B_n)=\mathbb{P}\left(\frac{X_n}{\ln(n)}> 2\right)=\mathbb{P}(X_n> 2\ln(n))=e^{-2\ln(n)}=\frac{1}{n^2}$$

So

$$\sum_{n=1}^\infty\mathbb{P}(B_n)=\sum_{n=1}^\infty \frac{1}{n^2}< \infty$$

By the Borel-Cantelli theorem we have that $ \mathbb{P}(B_n,\quad i.o)=0 $. And the result follows.

Example 7.1.1.15

Be $ X_1,X_2, \dots $ random variables such that

$$\mathbb{P}(X_n=0)=1-\frac{1}{n^2},\mathbb{P}(X_n=n^2)=\frac{1}{n^2}$$

for $ n=1,2,\dots $. Demonstrate that $ X_n $ converges almost certainly (find the limit $ \mathbb{E}(X^m_n)\nrightarrow \mathbb{E}(X^m) $ when $ n\rightarrow \infty $, for all $ m=1,2,\dots $.

We will show that $ X_n\rightarrow 0 $ q.c.

Be $ A_n=[X_n\neq 0] $ which implies that $ \mathbb{P}(A_n)=\mathbb{P}(X_n\neq 0)=1-\mathbb{P}(X_n=0)=\frac{1}{n^2} $ then

$$\sum_{n=1}^\infty \mathbb{P}(A_n)=\sum_{n=1}^\infty \frac{1}{n^2}< \infty$$

which implies that $ \mathbb{P}(A_n,\quad i.o.)=0 $ which implies that

$$\mathbb{P}(X_n\neq 0\quad\text{um número finito de vezes})=1$$

which implies that $ \mathbb{P}(X_n\rightarrow 0)=1 $ which implies that $ X_n\stackrel{q.c.}{\rightarrow}0 $

Now we will show that

$$\mathbb{E}(X_n^m)\nrightarrow \mathbb{E}(X^m)$$

We have to

$$\mathbb{P}(X_n^m=0)=\mathbb{P}(X_n=0)=1-\frac{1}{n^2}$$

Furthermore,

$$\mathbb{P}(X_n^m=n^{2m})=\mathbb{P}(X_n=n^2)=\frac{1}{n^2}$$

So,

$$\mathbb{E}(X_n^m)=n^{2m}\frac{1}{n^2}=n^{2(m-1)}$$

and yet

$$\mathbb{E}(X^m)=\mathbb{E}(0)=0$$

Screenshot_273

Example 7.1.1.16

Be $ X_1,X_2, \dots $ random variables

(a) Show: if $ \sum_{n=1}^\infty \mathbb{P}(|X_n|> n)< \infty $, then

$$\limsup_{n\rightarrow \infty} \frac{|X_n|}{n}\leq 1$$

almost certainly.

Note that

$$\sum_{n=1}^\infty \mathbb{P}(|X_n|> n)=\sum_{n=1}^\infty \mathbb{P}\left(\frac{|X_n|}{n}> 1\right)< \infty$$

Be $ A_n=\left[\frac{|X_n|}{n}> 1\right] $ then by the Borel-Cantelli lemma we have

$$\mathbb{P}(A_n,\quad i.o)=0$$

which implies that

$$\mathbb{P}\left(\frac{|X_n|}{n}> 1,\quad \text{finita vezes}\right)=1$$

which implies that

$$\mathbb{P}\left(\omega:\frac{|X_n(\omega)|}{n}> 1,\quad \text{finita vezes}\right)=1$$

which implies that

$$\frac{|X_n(\omega)|}{n}> 1$$

finite times, implies that

$$\frac{|X_n(\omega)|}{n}\leq 1$$

for n large enough, which implies that

$$\liminf_{n\rightarrow \infty}\frac{|X_n(\omega)|}{n}\leq 1$$

Then define \frac{|X_n(\omega)|}{n}> 1,\quad \text{finite times}) $ e \limsup_{n\rightarrow \infty}\frac{|X_n(\omega)|}{n}\leq 1) $. So, $ A\subset B $ and therefore

$$\mathbb{P}(B)\geq \mathbb{P}(A)=1.$$

(b) If the $ X_n $ are identically distributed and integrable, demonstrate that

$$\limsup_{n\rightarrow \infty }\frac{|X_n|}{n}\leq 1$$

almost certainly.

Note that,

$$\sum_{n=1}^\infty \mathbb{P}(|X_n|> n)=\sum_{n=1}^\infty \mathbb{P}(|X_1|> n)$$

$$=\sum_{n=0}^\infty \mathbb{P}(|X_1|> n)-\mathbb{P}(|X_1|> 0)=\sum_{n=0}^\infty \mathbb{P}(|X_1|> n)-1$$

Now, how $ X_1 $ is integrable, we have by the criterion of integrability that

$$\sum_{n=0}^\infty \mathbb{P}(|X_1|\geq n)=\sum_{n=0}^\infty \mathbb{P}(|X_1|> n)< \infty$$

then

$$\sum_{n=1}^\infty \mathbb{P}(|X_n|> n)< \infty$$

which implies that $ \mathbb{P}(B)=1 $.

Example 7.1.1.17

Be $ X_1,X_2,\dots $ independent and identically distributed random variables such that $ X_1\sim U[0,1] $. Prove that $ n^{-X_n}\rightarrow 0 $ in probability, but $ n^{-X_n} $ does not almost certainly converge to 0.

(a)

$$\mathbb{P}(n^{-X_n}\geq \epsilon)=\mathbb{P}(-X_n\ln(x)\geq \ln(\epsilon))=\mathbb{P}(X_1\ln(n)\geq \ln(\epsilon))$$

Screenshot_274

so, any $ \epsilon > 0 $,

$$\mathbb{P}(n^{-X_n}\geq \epsilon)\leq \frac{\ln(\epsilon)}{\ln(n)}\stackrel{\longrightarrow}{n\rightarrow \infty} 0.$$

(b) Let the events be: $ A_n=[n^{-X_n}\neq 0] $ then $ A_1,A_2,\dots $ independent events and

$$\mathbb{P}(A_n)=\mathbb{P}(n^{-X_n}\neq 0)=\mathbb{P}(n^{-X_1}\neq 0)$$

$$=\left(1,\quad n=1\ \mathbb{P}(-X_1\neq 0)=\mathbb{P}(X_1\neq 0)=1,\quad n> 1\right.$$

So $ \mathbb{P}(A_n)=1 $, for any n. So,

$$\sum_{n=1}^\infty \mathbb{P}(A_n)=\sum_{n=1}^\infty 1=\infty$$

Now, how $ A_1,A_2, \dots $ are independent, which is implied by the Borel-Cantelli Lemma

$$\mathbb{P}(A_n,\quad i.o)=1$$

which implies that

$$\mathbb{P}(\omega: n^{-X_n(\omega)}\neq 0,\quad i.o.)=1\Rightarrow \mathbb{P}(\omega:n^{-X_n(\omega)}\nrightarrow 0)=1$$

$$\Rightarrow \mathbb{P}\left(\omega:n^{-X_n(\omega)}\rightarrow 0\right)=0\Rightarrow n^{-X_n}\nrightarrow 0$$

Example 7.1.1.18

Screenshot_275

a) We will initially prove that for each n there is $ b_n $ such that

$$\mathbb{P}(|X_n|> \frac{b_n}{n})< \frac{1}{n^2}$$

To do this, we will fix a certain n, and let $ (Y_m^n)_{m\geq 1} $ a sequence of real numbers where

$$Y_m^n=\mathbb{P}\left(|X_n|> \frac{m}{n}\right)$$

We have to

$$\lim_{m\rightarrow \infty} Y_m^n=\lim_{m\rightarrow \infty}\left[\mathbb{P}\left(\frac{m^-}{n}\right)-1+\mathbb{P}\left(\frac{m}{n}\right)\right] = 0-1+1=0$$

So given $ \epsilon> 0 $ exists $ m_0(\epsilon)\in \mathbb{N} $ such that $ m\geq m_0 $ which implies that

$$\bigg|\mathbb{P}\left(|X_n|> \frac{m}{m_0}\right)\bigg|< \frac{1}{\epsilon}.$$

Take in $ \epsilon=\frac{1}{n^2} $ and let’s take $ b_n=m_0\left(\frac{1}{n^2}\right) $ then

$$\mathbb{P}\left(|X_n|> \frac{b_n}{n}\right)< \frac{1}{n^2}$$

Repeating the procedure described above we obtain all $ b_n\in \mathbb{N}^\star \subset \mathbb{R}^+_\star $.

b) Now we have doing $ \epsilon > 0 $ and

$$A_n=\left[\bigg|\frac{X_n}{b_n}\bigg|> \epsilon\right]$$

which implies that there is $ n_0(\epsilon) $, such that $ n> n_0 $ which implies that

$ \frac{1}{n}< \epsilon $ and $ n> n_0 $.

$$\omega\in \left[\bigg|\frac{X_n}{b_n}\bigg|> \frac{1}{n}\right]$$

which implies that

$$\mathbb{P}(A_n)\leq \mathbb{P}\left(\bigg|\frac{X_n}{b_n}\bigg|> \frac{1}{n}\right)$$

So,

$$\sum_{n=1}^\infty \mathbb{P}(A_n)=\sum_{n=1}^\infty \mathbb{P}(A_n)+ \sum_{n> n_0} \mathbb{P}(A_n)$$

$$\leq n_0+\sum_{n> n_0}\mathbb{P}\left(\bigg|\frac{X_n}{b_n}\bigg|> \frac{1}{n}\right)\leq n_0+ \sum_{n> n_0}\frac{1}{n^2}< \infty$$

So, by the Borel-Cantelli Lemma.

$$\mathbb{P}(A_n,\quad i.o.)=0$$

which implies that for any $ \epsilon> 0 $ we have

$$\mathbb{P}\left(\omega:\bigg|\frac{X_n(\omega)}{b_n}\bigg|> \epsilon,i.o.\right)=0$$

which implies that

$$\mathbb{P}\left(\omega:\bigg|\frac{X_n(\omega)}{b_n}\bigg|\leq \epsilon, \quad n \text{suficientemente grande}\right)=1$$

which implies that

$$\mathbb{P}\left(\omega:\bigg|\frac{X_n(\omega)}{b_n}\bigg|\rightarrow 0\right)=1$$

then

$$\frac{X_n}{b_n}\rightarrow 0.$$

In the next section, we will study the Strong Law of Large Numbers.

8.7.2.2 Strong Law of Large Numbers

After studying the Weak Law of Large Numbers, we will now study the Strong Law of Large Numbers. The main difference from the Weak Law is that instead of convergence in probability, we have almost certain convergence as stated in the previous section. The details of these two types of convergence have been extensively discussed in the Convergences in Probability and Almost Certainty section. Next, we present the main results for the Strong Law of Large Numbers.

Theorem 7.1.2.1

Be $ (X_i)_{i\geq 1} $ a sequence of independent and identically distributed random variables. Se $ \mathbb{E}[|X_1|]=\infty $, then with probability 1, the sequence

$ \displaystyle \frac{|S_n|}{n} = \frac{|X_1 + \cdots + X_n|}{n}, $

is not limited.

Demo:

We know that $ \mathbb{E}[|X_1|]=\infty $, so as a consequence we have $ \displaystyle \mathbb{E}\left[\frac{|X_1|}{k}\right]=\frac{\mathbb{E}[|X_1|]}{k}=\infty $.

So let us first show that $ \displaystyle\sum_{n=1}^{\infty}\mathbb{P}(|X|\geq n)\leq \mathbb{E}[|X|]\leq 1+\displaystyle\sum_{n=1}^{\infty}\mathbb{P}(|X|\geq n) $, for any random variable X.

In fact, if $ x\geq 0 $, be it $ [x] $ the largest integer less than or equal to $ x $. Then the random variable $ [|X|] $ takes on value k when $ k\leq |X|< k+1 $ and therefore

$$0\leq [|X|]\leq |X|\leq [|X|]+1,$$

Thus, due to the linearity and monotonicity of hope, we have that:

$$0\leq \mathbb{E}([|X|])\leq \mathbb{E}[|X|]\leq \mathbb{E}([|X|])+1,$$

How [|X|] is a random variable that takes only integer values, we have

$$\mathbb{E}([|X|])=1-F_X[0]+1-F_X[1]+1-F_X[2]\cdots=\displaystyle \sum_{n=0}^{\infty}1-F[n]=\sum_{n=0}^{\infty}\mathbb{P}[X> n].$$

In this way we have to $ \mathbb{E}([|X|])=\displaystyle\sum_{n=0}^{\infty}\mathbb{P}[[|X|]\geq n]=\sum_{n=0}^{\infty}\mathbb{P}[|X|\geq n] $. Logo

$$\sum_{n=0}^{\infty}\mathbb{P}[|X|> n]\leq \mathbb{E}|X|\leq 1+\sum_{n=0}^{\infty}\mathbb{P}[|X|> n].$$

So $ \displaystyle\sum_{n=0}^{\infty}\mathbb{P}\left[\frac{|X_1|}{k}> n\right]=\infty $ for any $ k\in \mathbb{N} $. How do variables $ X_n $ are identically distributed we have that:

$$\displaystyle\sum_{n=0}^{\infty}\mathbb{P}\left[\frac{|X_1|}{k}> n\right]=\displaystyle\sum_{n=0}^{\infty}\mathbb{P}\left[\frac{|X_n|}{k}> n\right]=\displaystyle\sum_{n=0}^{\infty}\mathbb{P}\left[\frac{|X_n|}{n}> k\right].$$

How do the $ X_n $ are independent, the events $ A_n=\left[\frac{|X_n|}{n}\geq k\right] $ are independent, thus using Borel Cantelli’s lemma

$$\mathbb{P}\left(\limsup \displaystyle\frac{|X_n|}{n}\geq k\right)=1.$$

Be $ B_k=\left[\limsup \displaystyle \frac{|X_n|}{n}\geq k\right] $, we then have

$$\mathbb{P}\left(\displaystyle \bigcap_{k=1}^{\infty}B_k\right)=1,$$

because the intersection of a countable number of events of probability 1 also has probability 1, as demonstrated in Property 12. But the event $ \displaystyle \bigcap_{k=1}^{\infty}B_k $ is the event “the $ \displaystyle\frac{|X_n|}{n}\geq k $ is unlimited.” So we just need to prove that if $ \displaystyle\frac{|X_n|}{n} $ is unlimited, so $ \displaystyle \frac{|S_n|}{n} $ is also unlimited. Now, with $ S_0=0 $, we have

$$\displaystyle\frac{|X_n|}{n}=\frac{|S_n-S_{n-1}|}{n}\leq \frac{|S_n|}{n}+\frac{|S_{n-1}|}{n},$$

for $ n \in \mathbb{N} $. Therefore, if $ \frac{X_n}{n} $ is unlimited, so $ \frac{|S_n|}{n} $ is unlimited or $ \frac{|S_{n-1}|}{n} $. But if $ n\geq 2 $, we have to

$$\frac{|S_{n-1}|}{n}=\frac{|S_{n-1}|}{n-1} \frac{n-1}{n}$$

and $ \frac{1}{2}\leq \frac{n-1}{n}< 1 $, so that $ \frac{|S_{n-1}|}{n} $ is unlimited if and only if$ \frac{|S_n|}{n} $ it is too, because $ \frac{|S_{n-1}|}{n-1} $ and $ \frac{S_n}{n} $ form the same sequence.

$ \Box $

Theorem 7.1.2.2

Be $ X_i $ a sequence of independent random variables such that $ \mathbb{E}[X_n]=0 $ and the $ \text{Var}[X_n]\leq \infty $. So for everyone $ \lambda> 0 $,

$ \mathbb{P}\left[\displaystyle\max_{1\leq k \leq n}|\sum_{i=1}^{k}X_i|\geq \lambda\right]\leq \displaystyle \sum_{k=1}^{n}\frac{\text{Var}[X_k]}{\lambda^2}. $

Demo:

To facilitate notation, $ S_n=\displaystyle\sum_{i=1}^{n}X_i $. Let us note that:

Screenshot_291

But this implies that:

$$\mathbb{P}(|S_n|\geq \lambda)\leq \displaystyle \frac{1}{\lambda^2}\mathbb{E}[S_n^2]=\frac{\text{Var}[S_n]}{\lambda^2}.$$

Our goal is to find a higher quota for $ \mathbb{P}\left[\displaystyle \max_{1\leq k\leq n}S_k^2\geq \lambda^2\right] $, for this we consider $ A=\left(\displaystyle\max_{1\leq k\leq n}S_k^2\geq \lambda^2\right) $.

Let’s decompose A as follows:

$$A_1=[S_1^2\geq \lambda^2]$$

$$A_2=[S_1^2< \lambda^2,S_2^2\geq \lambda^2]$$

$$A_k=[S_1^2< \lambda^2,S_2^2< \lambda^2,\cdots,S_{k-1}< \lambda^2,S_k^2\geq \lambda^2]$$

Note that the $ A_k $ are disjoint 2 to 2 and $ A=\displaystyle\bigcup_{k=1}^{n}A_k $:

Screenshot_292

We conclude that

$$\mathbb{E}[S_n^2]\geq \displaystyle \sum_{k=1}^{n}\lambda^2\mathbb{P}[A_k]=\lambda^2\mathbb{P}[A]$$

So

$$\mathbb{P}(A)\leq \displaystyle \frac{\mathbb{E}[S_n^2]}{\lambda^2}=\frac{\text{Var}[S_n]}{\lambda^2}.$$

$ \Box $

Theorem 7.1.2.3 (Kolmogorov’s Strong First Law)

Be $ (X_i)_{i\geq 1} $ a sequence of independent and integrable random variables, and suppose that:

$ \displaystyle \sum_{i=1}^{\infty}\frac{\text{Var}[X_i]}{i^2}< \infty,\quad (7.1.2.1) $ (Kolmogorov condition)

then

$ \displaystyle\sum^n_{i=1}\frac{X_i -\mathbb{E}[X_i]}{n}\rightarrow 0, ~~ \text{quase certamente}. $

Demo:

Let’s redefine our sequence of random variables so that hope is zero. For this, let $ Y_i=X_i-\mathbb{E}[X_i] $, so $ \mathbb{E}[Y_i]=0 $ and $ \text{Var}[Y_i]=\text{Var}[X_i] $, by P1 of the variance.

In this way we want to show that

$ \displaystyle\sum_{i=1}^{\infty}\frac{Y_i}{n}\rightarrow 0, ~~ \text{quase certamente}. $

It is worth noting that it is equivalent to showing that

$ \displaystyle \max_{2^n< k< 2^{n+1}}\frac{|S_k|}{k}\rightarrow 0,~~ \text{quase certamente}, $

when $ n\rightarrow \infty, $ in which $ S_k=\displaystyle\sum^k_{i=1}Y_i. $

Now, for each fixed m, we have

$ \mathbb{P}\left(\displaystyle \max_{2^n< k< 2^{n+1}}\frac{|S_k|}{k}\geq \frac{1}{m}\right)\leq \mathbb{P}\left(\displaystyle \max_{2^n< k< 2^{n+1}}\frac{|S_k|}{k}\geq \frac{2^n}{m}\right)\leq \mathbb{P}\left(\displaystyle \max_{1< k < 2^{n+1}}\frac{|S_k|}{k}\geq \frac{2^n}{m}\right) $

$ \leq \displaystyle\frac{m^2}{4^n}\displaystyle\sum^{2^{n+1}}_{k=1}\text{Var}(Y_k), $

Let us note that the last inequality is valid by Theorem 7.1.2.2. In this way we have

$$\displaystyle \sum_{n=1}^{\infty}\mathbb{P}\left(\max_{2^n< k\leq 2^{n+1}}\frac{S_k}{k}\geq \frac{1}{m}\right)\leq m^2 \displaystyle\sum_{n=1}^{\infty}\left(\frac{1}{4^n}\sum_{k=1}^{2^{n+1}}\text{Var} (Y_k)\right)=m^2\displaystyle\sum_{k=1}^{\infty}\displaystyle~\sum_{n:2^{n+1}\geq k}\left(\frac{\text{Var}(Y_k)}{4^n}\right)$$

$$=m^2\displaystyle\sum_{k=1}^{\infty}\left(\text{Var}(Y_k)\displaystyle\sum_{n:2^{n+1}\geq k}^{\infty}\frac{1}{4^n}\right)$$

Please note that

$\displaystyle\sum_{n:2^{n+1}\geq k}\frac{1}{4^n}< \frac{16}{3k^2},$

Therefore

$ \displaystyle \sum_{n=1}^{\infty} \mathbb{P}\left(\max_{2^{n}< k < 2^{n+1}}\displaystyle\frac{S_k}{k}\right)\leq \frac{(4m)^2}{3}\sum_{k=1}^{\infty}\frac{\text{Var}(Y_k)}{k^2}< \infty. $

So using Borel Cantelli’s lemma we have

$ \displaystyle\mathbb{P}\left(\limsup_{n\rightarrow \infty}A_n\right)=0, $

in which $ A_n=\left[\displaystyle \max_{2^n< k \leq 2^{n+1}}\frac{S_k}{k}\geq\frac{1}{m}\right]. $

Then, $ \mathbb{P}(\displaystyle\liminf_{n\rightarrow \infty}A_n)=1 $, because if $ \mathbb{P}\left(\limsup A_n\right)=0 $ we have that for each m fixed the probability that $ \displaystyle \max_{2^n< k< 2^{n+1}}\frac{S_k}{k} $ assume a value greater than $ \frac{1}{m} $ is 0.

Thus the probability that $ \displaystyle \max_{2^n< k< 2^{n+1}}\frac{|S_k|}{k} $ assume a value greater than zero a finite number of times it is 1. Therefore,

Screenshot_280

must occur for all n from an index, that is, we have

$ \forall m, 0\leq\displaystyle \max_{2^n< k< 2^{n+1}}\frac{|S_k|}{k} < \frac{1}{m} $ for all n from an index.

Therefore we conclude that $ \displaystyle \max_{2^n< k< 2^{n+1}}\frac{|S_k|}{k}\rightarrow 0 $ almost certainly.

$ \Box $

An important observation is that the Kolmogorov condition (7.1.2.1) is sufficient, but not necessary for the strong law of large numbers. We can construct examples such that $ \displaystyle \sum_{i=1}^{\infty}\frac{\text{Var}[X_i]}{i^2}= \infty $ and that satisfy the law of large numbers.

Example 7.1.2.1

Infinite expected value implies infinite variance.

In fact, be it $ X $ a random variable such that $ \mathbb{E}[X]=\infty. $

By definition, we have to $ \text{Var}(X)=\mathbb{E}[X^2]-\mathbb{E}^2[X]. $

But, $ \mathbb{E}[X]=\infty $ and $ \mathbb{E}[X^2]\geq\mathbb{E}^2[X]. $

Therefore, $ \text{Var}(X)=\infty $

In particular, random variables with infinite expected value do not satisfy the Kolmogorov condition and consequently there is no guarantee that they comply with the law of large numbers.

Proposition 7.1.2.2

Let X be a random variable and let F be its cumulative distribution function. So,

aa74bc00baa0130f6d476e28b32ebd25f8e9250b

Demo:

Let’s remember the following fact, which we will use to demonstrate this proposition.

$ \displaystyle \sum_{n=j}^{n^2}< \frac{2}{j} $

How

$ \displaystyle\int_{-n}^{n}x^2dF(x)=\sum_{j=-n+1}^{n}\int_{j-1}^{j}x^2dF(x) $

So we have to:

d817cc7098458a31cc7d58f9fddf5f2110bef181

54a2aba64326a00b21de40451d06dab5d193cdda

How $ \frac{x^2}{j}\leq x $ in $ (j-1,j] $, $ j< 1 $, and $ \frac{x^2}{|j|+1}\leq |x| $ in $ (j-1,j] $, for j\leq 0, we have

2d69dd59fc7ed0e95aaaeb501b667210f3a48d1a

$ \Box $

Theorem 7.1.2.4 (Kolmogorov’s Strong Law)

Be $ X_i $ a sequence of independent and identically distributed random variables with $ \mathbb{E}[X_i]=\mu < \infty $. So

$ \displaystyle \sum_{i=1}^{n}\frac{X_i}{n}\rightarrow \mu, {quase certamente}. $

Demo:

It is worth noting at this point that we only need to show $ \mu=0 $, because in the general case where $ \mu\neq 0 $ we make a change of variable, using $ G_n=X_n-\mu. $ In this case the random variables $ G_n $ will be independent and identically distributed with $ \mathbb{E}[G_n]=0 $.

Be $ Y_n $ defined as follows.

ca4aa92aaa195d68d4f78524a4a8a5058b0da1fc

And be $ Z_n=X_n-Y_n\quad\Rightarrow\quad X_n=Y_n+Z_n $

$$\frac{X_1+\cdots+X_n}{n}=\frac{Y_1+\cdots+Y_n}{n}+\frac{Z_1+\cdots+Z_n}{n}$$

We will divide the proof of this theorem into three parts.

First we show that $ \displaystyle\frac{Z_1+\cdots+Z_n}{n}\rightarrow 0 $ almost certainly.

We observe that $ Z_n\neq 0\Leftrightarrow Y_n\neq X_n\rightarrow X_n \notin (-n,n] $.

So,

$$\mathbb{P}(Z_n\neq 0)=\mathbb{P}(X_n\notin (-n,n])< \mathbb{P}(|X_n|> n).$$

But the events $ A_n=[Z_n\neq 0] $ satisfy

$$\displaystyle\sum_{n=1}^{\infty}\mathbb{P}(A_n)\leq \sum_{n=1}^{\infty}\mathbb{P}(|X_n|\geq n)$$

Let us note that if the $ X_i $ are identically distributed, then we have:

$$\sum_{n=1}^{\infty}\mathbb{P}(|X_n|\geq n)=\sum_{n=1}^{\infty}\mathbb{P}(|X_1|\geq n)< \infty,$$

in which the last passage is a consequence of the integrability of $ X_1 $.

Thus, from the Borel-Cantelli lemma it follows that $ \mathbb{P}(\displaystyle\limsup_{n\rightarrow \infty}A_n)=0 $, which implies that:

$$\mathbb{P}(\displaystyle\limsup_{n\rightarrow \infty}Z_n\neq 0)=0$$

That is,

$$\mathbb{P}(\displaystyle\liminf_{n\rightarrow \infty}A_n)=1\quad\Rightarrow\quad \mathbb{P}(Z_m=0)=1$$

with $ m> n $ for some large enough n, that is, $ Z_n\rightarrow 0 $ and yet

$$\displaystyle\frac{Z_1+\cdots+Z_n}{n}\rightarrow 0\quad\Rightarrow\quad \mathbb{P}\left(\frac{Z_1+\cdots+Z_n}{n}\rightarrow 0\right)=1$$

Logo $ \displaystyle\frac{Z_1+\cdots+Z_n}{n}\rightarrow 0 $ almost certainly.

We now show that $ \displaystyle \frac{Y_1+\cdots+Y_n}{n}-\frac{\mathbb{E}[Y_1]+\cdots+\mathbb{E}[Y_n]}{n}\rightarrow 0 $ almost certainly.

As per hypothesis $ X_i $ are identically distributed, then we have $ F_{X_1}=\cdots=F_{X_n} $.

Let us note that

Screenshot_288

Screenshot_293

Then the theorem follows, since

$ A=\displaystyle\left[\frac{Z_1+\cdots+Z_n}{n}\rightarrow 0\right] $ and $ B=\displaystyle\left[\frac{Y_1+\cdots+Y_n}{n}-\frac{\mathbb{E}[Y_1]+\cdots+\mathbb{E}[Y_n]}{n}\rightarrow 0\right] $.

Therefore $ \displaystyle \frac{X_1+\cdots+X_n}{n}\rightarrow 0 $ almost certainly and in the most general case:

$ \displaystyle\frac{X_1+\cdots+X_n}{n}\rightarrow \mu,\quad\text{quase certamente} $

$ \Box $

Theorem 7.1.2.5 (Cantelli)

Be $ (X_i)_{i\in\mathbb{N}} $ a sequence of random variables with finite fourth moment, and let

$$E[|X_n-E[X_n]|^4]\leq C$$

with $ C\in \mathbb{R} $. So when $ n\rightarrow \infty $

$$\frac{S_n-E[S_n]}{n}\stackrel{q.c}{\rightarrow} 0 $$

Demo:

Without loss of generality we can assume that $ \mathbb{E}[X_n]=0 $, because if it is not, we redefine $ X_n=X_n-\mathbb{E}[X_n] $. So to show that $ \dfrac{S_n}{n}\rightarrow 0 $ It is almost certainly enough to show that

$$\displaystyle \sum^\infty_{n=1} \mathbb{P}\left(\left|\dfrac{S_n}{n}\right|\geq \epsilon\right)< \infty,~~~\forall \epsilon > 0$$

Using Chebyshev’s inequality, we simply show that

$$\displaystyle \sum^\infty_{n=1} \mathbb{E}\left(\left|\dfrac{S_n}{n}\right|^4\right)< \infty.$$

Note that $ S_n=(X_1+\cdots X_n)^4 $, then

be041f476be659bf826eb37b087f9af8f3103138

Logo

$$\mathbb{E}\left[\left(\frac{S_n}{n}\right)^4\right]< 3\frac{C}{n^2}$$

So

$$\sum^\infty_{n=1} \mathbb{E}\left[\left(\frac{S_n}{n}\right)^4\right]< 3C \sum^\infty_{n=1} \frac{1}{n^2}< \infty$$

And so, the result follows.

$ \Box $

Theorem 7.1.2.6 (Kolmogorov)

Screenshot_289

$$\displaystyle \sum^\infty_{n=1} \frac{Var[S_n]}{b^2_n}< \infty$$

So

$$\displaystyle \frac{S_n-E[S_n]}{n}\stackrel{q.c}{\rightarrow} 0$$

Demo:

We will omit the proof of this result, but it can be found in Shiryaev’s book.

$ \Box $

To conclude this section, we will present some examples to establish the concepts presented.

Example 7.1.2.2

Screenshot_294

Example 7.1.2.3

Be $ (X_i)_{i\geq 1} $ a sequence of independent and identically distributed random variables, with exponential parameter distribution $ 1 $. Let us show that:

$ \mathbb{P}\left(\displaystyle\limsup_{n \rightarrow \infty}\frac{X_n}{\log n}> 1\right)=1. $

To show this, we simply need to show that $ \displaystyle \sum_{i=1}^{\infty}A_i=\infty $. So first let’s define the event $ A_i=(X_i> \log i) $ for $ i\geq 1 $. How each $ A_i $ are independent events. Therefore

$ \mathbb{P}(A_i)=\mathbb{P}(X_i> \log i)=e^{-\log{i}}=\displaystyle \frac{1}{i}. $

In this way we conclude that:

$ \displaystyle \sum_{i=1}^{\infty}\mathbb{P}(A_i)=\sum_{i=1}^{\infty}\frac{1}{i}=\infty $

consequently, by the Borel-Cantelli lemma we conclude that $ \mathbb{P}\left(\displaystyle\limsup_{n \rightarrow \infty}\frac{X_n}{\log n}> 1\right)=1 $ as we wanted to demonstrate.

Example 7.1.2.4

We can generalize example 7.1.2.3 proposed above, as follows: $ X_i $ a sequence of independent and identically distributed random variables, with exponential parameter distribution $ \lambda $. Let us show that:

$ \mathbb{P}\left(\displaystyle\limsup_{n \rightarrow \infty}\frac{X_n}{\log n}> \frac{1}{\lambda}\right)=1. $

The proof follows in the same way, we just need to define the set $ A_i=(X_i> \log i) $ for $ i\geq 1 $. So

$ \mathbb{P}(A_i)=\mathbb{P}(X_i> \frac{\log i}{\lambda})=e^{-\lambda\frac{\log{i}}{\lambda}}=\displaystyle \frac{1}{i}. $

And therefore we conclude that

$ \displaystyle \sum_{i=1}^{\infty}\mathbb{P}(A_i)=\sum_{i=1}^{\infty}\frac{1}{i}=\infty $

Using the Borel-Cantelli lemma again, we conclude that $ \mathbb{P}\left(\displaystyle\limsup_{n \rightarrow \infty}\frac{X_n}{\log n}> \frac{1}{\lambda}\right)=1. $

Example 7.1.2.5

Be $ (X_i)_{i\geq 1} $ a sequence of independent random variables with Poisson distribution with parameter $ \lambda $. What is the limit on probability of the sequence $ Y_n $, in which $ Y_n=\dfrac{X_1^2+\cdots+X_n^2}{n} $?

To solve this example, we just need to use Kolmogorov’s strong law, which will obtain an even stronger result. By Kolmogorov’s strong law we have $ Y_n\rightarrow \mathbb{E}[X_1^2] $. How $ X_1 $ follows a Poisson we have the following:

$ \lambda=\text{Var}[X_1]=\mathbb{E}[X_1^2]-\mathbb{E}^2[X_1]=\mathbb{E}[X_1^2]-\lambda^2 \quad\Rightarrow\quad \mathbb{E}[X_1^2]=\lambda(1+\lambda) $

So by Kolmogorov’s strong law, we have $ Y_n\rightarrow \lambda(1+\lambda) $ almost certainly, i.e. $ Y_n $ converges in probability to $ \lambda(1-\lambda) $.

Example 7.1.2.6 (Monte Carlo Method)

Perhaps one of the most important applications of the law of large numbers is in the Monte Carlo Method, which is a computational method for calculating integrals. So, be it $ f $ a continuous function with image in the interval [0,1] and $ X_1,c_1,X_2,c_2 \cdots $ a sequence of uniform independent random variables at [0,1]. We take

Screenshot_282

So

$$\mathbb{E}[Y_1]=\mathbb{P}(f(X_1)> c_1)=\displaystyle \int_{0}^{1}f(x)dx$$

Therefore, by the strong law of large numbers we have:

$$\displaystyle \frac{1}{n}\sum_{i=1}^{n}Y_i\rightarrow \int_{0}^{1}f(x)dx , \quad \text{P-quase certamente}$$

Example 7.1.2.7

Be $ (X_n)_{n\geq 1} $ a sequence of independent and identically distributed random variables with $ \mathbb{E}[X_1]=\mu $ and $ \text{Var}[X_1]=\sigma^2, $ with $ 0,< \sigma^2< \infty. $ Show that

$$\dfrac{\displaystyle\sum^n_{j=1}X_j}{\displaystyle\sqrt{n\sum^n_{j=1}X^2_j}}\xrightarrow{q.c.}\dfrac{\mu}{\sqrt{\mu^2+\sigma^2}}$$

In fact, from Kolmogorov’s 1st law we have that

$$\sum^n_{j=1}X_j\xrightarrow{q.c.}\mu\quad\text{e}\quad \sum^n_{j=1}\frac{X_j}{n}\xrightarrow{q.c.}\mu$$

We also have to

$$\sum^n_{j=1}\frac{X^2_j}{n}\xrightarrow{q.c.}\sigma^2+\mu^2$$

An important observation is that if $ X_n\xrightarrow{q.c.}X $ then $ g(X_n)\xrightarrow{q.c.}g(X) $ for continuous g.

Then, $ X_n\xrightarrow{q.c.}X,~Y_n\xrightarrow{q.c.}Y $ this implies that $ \dfrac{X_n}{Y_n}\xrightarrow{q.c.}\dfrac{X}{Y} $

Therefore, the thesis is valid.

Example 7.1.2.8

Be $ X_1, X_2, \dots $ independent and identically distributed, with $ X_1\sim U[0,1] $. Find the almost certain limit of the geometric mean

$$\left(\prod_{k=1}^n X_k\right)^{1/n}$$

Be $ Y_n=\left(\prod_{k=1}^n X_k\right)^{\frac{1}{n}} $ which implies that

$$\ln(Y_n)=\frac{\sum_{k=1}^n\ln(X_k)}{n}$$

We will call $ Z_i=\ln(X_i) $, $ i=1,2,\dots $. So, $ Z_1,Z_2,\dots $ is an equivalence of independent and identically distributed random variables, since $ Z_i $ it just depends on $ X_i $ which are independent and identically distributed. Furthermore, we have to

Screenshot_283

So,

$$\mathbb{E}(Z_1)=\int_{-\infty}^0 z^2e^{z}dz$$

making a change of variable we have $ t=-z $. So, we have

$$\int_{-\infty}^0 z^2e^{z}dz=-\int_0^\infty t^2e^{-t}dt=-1$$

Then, applying Kolmogorov’s strong law to $ Z_1,Z_2,\dots $ we have to

$$\frac{Z_1+Z_2+\dots+Z_n}{n}\stackrel{q.c.}{\longrightarrow}\mathbb{E}(Z_1)=-1$$

So,

$$\ln(Y_n)\stackrel{q.c.}{\longrightarrow}-1$$

which implies that

$$\mathbb{P}(\omega:\ln(Y_n(\omega))\rightarrow -1)=1.$$

Now, how $ f(u)=e^{u} $ is a continuous function, so if

$$\ln(Y_n(\omega))\rightarrow -1$$

which implies that

$$e^{\ln(Y_n(\omega))}\rightarrow e^{-1}$$

which implies that

$$Y_n(\omega)\rightarrow e^{-1}$$

So, if

$$\omega\in [\omega:\ln(Y_n(\omega))\rightarrow -1]\Rightarrow \omega \in [\omega: Y_n(\omega)\rightarrow e^{-1}]$$

then

$$\mathbb{P}(\omega: Y_n(\omega)\rightarrow e^{-1})\geq \mathbb{P}(\omega:\ln(Y_n(\omega))\rightarrow -1)=1$$

which implies that $ Y_n\stackrel{q.c.}{\longrightarrow}e^{-1} $.

Example 7.1.2.9

Show: if $ X_1,X_2,\dots $ are independent and identically distributed, with $ \mathbb{E}(X_1)=1=Var(X_1) $, then

$$\displaystyle \frac{\displaystyle \sum_{i=1}^n X_i}{\displaystyle \sqrt{n\sum_{i=1}^n X_i^2}}\rightarrow \frac{1}{\sqrt{2}},\text{quase}\quad\text{certamente}.$$

How $ X_1,X_2,\dots $ is a sequence of integrable random variables, applying Kolmogorov’s strong law, we have

$$\frac{\sum_{i=1}^n X_i}{n}\stackrel{q.c.}{\rightarrow} \mathbb{E}(X_1)=1$$

this, if and only if,

$$\mathbb{P}\left(\omega: \frac{\sum_{i=1}^n X_i(\omega)}{n}\rightarrow 1\right)=1$$

Now be $ Y_i=X_i^2 $, $ i=1,2,\dots $, then $ Y_1,Y_2,\dots $ and sequence of independent random variables because $ Y_i $ it just depends on $ X_i $. Furthermore, they are integrable because $ \mathbb{E}(Y_1)=\mathbb{E}(X_1^2)=Var(X_1)+\left(\mathbb{E}(X_1)\right)^2=1+1=2 $. Then, applying Kolmogorov’s strong law and this sequence,

$$\frac{\sum_{i=1}^n Y_i}{n}=\frac{\sum_{i=1}^n X_i^2}{n}\rightarrow 2$$

but that, if, and only if,

$$\mathbb{P}\left(\omega: \frac{\sum_{i=1}^nX_1^2}{n}\rightarrow 2\right)=1$$

Now, defining $ A:=\left(\omega: \frac{\sum_{i=1}^nX_1}{n}\rightarrow 1\right) $ and $ B:=\left(\omega: \frac{\sum_{i=1}^nX_1^2}{n}\rightarrow 2\right)$.

So, how

$$\mathbb{P}(A)=\mathbb{P}(B)=1$$

then

$$\mathbb{P}(A\cap B)=1$$

which implies that

$$\mathbb{P}\left(\omega: \frac{\sum_{i=1}^nX_1(\omega)}{n}\rightarrow 1, \frac{\sum_{i=1}^nX_1^2(\omega)}{n}\rightarrow 2\right)=1$$

Now if $ \omega $ is such that

$$\frac{\sum_{i=1}^nX_1}{n}\rightarrow 1\quad\quad e \quad\quad \frac{\sum_{i=1}^nX_1^2}{n}\rightarrow 2$$

So, how $ f(t)=\sqrt{t} $ is a continuous function, so we have

$$\frac{\sum_{i=1}^nX_1}{n}\rightarrow 1\quad\quad e \quad\quad \sqrt{\frac{\sum_{i=1}^nX_1^2}{n}}\rightarrow \sqrt{2}$$

Now, notice that if $ \lim_{n\rightarrow \infty}a_n\neq 0 $ and $ \lim_{n\rightarrow \infty}b_n\neq 0 $ then $ \lim_{n\rightarrow \infty}\frac{a_n}{b_n}\neq \frac{a}{b} $ and therefore,

$$\frac{\frac{\sum_{i=1}^nX_1}{n}}{\sqrt{\frac{\sum_{i=1}^nX_1^2}{n}}}\rightarrow \frac{1}{\sqrt{2}}$$

Screenshot_287

In this way, we have to $ \omega\in (A\cap B)\Rightarrow \omega \in C $. So,

$$\mathbb{P}(C)\geq \mathbb{P}(A\cap B)=1$$

which implies that

$$\frac{\frac{\sum_{i=1}^nX_1}{n}}{\sqrt{\frac{\sum_{i=1}^nX_1^2}{n}}}\stackrel{q.c}{\longrightarrow}\frac{\sqrt{2}}{2}$$

Example 7.1.2.10

Be $ 0< \theta < 1/2 $. Prove that if $ X_1,X_2, \dots $ are independent such that $ \mathbb{P}(X_n=n^\theta)=\frac{1}{2}=\mathbb{P}(X_n=-n^\theta) $, then

$$\frac{X_1+\dots+X_n}{n}\rightarrow 0$$

almost certainly.

We have to $ \mathbb{E}(X_n)=0 $ because it is a limited and symmetric random variable and

$$Var(X_n)=\mathbb{E}(X_n^2)=2\frac{1}{2}n^{2\theta}=n^{2\theta}$$

and therefore,

$$\displaystyle \sum_{n=0}^\infty \frac{Var(X_n)}{n^2}=\sum_{n=0}^\infty n^{2(\theta-1)}< \infty,$$

because $ 0< \theta< \frac{1}{2} $. Now, using Kolmogorov’s first Strong Law, which says that if $ X_1,X_2,\dots $ is a sequence of independent random variables and

$$\sum_{n=1}^\infty \frac{Var(X_n)}{n^2}< \infty$$

then

$$\frac{X_1+\dots+X_n}{n}\stackrel{q.c.}{\longrightarrow} \frac{\mathbb{E}(X_1+\dots+X_n)}{n}=0$$

Example 7.1.2.11

Be $ X_1,X_2,\dots $ independent random variables with common density

Screenshot_284

Demonstrate that $ S_n\rightarrow \infty $ almost certainly, in which $ S_n=X_1+\dots+X_n. $

We have to

$$\mathbb{E}(X_1)=\int_{-1/2}^\infty xe^{-x+1/2}dx$$

making a change of variables, we have to $ y=x+\frac{1}{2} $, $ dy=dx $ and $ x=y-\frac{1}{2} $ and we have to

$$\int_0^\infty y(e^{-y})dy-\frac{1}{2}\int_0^\infty e^{-y}dy=1-\frac{1}{2}=\frac{1}{2}$$

So, how $ X_1,X_2,\dots $ random variables and integrable by Kolmogorov’s strong law

$$\frac{X_1+X_2+\dots+X_n}{n}\stackrel{q.c.}{\rightarrow} \frac{1}{2}$$

if, and only if,

$$\mathbb{P}\left(\omega: \frac{X_1(\omega)+X_2(\omega)+\dots+X_n(\omega)}{n}\rightarrow \frac{1}{2}\right)=1$$

Now be the event

$$A=\left(\omega:\frac{X_1(\omega)+X_2(\omega)+\dots+X_n(\omega)}{n}\rightarrow \frac{1}{2}\right)$$

So, if $ \omega \in A $ then

$$\frac{X_1(\omega)+X_2(\omega)+\dots+X_n(\omega)}{n}\rightarrow \frac{1}{2}$$

which implies that

$$X_1(\omega)+X_2(\omega)+\dots+X_n(\omega)\rightarrow \infty.$$

Thus, defining

$$B:=\left(\omega: X_1(\omega)+X_2(\omega)+\dots+X_n(\omega)\rightarrow \infty\right)$$

We have $ \omega \in B $, that is, $ A\subset B $ what does it imply

$$\mathbb{P}(B)\geq \mathbb{P}(A)=1$$

which implies that $ S_n\rightarrow \infty. $ And the result follows.

Example 7.1.2.12

Be $ X_1,X_2,\dots $ independent and identically distributed with mean $ \mu_1 $ and variance $ \sigma^2_1 $ and be $ Y_1,Y_2,\dots $ independent and identically distributed with mean $ \mu_2 $ and random variables $ Z_1,Z_2,\dots $ in the following way: you flip a fair coin and define $ Z_1=X_1 $ if you give face and $ Z_1=Y_1 $ tails. Then play again, defining $ Z_2=X_2 $ if you give face and $ Z_2=Y_2 $ tails. Then play again, defining $ Z_2=X_2 $ if you give face and $ Z_2=Y_2 $ tails, etc. (ad infinitum). Suppose all $ Xs $ and $ Ys $ are independent and that coin flips do not depend on $ Xs $ and $ Ys $. Explain whether the sequence $ Z_1,Z_2,\dots $ obeys the Strong Law of Large Numbers. If so, what is the limit of

$$\bar{Z}_n=\frac{Z_1+\dots+Z_n}{n}$$

Be $ M_i $ random variables representing the result of the coin in the ith trial. Then we define $ M_i(\omega)=1 $ if $ \omega= $face and $ M_i(\omega)=0 $ what does it imply $ \omega= $crown. As the coin is honest we have to

$$\mathbb{P}(M_i=1)=\mathbb{P}(M_i=0)=\frac{1}{2}.$$

Furthermore, $ X_1,X_2,\dots, Y_1,Y_2,\dots, M_1,M_2,\dots $ are independent random variables because $ Z_i $ it just depends on $ X_i,Y_i $ and $ M_i $ which implies that $ Z_1,Z_2,\dots $ are independent variables. Now

$$\mathbb{P}(Z_i\leq z)=\mathbb{P}(Z_i\leq z,[M_i=1]\cup[M_i=0])$$

$$=\mathbb{P}(Z_i\leq z,[M_i=1])+\mathbb{P}(Z_i\leq z,[M_i=0])=\mathbb{P}(M_i=1)\mathbb{P}(Z_i\leq z|M_i=1)+\mathbb{P}(M_i=0)\mathbb{P}(Z_i\leq z|M_i=0)$$

$$=\frac{1}{2}\mathbb{P}(X_i\leq z)+\frac{1}{2}\mathbb{P}(Y_i\leq z)=\frac{1}{2}\left[F_{X_1}(z)+F_{Y_1}(z)\right]$$

So $ Z_1,Z_2,\dots $ are identically distributed random variables and

$$\mathbb{E}(Z_1)=\int_{-\infty}^\infty z dF_Z(z)=\frac{1}{2}\int_{-\infty}^\infty z dF_{X_1}(z)+\frac{1}{2}\int_{-\infty}^\infty zdF_{Y_1}(z)=\frac{1}{2}\left(\mu_1+\mu_2\right)$$

and $ Z_1,Z_2,\dots $ are integrable variables. Thus, by Kolmogorov’s strong law is applicable and results in

$$\frac{Z_1+Z_2+\dots+Z_n}{n}\stackrel{q.c.}{\rightarrow} \frac{1}{2}\left(\mu_1+\mu_2\right)$$

and the result follows.

Example 7.1.2.13

Be $ X_1,X_2,\dots $ independent random variables such that $ X_k\sim b(n_k,p) $, in which $ 0< p< 1 $.

(a) What is the distribution of $ S_n=\sum_{k=1}^n X_k? $

Let’s see, first $ S_2=X_1+X_2 $ then for $ 0\leq n\leq n_1+n_2 $.

$$\mathbb{P}(S_2=n)=\sum_{k=1}^n\mathbb{P}(X_1=k,X_2=n-k)=\sum_{k=1}^n\mathbb{P}(X_1=k)\mathbb{P}(X_2=n-k)$$

$$=\sum_{k=1}^n\binom{n_1}{k}p^k(1-p)^{n_1-k}\binom{n_2}{n-k}p^{n-k}(1-p)^{n_2-n-k}$$

$$=p^n(1-p)^{(n_1+n_2)-k}\sum_{k=1}^n\binom{n_1}{k}\binom{n_2}{n-k}=\binom{n_1+n_2}{n}p^n(1-p)^{(n_1+n_2)-k}$$

We will need some important facts. Se $ X_1\sim b(n_1,p) $ and independent of $ X_2\sim b(n_2,p) $, then $ X_1+X_2\sim b(n_1+n_2,p) $. So, if $ S_3=(X_1+X_2)+X_3 $ in which $ (X_1+X_2) $ is independent of $ X_3 $, then we have to $ (X_1+X_2)+X_3\sim b(n_1+n_2+n_3,p) $. By induction, we have

$$S_n\sim b\left(\sum_{k=^1}^n n_k,p\right).$$

(b) If $ n_k\leq \sqrt{k} $, show that the sequence satisfies the Strong Law.

Now $ Var(X_k)=n_kp(1-p) $ so supposing $ n_k\leq \sqrt{k} $

$$\sum_{k=1}^\infty \frac{Var(X_k)}{k^2}=\sum_{k=1}^\infty \frac{n_k(1-p)p}{k^2}\leq \sum_{k=1}^\infty \frac{\sqrt{k}p(1-p)}{k^2}$$

$$=p(1-p)\sum_{k=1}^\infty \frac{1}{k^{3/2}}< \infty$$

Then, applying Kolmogorov’s first strong law, we have

$$\frac{S_n-\mathbb{E}(S_n)}{n}\stackrel{q.c}{\rightarrow}0$$

and the result follows

Example 7.1.2.14

A radioactive mass emits particles according to a Poisson process with parameter $ \lambda > 0 $. Be $ T_1,T_2,\dots $ the time elapsed between successive emissions. Find the

$$\lim_{n\rightarrow \infty}\frac{T_1^2+\dots+T_n^2}{n}$$

Is it an almost certain limit or a probability limit?

We know that in a Poisson process $ T_1,T_2,\dots $ is a sequence of independent and identically distributed random variables, with $ T_1\sim Exp(\lambda) $. Then, by the property of heredity of independence, $ T_1^2,T_2^2,\dots $ is a sequence of independent random variables that are also identically distributed and

$$\mathbb{E}(T_1^2)=\int_0^\infty t^2\lambda e^{-\lambda t}dt= Var(T_1)+\left[\mathbb{E}(T_1)\right]^2=\frac{1}{\lambda^2}+\frac{1}{\lambda^2}=\frac{1}{\lambda^2}$$

So, $ T_1^2,T_2^2,\dots $ is a sequence of independent random variables that are identically distributed and integrable. Applying Kolmogorov’s strong law

$$\frac{T_1^2+T_2^2+\dots+T_n^2}{n}\rightarrow \mathbb{E}(T_1^2)=\frac{2}{\lambda^2}$$

And the result follows.

Example 7.1.2.15

Be $ X_1,X_2,\dots $ independent with common distribution $ N(0,1) $. What is the almost certain limit of

$$\frac{X_1^2+\dots+X^2_n}{(X_1-1)^2+\dots+(X_n-1)^2}?$$

Firstly, we have from Kolmogorov’s Strong Law that $ X_1^2,X_2^2,\dots $ is a sequence of independent random variables (hereditary property) and identically distributed and integrable ($ \mathbb{E}(X_i^2)=Var(X_i)=1,\quad i=1,2,\dots $)

$$\frac{X_1^2+\dots X_n^2}{n}\stackrel{q.c.}{\rightarrow} 1$$

which implies that

$$\mathbb{P}\left(\omega:\frac{X_1^2(\omega)+\dots+X_n^2(\omega)}{n}\rightarrow 1\right)=1$$

Be,

$$A=\left(\omega: \frac{X_1^2+\dots+X_n^2}{n}\rightarrow 1\right)$$

then $ \mathbb{P}(A)=1 $. So, define the sequence

$$(X_1-1)^2,\dots (X_n-1)^2$$

of independent and identically distributed and integrable random variables, as

$$\mathbb{E}(X_1-1)^2=\mathbb{E}(X_1^2-2X_1+1)=\mathbb{E}(X_1^2)+1=1+1=2$$

Therefore, define

$$B=\left(\omega: \frac{(X_1-1)^2(\omega)+\dots+(X_n-1)^2(\omega)}{n}\rightarrow 2\right)$$

we have by Kolmogorov’s strong law, we have

$$\frac{(X_1-1)^2+\dots+(X_n-1)^2}{n}\rightarrow 2$$

which implies that $ \mathbb{P}(B)=1 $. Now if $ \omega \in (A\cap B) $. So, $ \omega \in A $ which implies that

$$\frac{X_1^2(\omega)+\dots+X_n^2(\omega)}{n}\rightarrow 1$$

and $ \omega \in B $ we have

$$\frac{(X_1-1)^2(\omega)+\dots+(X_n-1)^2(\omega)}{n}\rightarrow 2$$

In this way, $ \omega \in A\cap B $

$$\frac{X_1^2(\omega)+\dots+X_n^2(\omega)}{(X_1-1)^2(\omega)+\dots+(X_n-1)^2(\omega)}\rightarrow \frac{1}{2}$$

Being,

$$C=\left(\omega:\frac{X_1^2(\omega)+\dots+X_n^2(\omega)}{(X_1-1)^2(\omega)+\dots+(X_n-1)^2(\omega)}> \frac{1}{2}\right).$$

We have $ (A\cap B)\subset C $ and then

$$\mathbb{P}(C)\geq \mathbb{P}(A\cap B)=1$$

because $ \mathbb{P}(A)=1 $ and $ \mathbb{P}(B)=1 $ then $ \mathbb{P}(C)=1 $ which implies that

$$\frac{X_1^2+\dots+X_n^2}{(X_1-1)^2+\dots+(X_n-1)^2}\rightarrow\frac{1}{2}$$

therefore the result follows.

Example 7.1.2.16

Be $ X_1,X_2,\dots $ independent random variables such that $ X_n\sim U[0,n], \quad n=1,2,\dots $. Call the nth trial a success if $ X_{2n}> X_{2n-1} $, failure if $ X_{2n}\leq X_{2n-1} $, for $ n=1,2,\dots $. Determine the probability of success on the nth trial and find the limit (if any) of $ S_n/n $, in which $ S_n= $number of successes in the first n trials. Is this limit the limit in probability and/or almost certain?

Define

Screenshot_276

and $ B_n=[X_{2n},X_{2n-1}] $

We will have to

$$p_n=\mathbb{P}(Y_n=1)=\mathbb{P}(X_{2n}\leq X_{2n-1})=\int_{B_n}f_{X_{2n},X_{2n-1}}(x_{2n},x_{2n-1})dx_{2n}dx_{2n-1}.$$

Now, how $ X_{2n} $ is independent of $ X_{2n-1} $, which implies that

Screenshot_295

then

$$p_n=\frac{1}{2n(2n-1)}Vol(B\cap A)=\frac{(2n-1)^2}{4n(2n-1)}=\frac{2n-1}{4n}=\frac{1}{2}-\frac{1}{4n}$$

Thus, the sequence $ Y_1,Y_2,\dots $ is an independent random variable, with

Screenshot_277

So

$$\mathbb{E}(Y_n)=p_n=\frac{1}{2}-\frac{1}{4n}$$

and

$$Var(Y_n)=p_n(1-p_n)=\frac{1}{4}-\frac{1}{16n^2}.$$

So,

$$\sum_{n=1}^\infty \frac{Var(Y_n)}{n^2}=\sum_{n=1}^\infty \frac{1}{4n^2}-\sum_{n=1}^\infty \frac{16}{n^4}< \infty$$

Using Kolmogorov’s strong first law, we have

$$\frac{S_n}{n}=\frac{Y_1+\dots+Y_n}{n}\rightarrow \frac{\mathbb{E}(S_n)}{n}$$

with

$$\frac{\mathbb{E}(S_n)}{n}=\frac{\frac{1}{2}-n-\sum_{k=1}^n \frac{1}{4k}}{n}=\frac{1}{2}-\frac{1}{4n}\sum_{k=1}^n\frac{1}{4k}$$

In this way, defining

$$A=(\omega: \frac{S_n}{n}\rightarrow \frac{1}{2}-\frac{1}{4n}\sum_{k=1}^n\frac{1}{k})$$

we have to $ \mathbb{P}(A)=1 $. Now

$$\lim_{n\rightarrow \infty}\left(\frac{1}{2}-\frac{1}{4n}\sum_{k=1}^n\frac{1}{k}\right)=a$$

so be $B=\left(\omega: \frac{S_n}{n}\rightarrow a\right)$, then $ \omega\in A $ which implies that $ \omega \in B $ what does it imply $ A\subset B $ which implies that $ \mathbb{P}(B)\geq \mathbb{P}(A)=1 $ which implies that

$$\frac{S_n}{n}\stackrel{q.c.}{\longrightarrow} a.$$

Example 7.1.2.17

The strong law for independent, identically distributed and integrable random variables can be extended to the randomness of infinite expectations, if we admit infinite limits. In particular, if $ X_1,X_2,\dots $ are independent and identically distributed such that $ \mathbb{E}(X_n)=\infty $, then

$$S_n/n\rightarrow \infty$$

almost certainly. Prove this result in 3 steps:

(a) For $ m $ fixed positive integer, be $ Y_n $ the truncation of $ X_n $ in $ m $

Screenshot_278

But

$$\mathbb{E}(X_1)=\int_{0}^\infty (1-F_{X_1}(x))dx-\int_{-\infty}^0 F_{X_1}(x)dx$$

Now how $ \mathbb{E}(X_1)=\infty $ this implies that

$$\int_{-\infty}^0 F_{X_1}(x)dx< \infty.$$

So

$$\mathbb{E}(Y_1)=\int_{0}^\infty (1-F_{Y_1}(y))dy-\int_{-\infty}^0 F_{Y_1}(y)dy=\int_0^m(1-F_{X_1}(y))dy-\int_{-\infty}^0 F_{X_1}(y)dy$$

how

$$\int_{-\infty}^0 F_{X_1}(y)dy< \infty$$

then

$$0\leq \int_0^m(1-F_{X_1}(y))dy\leq \int_0^m dy=m< \infty $$

Therefore, $ \mathbb{E}(Y_1)< \infty $. So, using Kolmogorov’s strong law

$$\frac{Y_1+\dots+Y_n}{n}\rightarrow \mathbb{E}(Y_1)$$

But that is if, and only if,

Screenshot_279

and

$$A=\left(\omega \frac{Y_1(\omega)+\dots+Y_n(\omega)}{n}\rightarrow \mathbb{E}(Y_1)\right)$$

Se $ \omega \in A\cap B $, $ \omega \in B_m $ which implies that

$$\frac{X_1(\omega)+\dots+X_n(\omega)}{n}\geq \frac{Y_1(\omega)+\dots+Y_n(\omega)}{n}$$

if $ \omega \in A $ this implies that

$$\lim_{n\rightarrow \infty}\frac{Y_1(\omega)+\dots+Y_n(\omega)}{n}=\mathbb{E}(Y_1)$$

Then if $ \omega\in A\cap B $, this implies that

$$\liminf_{n\rightarrow \infty}\frac{X_1(\omega)+\dots+X_n(\omega)}{n}\geq \mathbb{E}(Y_1)$$

Defining $C_m=\left(\omega : \liminf_{n\rightarrow \infty}\frac{S_n(\omega)}{n}\geq \mathbb{E}(Y_1)\right)$, we then have to $ C_m\supset A\cap B $. Which implies that

$$\mathbb{P}(C_m)> \mathbb{P}(A\cap B)=1$$

because $ \mathbb{P}(A)=\mathbb{P}(B)=1 $. So,

$$\liminf_{n\rightarrow \infty}\frac{S_n}{n}\geq \mathbb{E}(Y_1)=\int_{-\infty}^m xdF_{X_1}(x).$$

(c) $ \frac{S_n}{n}\rightarrow \infty $ almost certainly.

Now, if given any $ M> 0 $, we have to exist $ n_0 $ such that $ n> n_0 $ which implies that

$$\frac{S_n}{n}> M$$

So, $ \frac{S_n}{n}\rightarrow \infty $. How $ \mathbb{E}(Y_1(m))\rightarrow \mathbb{E}(X_1)=\infty $, then given $ M> 0 $ exists $ m_0 $ such that $ m> m_0 $ which implies that

$$\mathbb{E}(Y_1(m))> M$$

So if $ \omega \in C_m $, for $ m> m_0 $, this implies that

$$\liminf_{n\rightarrow \infty}\frac{S_n(\omega)}{n}\geq \mathbb{E}(Y_1(m))> M\Rightarrow \frac{S_n(\omega)}{n}\rightarrow \infty.$$

Being $D=\left(\omega: \frac{S_n(\omega)}{n}\rightarrow \infty\right)$

if $ \omega \in C_m\Rightarrow \omega \in D $

which implies that

$$\mathbb{P}(D)\geq \mathbb{P}(C_m)=1$$

what does it imply

$$\frac{S_n}{n}\stackrel{q.c.}{\longrightarrow} \infty$$

Example 7.1.2.18

Be $ X_1,X_2,\dots $ independent, identically distributed and integrable random variables. Determine

$$\lim_{n\rightarrow \infty}\mathbb{E}(X_1|X_1+X_2+\dots+X_n)$$

What type of convergence?

How $ X_1,X_2,\dots $ independent, identically distributed and integrable random variables

$$\mathbb{E}\left(X_1|X_1+\dots+X_n\right)=\mathbb{E}\left(X_2|X_1+\dots+X_n\right)=\dots=\mathbb{E}\left(X_n|X_1+\dots+X_n\right)$$

which implies that

$$\mathbb{E}\left(X_1+\dots+X_n|X_1+\dots+X_n\right)=n\mathbb{E}\left(X_1|X_1+\dots+X_n\right)$$

which implies that

$$\mathbb{E}\left(X_1+\dots+X_n|X_1+\dots+X_n\right)=n\mathbb{E}\left(X_1|X_1+\dots+X_n\right)$$

which leads us to

$$X_1+\dots+X_n=n\mathbb{E}\left(X_1|X_1+\dots+X_n\right)\Rightarrow \mathbb{E}\left(X_1|X_1+\dots+X_n\right)=\frac{X_1+\dots+X_n}{n}$$

Now, by Kolmogorov’s strong law, we have

$$\mathbb{E}\left(X_1|X_1+\dots+X_n\right)=\frac{X_1+\dots+X_n}{n}\stackrel{q.c}{\longrightarrow} \mathbb{E}(X_1)$$

Example 7.1.2.19

Screenshot_286

(a)$ \alpha_n=1/2, \forall n $

Now

$$\mathbb{P}(X_1=x_1,X_2=x_2,\dots,X_n=x_n)=\mathbb{P}(X_1=x_1,X_2=x_2,\dots,X_{n-1}=x_{n-1})\mathbb{P}(X_n=x_n|X_1=x_1,X_2=x_2,\dots,X_{n-1}=x_{n-1})$$

How

$$\mathbb{P}(X_n=X_{n-1}|X_1=x_1,X_2=x_2,\dots,X_{n-1}=x_{n-1})=\frac{1}{2}=\mathbb{P}(X_n\neq X_{n-1}|X_1=x_1,X_2=x_2,\dots,X_{n-1}=x_{n-1})$$

We have by induction

$$\mathbb{P}(|X_1=x_1,X_2=x_2,\dots,X_{n}=x_{n})=\left(\frac{1}{2}\right)^{n}=\mathbb{P}(X_1=X_{1})\dots\mathbb{P}(X_{n}=x_{n})$$

for everyone $ x_1,x_2,\dots, x_n $, then for all n $ (X_1,X_2,\dots,X_n) $ are independent random variables, which implies that the sequence of independent random variables is identically distributed and integrable $ \left(\mathbb{E}(X_1)=\frac{1}{2}\right) $. Therefore, by Kolmogorov’s strong law we have

$$Y_n=\frac{1}{n}(X_1+\dots+X_n)\stackrel{q.c}{\longrightarrow}\frac{1}{2}.$$

(b)$ \sum \alpha_n $ converges

Se $ \sum \alpha_n $ converges, this implies that for all $ \epsilon > 0 $ exists $ n_0 $ such that $ n> n_0 $ which implies that

$$\sum_{k=n}^\infty \alpha_n< \epsilon$$

Be $A_n:=[X_{n+1}\neq X_n]$ and

$$\mathbb{P}(A_n)=\mathbb{P}(X_{n+1}\neq X_n)=1-\mathbb{P}(X_{n+1}=X_n)$$

Now

$$\mathbb{P}(X_{n+1}=X_n)=\sum_{(x_1,\dots,x_n)}\mathbb{P}(X_{n+1}=x_n|X_1=x_1,\dots,X_n=x_n)\mathbb{P}(X_1=x_1,\dots,X_n=x_n)$$

$$=(1-\alpha_n)\sum_{(x_1,\dots,x_n)}\mathbb{P}(X_1=x_1,\dots,X_n=x_n)=1-\alpha_n$$

So, $ \mathbb{P}(\alpha_n) $, which implies that

$$\sum_{n=1}^\infty \mathbb{P}(A_n)=\sum_{n=1}^\infty \alpha < \infty $$

which is implied by the Borel-Cantelli lemma

$$\mathbb{P}(A_n,\quad i.o)=0$$

then

$$\mathbb{P}(X_{n+1}=x_n,\quad i.o)=0$$

which implies that

$$\mathbb{P}(X_{n+1}=x_n,\quad n \text{suficientemente}\quad \text{grande}\quad (n> n_0))=1$$

which implies that

Screenshot_281

and

$$C=\left(\omega \frac{S_n(\omega)}{n}\rightarrow \frac{1}{2}\right)$$

We have to $ \omega\in A $ implies that $ \omega \in B $ which implies that

$$\mathbb{P}(B)\geq \mathbb{P}(A)=1\Rightarrow \mathbb{P}(B)=1$$

and $ \omega \in C $ which implies that $ \omega \notin B \Rightarrow (B\cap C)=\emptyset $ which implies that

$$\mathbb{P}(C)\leq 1-\mathbb{P}(B)=1-1=0$$

which implies that

$$\mathbb{P}(C)=\mathbb{P}\left(\frac{S_n}{n}\rightarrow \frac{1}{2}\right)=0$$

which implies that

$$\frac{S_n}{n}\stackrel{q.c.}{\longrightarrow}\frac{1}{2}.$$

Now, we will also prove that

$$\frac{S_n}{n}\stackrel{\mathbb{P}}{\nrightarrow}\frac{1}{2}$$

as a counterexample be $ 0=\alpha_1=\dots=\alpha_n=\dots $ then $ \sum_{i=1}^\infty \alpha_i=0< \infty $ and then

Screenshot_285

which implies that

$$\mathbb{P}\left(\frac{S_n}{n}=0\right)=\mathbb{P}(X_1=0)=\frac{1}{2}$$

and

$$\mathbb{P}\left(\frac{S_n}{n}=1\right)=\mathbb{P}(X_1=1)=\frac{1}{2}$$

Now be $ 0< \epsilon < \frac{1}{2} $, then

$$\mathbb{P}\left(\bigg|\frac{S_n}{n}-\frac{1}{2}\bigg|\geq \epsilon\right)=1$$

because if $ \frac{S_n}{n}=0 $ which implies that

$$\bigg|\frac{S_n}{n}-\frac{1}{2}\bigg|=\frac{1}{2}$$

or $ \frac{S_n}{n}=1 $ which implies that

$$\bigg|\frac{S_n}{n}-\frac{1}{2}\bigg|=\frac{1}{2}$$

So,

$$\lim_{n\rightarrow \infty }\mathbb{P}\left(\bigg|\frac{S_n}{n}-\frac{1}{2}\bigg|\geq \epsilon\right)=1\neq 0$$

which implies that

$$\frac{1}{2}\nrightarrow \frac{1}{2}$$

Example 7.1.2.20

Be $ X_1,X_2,\dots $ independent such that $ \mathbb{E}(X_n)=0, \forall n $. Demonstrate that if

$$\sum_{n=1}^\infty Var(X_n)< \infty$$

then $ \mathbb{E}(\sup_{n> 1}|S_n|)< \infty $, in which $ S_n=X_1+\dots+X_n. $

According to the integrability criterion, we have

$$\mathbb{E}\left(\sup_{n\geq 1}|S_n|\right)< \infty$$

if and only if

$$\sum_{k=0}^\infty \mathbb{P}\left(\sup_{n\geq 1}|S_n|> k\right)< \infty$$

Now by Kolmogorov inequality, we have

$$\mathbb{P}\left(\max_{1\leq k\leq n_0}|S_k|> k\right)\leq \frac{1}{k^2}\sum_{i=1}^{n_0}Var(X_i),k> 0$$

Now, if $ \sup_{n\geq 1}|S_n|> k $ By the definition of supreme, we have that there is $ n_0 $ such that $ |S_{n_0}|> k $ which implies that

$$\max_{1\leq k\leq n_0}|S_n|\geq k.$$

So, $ \omega \in A=[\sup_{n\geq 1}|S_n|> k] $ which implies that $ \omega \in [\max_{1\leq n\leq n_0}|S_n|\geq k] $ then

$$\mathbb{P}(\sup_{n\geq 1}|S_n|> k)\leq \mathbb{P}(\max_{1< n< n_1}|S_n|\leq k)$$

By Kolmogorov inequality

$$\mathbb{P}(\max_{1< n< n_1}|S_n|\leq k)\leq \frac{1}{k^2}\sum_{i=1}^{n_0} Var(X_i)\leq \frac{1}{k^2}\sum_{i=1}^\infty Var(X_i)$$

So, $ k> 0 $ which implies that

$$\mathbb{P}(\sup_{n\geq 1}|S_n|> k)=\mathbb{P}(\sup_{n\geq 1}|S_n|> 0)+\sum_{k=1}^\infty \mathbb{P}(\sup_{n\geq 1}|S_n|> k)$$

$$\leq 1+\sum_{k=1}^\infty \frac{1}{k^2}\sum_{i=1}^\infty Var(X_i)$$

How

$$\sum_{i=1}^\infty Var(X_i)< \infty$$

then

$$\sum_{k=0}^\infty \mathbb{P}\left(\sup_{n\geq 1}|S_n|< k\right)\leq 1+\sum_{i=1}^\infty Var(X_i)\sum_{i=1}^\infty \frac{1}{k^2}$$

which implies that

$$\sum_{k=0}^\infty \mathbb{P}(\sup_{n\geq 1}|S_n|)< \infty$$

8.7.3 Central Limit Theorem

In the history of probability theory, Chebyshev was the first to use the method of moments. Then his student Andrei Markov used the method of moments to give a rigorous proof of the Central Limit Theorem. Another of his famous students, Alexander Lyapunov, later used the concept of characteristic functions to give a simpler proof of this important theorem.

The central limit theorem consists of an important theorem of asymptotic theory, in which the central idea is based on finding the distribution of normalized partial sums, which we demonstrate that converges to the standardized normal distribution. However, in order to demonstrate this important result, we will need some prerequisites, such as:

  • The Fourier transform

  • Weak convergence (in distribution).

In the next sections, we dedicate a part of it to characteristic functions, commonly called the Fourier transform. We finish with the section in which we present the main definitions and proofs of the Central Limit Theorem.

8.7.3.1 Characteristic Function or Fourier Transform

The Fourier transform, also known within the field of statistics as a characteristic function, has applications in the most diverse areas of scientific knowledge, such as signal and image processing, quantum physics, among others. In addition to this operator, we will need several relevant results within the probability area, which we use in demonstrating the central limit theorem (TCL).

In the Moments section, we study the moment generating function. From a theoretical point of view, the characteristic function or Fourier transform is much more robust than the moment generating function, because:

  • is defined for any distribution;
  • determines convergence in distribution;
  • generates moments.

In a way, the characteristic function is more functional, but from a practical point of view, many researchers prefer to work with the moment-generating function, as the characteristic function involves complex numbers. Next, we present some definition and results for the characteristic function.

Definition 7.2.1.1

Let X be a random variable. Then the characteristic function (Fourier transform) of $\varphi:\mathbb{R} \rightarrow \mathbb{C}$ defined by: $$\varphi(t)=\varphi_X(t)=\mathbb{E}(e^{itX})=\displaystyle\int_{\mathbb{R}} e^{(itx)}dF_X(x),$$

in which we define $$\mathbb{E}(e^{itX})=\mathbb{E}(\cos(t X))+i~\mathbb{E}(\sin(t X)),~~~~t\in\mathbb{R}.$$

Observation (Euler’s formula)

$e^{itX}=\cos(tX)+i~\sin(tX)$

As the characteristic function is determined by its distribution function, we have that if X and Y are identically distributed then: $$\varphi_X=\varphi_Y.$$

After demonstrating some properties of the characteristic function, we will show an important proposition, which shows that the characteristic function of X determines the cumulative distribution function of X.

Proposition 7.2.1.1

The characteristic function is a function bounded by 1.

Demo:

In fact, by definition we have $$|\varphi_{X}(t)|=|\mathbb{E}[e^{itX}]|=\sqrt{\mathbb{E}^2[\cos{(tX)}]+\mathbb{E}^2[\sin{(tX)}]}$$

So, we have to $$\sqrt{\mathbb{E}^2[\cos{(tX)}]+\mathbb{E}^2[\sin{(tX)}]}\leq \sqrt{\mathbb{E}[\cos^2{(tX)}]+\mathbb{E}[\sin^2{(tX)}]}=\sqrt{\mathbb{E}[\underbrace{\cos^2{(tX)}+\sin^2{(tX)}}_{1}]}=1$$

The inequality presented is due to P6 of hope. Therefore, the characteristic function is bounded by 1. $\Box$

Proposition 7.2.1.2

If X and Y are two independent random variables then $\varphi_{X+Y}=\varphi_X(t)\varphi_Y(t).$

Demo:

In fact, we have to: $$\varphi_{X+Y}(t)=\mathbb{E}[e^{it(X+Y)}]=\mathbb{E}[e^{itX}~e^{itY}]=\mathbb{E}[(\cos{(tX)}+i~\sin{(tX)})(\cos{(tY)}+i~\sin{(tY)})]$$

As X and Y are independent we have: $$\mathbb{E}[\cos{(tX)}+i~\sin{(tX)}]~\mathbb{E}[\cos{(tY)}+i~\sin{(tY)}]=\mathbb{E}[e^{iX}]~\mathbb{E}[e^{iY}]=\varphi_X(t)\varphi_Y(t)$$

$\Box$

A general result of proposition 7.2.1.2 is that if a finite family of random variables $X_1\cdots X_n$ are independent and $S_n=X_1,\dots,X_n$, then $$\varphi_{S_n}=\prod_{i=1}^{n}\varphi_{X_i}$$

In fact, $$\varphi_{S_n}=\mathbb{E}[e^{it(X_1+\dots+X_n)}]=\mathbb{E}[e^{itX_1}e^{it X_2}\dots e^{it X_n}]\overset{\text{indep.}}{=}\mathbb{E}[e^{it X_1}]\dots\mathbb{E}[e^{it X_n}]=\prod^n_{i=1}\varphi_{X_i}$$

Proposition 7.2.1.3

Se $X=aY+b,$ then $\varphi_X(t)=\varphi_{aY+b}(t)=e^{itb}\varphi_Y(at)$

Demo:

In fact, $$\varphi_{X}(t)=\varphi_{aY+b}(t)=\mathbb{E}[e^{it(aY+b)}]=\mathbb{E}[e^{itaY}~e^{itb}]=e^{itb}\mathbb{E}[e^{itaY}]=e^{itb}\varphi_Y(at)$$

$\Box$

Proposition 7.2.1.4

The characteristic function $\varphi_X$ it also generates moments.

Demo:

$$\frac{d^n}{dt^n}\varphi_X(t)\mid_{t=0}=i^n\mathbb{E}[X^n],\quad \text{se}~\mathbb{E}|X|^n< \infty.$$

Note that, if $\mathbb{E}|X|^n< \infty,$ then $$\varphi_X(t)=\varphi(0)+\varphi^\prime(0)t+\varphi^{\prime\prime}(0)\frac{t^2}{2!}+\dots+\varphi^{(n)}(0)\frac{t^n}{n!}+r_n(t)=$$ $$\overset{(\text{Obs})}{=}1+i(\mathbb{E}[X])t-\frac{\mathbb{E}[X^2]}{2!}t^2+\dots+i^n\frac{\mathbb{E}[X^n]}{n!}t^n+r_n(t)$$

Note: $\dfrac{r_n(t)}{t^n}\stackrel{t\rightarrow 0}\rightarrow 0$

$\Box$

Corollary 7.2.1.1:

Se $\mathbb{E}[|X|^n]< \infty$ for some $n\geq 1,$ then $\varphi_X$ has k continuous derivatives for all $k\leq n$ and we still have to: $$\displaystyle \varphi_X^{(k)}(t)=\int_{\mathbb{R}}(ix)^k e^{itx}dF_X(x).$$

And therefore; $\varphi_X^{k}(0)=i^k~\mathbb{E}[X^k]$.

Demo:

To demonstrate this fact, we will use the definition of derivative. Let us first note that: $$\displaystyle\frac{\varphi(t+h)-\varphi(t)}{h}=\int_{\mathbb{R}} \frac{e^{i(t+h)x}-e^{itx}}{h}dF(x)=\int_{\mathbb{R}} e^{itx}\left(\frac{e^{ihx}-1}{h}\right)dF(x)=\mathbb{E}\left[e^{itX}\left(\frac{e^{ihX}-1}{h}\right)\right].$$

How $\frac{(e^{ithx}-1)}{h}\rightarrow ix$ when $h\rightarrow 0,$ we get that: $$\displaystyle \mathbb{E}\left[e^{itx}\left(\frac{e^{ihX}-1}{h}\right)\right]\rightarrow i~\mathbb{E}[Xe^{itX}].$$

We will demonstrate the general case by induction. Let’s suppose that $$\displaystyle \varphi^{(n)}(t)=\int(ix)^n e^{itx}dF_X(x),$$

Let us show that it is valid for (n+1).

In fact, $$\frac{\varphi^{(n+1)}(t+h)-\varphi^{(n+1)}(t)}{h}=\int_{\mathbb{R}} \frac{(ix)^{n+1} e^{i(t+h)x}-(ix)^n e^{itx}}{h}dF_X(x)=\int_{\mathbb{R}} (ix)^{n+1} e^{itx}\left(\frac{e^{ihx}-1}{h}\right)=$$ $$=\mathbb{E}\left[(iX)^{n+1} e^{itX}\left(\frac{e^{ithX}-1}{h}\right)\right].$$

But how $$\mathbb{E}\left[e^{itX}\frac{(e^{ithX}-1)}{h}\right]\rightarrow i~\mathbb{E}[Xe^{itX}].$$

For us to find $\varphi_{X}^{(k)}(0)=i^k\mathbb{E}[X^k]$, we just take $t=0$.

Therefore, we have to

Screenshot_296

$\Box$

The characteristic function of a random variable X determines the accumulated distribution function of X, that is, given its characteristic function we can determine what its accumulated distribution function is. This fact arises from a formula known as the inversion formula.

Theorem 7.2.1.1 (Inversion formula)

If x and y are points of continuity of F such that x $<$ y, then $$F(y)-F(x)=\displaystyle\frac{1}{2\pi}\lim_{u\rightarrow\infty}\int_{-u}^{u}\frac{e^{-itx}-e^{-ity}}{it}\varphi(t)dt.$$

Demo:

To prove this theorem we will need the dominated convergence theorem, which is stated below.

Dominated convergence theorem

Be $(X_n)_{n\geq 1}$ a sequence of random variables such that $X_n\rightarrow X$ almost certainly and there exists a non-negative random variable Y such that $|X_n|\leq Y$ with $\mathbb{E}[Y]<\infty,$ then for $\mathbb{E}[X]<\infty,$ we have to $$\mathbb{E}[X_n]\rightarrow \mathbb{E}[X],\quad \text{quando}~~ n\rightarrow \infty.$$

Returning to the proof of theorem 7.2.1.1, we will define an iterated integral $$I(u):=\displaystyle\int_{-u}^{u}\frac{e^{-itx}-e^{-ity}}{it}\varphi(t)dt=\int_{-u}^{u}\left(\int_{-\infty}^{\infty}\frac{e^{-itx}-e^{-ity}}{it}e^{itz}dF(z)\right)dt.$$

At this point it is important to remember that $$\lim_{t\rightarrow 0}\frac{e^{-itx}-e^{ity}}{it}=y-x$$

and even though the Dirichlet integral is given by: $$\displaystyle\lim_{u\rightarrow\infty}\int_{0}^{u}\frac{\sin{(t)}}{t}dt=\frac{\pi}{2}.$$

So we have to: $$I(u)=\displaystyle\int_{-\infty}^{\infty}\left(\int_{-u}^{u}\frac{e^{it(z-x)}-e^{it(z-y)}}{it}dt\right)dF(z).$$

Therefore $$I(u)=\displaystyle\int_{-\infty}^{\infty}\left(2\int_{0}^{u}\displaystyle \frac{\sin{t(z-x)}}{t}-2\int_{0}^{u}\frac{\sin{t(z-y)}}{t}\right)dF(z)$$

At this point we just need to use the dominated convergence theorem, that is, we need to find a random variable such that $H_u(X)\rightarrow Y$ and show that for everyone $H_u(X)$ there is a variable Z such that $H_u(X)< Z$, in which $H_u(X)=\displaystyle 2\int_{0}^{u}\frac{\sin{t(z-x)}}{t}dt-2\int_{0}^{u}\frac{\sin{t(z-y)}}{t}dt.$

In fact, applying the limit on $H_u(X)$ and using the result of the Dirichlet integral we can find the following scenario. How $x< y$ we have to:

if $z< x$ then $(z-x)$ and $(z-y)$ are less than zero we have: $$H_u(X)=\lim_{u\rightarrow \infty}2\int_{0}^{u}\frac{\sin{t(z-x)}}{t}dt -2\int_{0}^{u}\frac{\sin{t(z-y)}}{t}dt=$$ $$\quad\lim_{u\rightarrow \infty}-2\int_{0}^{-(z-x)u}\frac{\sin{t}}{t}+2\int_{0}^{-(z-y)u}\frac{\sin{t}}{t}=-\pi+\pi=0.$$

Similarly, we have to $z> y$ we also have to $H_u(X)=0$

On the other hand, if $z=x$ we have to $(z-x)=0$ and $(z-y)< 0$ then we will have to: $$H_u(X)=\displaystyle \lim_{u\rightarrow \infty}2\int_{0}^{u}\frac{\sin{t(z-x)}}{t}dt-2\int_{0}^{u}\frac{\sin{t(z-y)}}{t}dt =\lim_{u\rightarrow \infty}2\int_{0}^{t(z-y)}\frac{\sin{t}}{t}dt=\pi.$$

We can notice that if $z=y$ we also have to $H_u(t)=\pi$. Lastly, if $x< z < y$, so we have to $z-x> 0$ and yet $z-y< 0$. $$H_u(X)=\displaystyle \lim_{u\rightarrow \infty}2\int_{0}^{u}\frac{\sin{t(z-x)}}{t}-2\int_{0}^{u}\frac{\sin{t(z-x)}}{t} = 2\int_{0}^{u(z-x)}\frac{\sin{t}}{t}+2\int_{0}^{-u(z-y)}\frac{\sin{t}}{t}=2\pi$$

So we have to: $H_u(X)\rightarrow \pi~ I_{[X=x]}+2\pi ~I_{[x< X < y]}+\pi ~I_{X=y}=Y$ when $u\rightarrow \infty.$

At this point we just need to find a variable that limits Y, such as: $$Z=4\pi~ I_{x\leq X\leq y}$$

So using the dominated convergence theorem we can conclude that: $$\displaystyle\lim_{u\rightarrow \infty}\mathbb{E}[H_u(X)]=\mathbb{E}[Y]=\pi~ \mathbb{P}(X=x)+2\pi ~\mathbb{P}(x< X < y)+\pi ~\mathbb{P}(X=y).$$

Let us note that the way $H_u(X)$ has been defined we have: $$\displaystyle\lim_{u\rightarrow \infty} I(u)=\displaystyle \mathbb{E}[H_u(t)]=\pi ~\mathbb{P}(X=x)+2\pi ~\mathbb{P}(x< X < y)+\pi~ \mathbb{P}(X=y).$$

This concludes the proof of the theorem.

$\Box$

Proposition 7.2.1.5

The random variable X has a real characteristic function for all t if, and only if, X has a symmetric distribution around zero.

Demo:

In fact, let us note that X has a symmetric distribution around zero if, and only if, $\mathbb{P}(X\leq x)=\mathbb{P}(X\geq -x)$ for any $x \in \mathbb{R}$, that is, $F_{-X}=F_{X}$ in which X and -X are identically distributed.

But by the theorem we have $F_X=F_{-X}$ if, and only if, their characteristic functions are equal, that is, $\varphi_X=\varphi_{-X}$. Thus X is symmetric at zero if and only if $\varphi_X(t)=\varphi_{-X}(t)=\overline{\varphi_{-X}(-t)}$.

The last equality arises from the fact that,

$\displaystyle \overline{\varphi_X(t)}=\varphi_{X}(t)$, because $\cos{(-tX)}=\cos{(tX)}$ and $\sin{(-tX)}=-\sin{(tX)}$ and therefore we have: $$\varphi_X(-t)=\mathbb{E}[\cos{(-tX)}+i~\sin{(-tX)}]=\mathbb{E}[\cos{(-tX)}]+i~\mathbb{E}[\sin{(-tX)}]=$$ $$=\mathbb{E}[\cos{(tX)}]-i~\mathbb{E}[\sin{(tX)}]=\mathbb{E}[\cos{(tX)}-i~\sin{(tX)}]=$$ $$=\overline{\mathbb{E}[e^{itX}]}=\overline{\varphi_{X}(t)}$$

So we can conclude that: $$\varphi_{X}(t)=\varphi_{-X}(t)=\overline{\varphi_{-X}(-t)}=\overline{\mathbb{E}[e^{i(-t)(-X)}]}=\overline{\mathbb{E}[e^{itX}]}=\overline{\varphi_X(t)},$$

i.e. $\varphi_X(t)=\overline{\varphi_X(t)}$ but a complex number is only equal to its conjugate if, and only if, it is real, and therefore we conclude our proof.

$\Box$

Next, we will demonstrate the uniqueness theorem, that is, that the distribution function $F=F(x)$ is determined solely by the characteristic function $\varphi=\varphi(t).$

Theorem 7.2.1.2 (Uniqueness)

Be $F$ and $G$ the distribution functions with the same characteristic functions, that is, $$\int_{\mathbb{R}}e^{itx}dF(x)=\int_{\mathbb{R}}e^{itx}dG(x), \quad \text{para todo}~ t\in \mathbb{R}.$$

So $F(x)\equiv G(x)$

Demo:

We choose $a,b\in\mathbb{R},$ given $\varepsilon>0$ and consider the function $f^{\varepsilon}(x).$ We will show that $$\int_{\mathbb{R}}f^{\varepsilon}(x)dF(x)=\int_{\mathbb{R}}f^{\varepsilon}(x)dG(x)$$

For this, let $n> 0$ big enough so that $[a-\varepsilon,b+\varepsilon]\subseteq [-n,n]$ and sequence $(\delta_n)$ such that $\delta_n$ is limited by 1 and $\delta_n\downarrow 0,$ when $n\rightarrow \infty.$ Like any continuous function in $[-n,n]$ has equal values at the extremes.

Then, $f^{\varepsilon}(x)$ can be uniformly approximated by trigonometric polynomials (Weierstrass theorem). $$F^\varepsilon_n(x)=\sum_k a_k \exp\left(i\pi x \frac{k}{n}\right)$$

such that $$\sup_{-n\leq x\leq n}|f^\varepsilon(x)-f^\varepsilon_n(x)|\leq \delta_n$$

Extending the periodic function $f_n(x)$ for everyone $\mathbb{R}.$ Note that, $$\sup_{x}|f^\varepsilon_n(x)|\leq 2$$

So by hypothesis we have $$\int_{\mathbb{R}}f^\varepsilon_n(x)dF(x)=\int_{\mathbb{R}}f^\varepsilon_n(x)dG(x)$$

Hence, we obtain that

$$\left|\int_{\mathbb{R}}f^\varepsilon_n(x)dF(x)-\int_{\mathbb{R}}f^\varepsilon_n(x)dG(x)\right|=\left|\int^n_{-n}f^\varepsilon(x)dF(x)-\int^n_{-n}f^\varepsilon(x)dG(x)\right|$$

$$\leq\left|\int^n_{-n}f^\varepsilon_n(x)dF(x)-\int^n_{-n}f^\varepsilon_n(x)dG(x)\right|+2\delta_n$$

Screenshot_297

and the fundamental theorem of calculus $F(b)-F(a)=G(b)-G(a)$ and since $a$ and $b$ are arbitrary we have to $F(x)=G(x)$ for everyone $x\in \mathbb{R}$

$\Box$

We present below the characteristic function of some of the main probability distributions.

Example 7.2.1.1

Suppose $X~\sim ~B(n,p)$

Screenshot_298

Example 7.2.1.2

Suppose $X~\sim ~\text{Poisson}(\lambda)$. $$\varphi_{X}(t)=\mathbb{E}[e^{itX}]=\sum_{k=0}^{\infty}e^{itk}e^{-\lambda}\frac{\lambda^k}{k!}=e^{-\lambda}\sum_{k=0}^{\infty}\frac{(\lambda e^{it})^{n}}{n!}=e^{-\lambda}e^{\lambda e^{it}}=\exp(\lambda(e^{it}-1)).$$

Example 7.2.1.3

Suppose $X~\sim ~N(0,1)$ $$\varphi_X(t)=\mathbb{E}[e^{itX}]=\displaystyle \int_{-\infty}^{\infty}e^{itx}dF_X(x)=\frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty}e^{itx}e^{-(x^2)/2}dx=e^{-t^2/2}\displaystyle \int_{-\infty}^{\infty}e^{-(x-it)^2/2}dx=e^{-t^2/2}$$

To conclude the last equality we need a result of complex analysis, which is Cauchy’s theorem. This theorem says that an analytical function integrated over a closed path in the complex plane has zero integral. Using this result and with some algebraic manipulation we conclude the last equality.

Example 7.2.1.4

Suppose $X~\sim ~U[a,b],$ then $$\varphi_X (t)=\mathbb{E}[e^{itX}]=\int^b_a e^{itx}\dfrac{1}{b-a}dx=\dfrac{e^{itb}-e^{ita}}{it(b-a)}$$

Below is a table with some characteristic functions of the main distributions.

Distribution Characteristic Function
Binomial $ [(1-p)+pe^{it}]^n $
Negative Binomial $ \left[\dfrac{p}{(1-(1-p)e^{it})}\right]^r $
Poisson $ \exp(\lambda(e^{it}-1)) $
Normal $ \exp\left(i\mu t-\dfrac{(\sigma t)^2}{2}\right) $
gamma $ \left[1-\dfrac{it}{\theta}\right]^{-\lambda} $

A very important subject that has been dedicated to a section is the Weak Law of Large Numbers (for more details visit LFGN), which can be demonstrated using the characteristic function method. Next, we will demonstrate the following theorem.

Theorem 7.2.1.3 (Weak Law of Large Numbers)

Be $(X_i)_{i\geq 1}$ sequence of independent and identically distributed random variables with $\mathbb{E}[X_1] < \infty,$ $S_n=X_1+\dots+X_n$ and $\mathbb{E}[X_1]=\mu.$ So $\dfrac{S_n}{n}\stackrel{P}\rightarrow \mu$ such that for all $\varepsilon> 0$

Screenshot_299

Demo:

Be $\varphi(t)=\mathbb{E}[e^{it X_1}]$ and $\varphi_{S_n/n}(t)=\mathbb{E}[e^{it\frac{S_n}{n}}].$ From the hypothesis we have that the random variables are i.i.d’s, so

$\varphi_{S_n/n}(t)=\left[\varphi\left(\frac{t}{n}\right)\right]^n$

By proposition 7.2.1.4, we have $$\varphi(t)=1+it\mu+r(t), \quad \text{quando} t\rightarrow 0$$

Thus, for each $t\in\mathbb{R}$ $$\varphi\left(\frac{t}{n}\right)=1+i\frac{t}{n}\mu+r(\frac{1}{n}),\quad\text{qaundo}~t\rightarrow \infty $$

Then, $$\varphi_{S_n/n}(t)=\left[1+i\frac{t}{n}\mu+r(\frac{1}{n})\right]^n\rightarrow e^{it\mu}$$

The function $\varphi(t)=e^{it\mu}$ is continuous at zero and is the characteristic function of the probability distribution that is concentrated at $\mu.$ Therefore, $\dfrac{S_n}{n}\stackrel{\mathcal{D}}\rightarrow\mu$. How $\mu$ is a constant we obtain that (see Proposition 7.1.2.2 in Convergence in distribution) convergence also occurs in probability, $$\dfrac{S_n}{n}\stackrel{P}\rightarrow \mu.$$

$\Box$

8.7.3.2 Central Limit Theorem

The central limit theorem refers us to the convergence of sums of random variables to a normal distribution and is considered, due to its importance in theory and applications, as the most central basic theorem of probability. The central word for this limit theorem was given by mathematician George Polya. The most common name is “Central Limit Theorem” which makes it clear that the central adjective refers to the theorem and not the limit.

To demonstrate the Central Limit Theorem we need two important subjects, which are the characteristic functions seen in the previous section (for more details see Characteristic Function or Fourier Transform) and the convergence in distribution seen in the section on convergence of random variables (for more details see Convergence of random variables). With all the necessary tools in hand, we can finally demonstrate some versions of the central limit theorem. However, Helland demonstrated that there is only one central limit theorem, that the others are all particular cases. However, demonstrating this result is complex and requires a more advanced theory than the one developed here. This content is covered in the topic Central Limit Theorem for the sum of dependent random variables.

Theorem 7.3.2.1

Screenshot_300

Demo:

Firstly, let’s assume that $X_n$ has zero mean $(\mu=0).$ We can assume this fact without loss of generality, since if $\mu\neq 0,$ we define $Y_n=X_n-\mu$. By theorem 7.2.2.2, we just need to show that: $$\varphi_{S_n/\sigma\sqrt{n}}(t)\rightarrow e^{-t^2/2},\forall t \in \mathbb{R}.$$

Using Proposition 7.2.1.2 and Proposition 7.2.1.3, we conclude that $$\varphi_{S_n/\sigma\sqrt{n}}(t)=\varphi_{S_n}\left(\frac{t}{\sigma\sqrt{n}}\right)=\prod_{k=1}^{n}\varphi_{X_k}\left(\frac{t}{\sigma\sqrt{n}}\right)=\left(\varphi_{X_1}\left(\frac{t}{\varphi\sqrt{n}}\right)\right)^{n},$$

As per hypothesis $X_n$ has limited variance, we have $\varphi$ has at least two continuous derivatives.

Therefore, using the Taylor formula, we have $$\varphi(t)=\varphi(0)+\varphi^{\prime}(0)t+\varphi^{\prime\prime}(\theta(t))\frac{t^2}{2},$$

in which $|\theta(t)|\leq|t|$.

Then, $$\varphi(t)=\varphi(0)+\varphi^{\prime}(0)t+\varphi^{\prime\prime}(\theta(t))\frac{t^2}{2}+\frac{t^2}{2}[\varphi^{\prime\prime}(\theta(t))-\varphi^{\prime\prime}(0)],$$

with $\varphi^{\prime\prime}(\theta(t))-\varphi(0)\rightarrow 0$ when $t\rightarrow 0$.

How $\varphi(0)=1$, and by corollary 7.2.1.1 we conclude that $\varphi^{\prime}(0)=i\mu=0$ and $\varphi^{\prime\prime}(0)=i^2\mathbb{E}[X_1^{2}]=-\mathbb{E}[X_1^2]=-\sigma^2.$

So, we have to $$\varphi(t)=1-\frac{\sigma^2 t^2}{2}+\frac{t^2}{2}~o(t),$$

in which $\displaystyle \lim_{t\rightarrow 0}o(t)=0.$ Therefore, for each fixed t, $$\varphi^{n}\left(\frac{t}{\sigma\sqrt{n}}\right)=\left[1-\frac{t^2}{2n}+\frac{t^2}{2\sigma^2 n}~o\left(\frac{t}{\sigma\sqrt{n}}\right)\right]^n= \left[ 1-\frac{t^2}{2n}\left(1-\frac{1}{\sigma^2}~o\left(\frac{t}{\sigma\sqrt{n}}\right)\right) \right]^n\rightarrow e^{-t^2/2},$$

because $1-\dfrac{1}{\sigma^2}~o\left(\frac{t}{\sigma\sqrt{n}}\right)\rightarrow 1$ when $n \rightarrow \infty$ and for complex numbers, $c_n\rightarrow c \rightarrow \left(1+\frac{c_n}{n}\right)^n\rightarrow e^c$.

And so the result follows.

$\Box$

The Lindeberg condition is a very important result for the central limit theorem, as it is a sufficient condition and for certain conditions it is also necessary. The Lindeberg condition is stated as follows.

Definition 7.3.2.1 (Lindeberg Condition)

Screenshot_301

$$\text{Para todo}~\epsilon> 0,\quad\quad\displaystyle\lim_{n\rightarrow\infty}\frac{1}{s_n^2}\sum_{k=1}^{n}\int_{(x;~|x-\mu_k|> \epsilon s_n)}(x-\mu_k)^2dF_k(x)=0\quad (\text{Lind})$$

Corollary 7.3.2.1

Be $X_1 , X_2 , \cdots$ independent and identically distributed random variables with binomial distribution with parameter $p~(0 < p < 1)$. So $$\displaystyle\frac{S_n -np}{\sqrt{np(1-p)}}$$

converges in distribution to a standardized normal $(N(0,1)).$

Demo:

This theorem was also known as the Central Limit Theorem of De Moivre and Laplace. Its proof follows almost immediately from Theorem 7.3.2.1.

Just note that the $X_i^\prime s$ are independent and identically distributed with mean $\mu=p$ and variance $\sigma^2=p(1-p)$ and the result follows.

$\Box$

Now, let’s make some observations about the intuitive view of the Lindeberg condition.

Let us note that the Lindeberg condition means that, in a certain way, the parcels $\displaystyle\frac{X_k-\mu_k}{s_n}$ of the sum $\displaystyle \frac{S_n-\mathbb{E}[S_n]}{s_n}$ are uniformly small if n is very large.

An example of this fact is to note that the Lindeberg condition implies $\displaystyle\max_{1\leq k\leq n}\frac{\sigma_k^2}{s_n^2}\rightarrow 0$

Thus for large n, the variances of the parcels are uniformly small in relation to the variance of the sum. This fact can be observed as follows.

We note that for all k $$\displaystyle\frac{\sigma^2_k}{s_n^2}=\frac{1}{s_n^2}\int_{|x-\mu_k|\leq \epsilon s_n}(x-\mu_k)^2dF_k(x)+\frac{1}{s_n^2}\int_{|x-\mu_k|> \epsilon s_n}(x-\mu_k)^2dF_k(x)\leq $$ $$\leq \displaystyle \frac{1}{s_n^2}\int_{|x-\mu_k|\leq \epsilon s_n}\epsilon^2 s_n^2dF_k(x)+\frac{1}{s_n^2}\sum_{j=1}^{n}\int_{|x-\mu_k|> \epsilon s_n}(x-\mu_j)^2dF_j(x)\leq$$ $$\leq \displaystyle\frac{1}{s_n^2}\int_{-\infty}^{\infty}\epsilon^2 s_n^2dF_k(x)+\frac{1}{s^2_n}\sum_{j=1}^{n}\int_{|x-\mu_j|> \epsilon s_n}(x-\mu_j)^2dF_j(x).$$

As the first installment is equal to $\epsilon^2$ which does not depend on k, then we have $$\displaystyle\max_{1\leq k \leq n}\frac{\sigma^2_k}{s_n^2}\leq \epsilon^2 + \frac{1}{s_n^2}\sum_{k=1}^n\int_{|x-\mu_k|> \epsilon s_n}(x-\mu_k)^2dF_k(x),$$

in which it converges to $\epsilon^2$, by the Linderberg condition.

Therefore, as is true for all $\epsilon> 0$, we have $\displaystyle\max {\frac{\sigma_k^2}{s_n^2}}\rightarrow 0$.

Note that intuitively this tells us that the sum of small independent quantities with mean zero has approximately a normal distribution.

An example of this intuitive fact is when we consider the average height of the Brazilian population. The difference between any person’s height and the average has a normal distribution with zero mean and variance $\sigma^2.$ Note that each person contributes a small portion.

Theorem 7.3.2.2

Be $(X_i)_{i\geq 1}$ a sequence of independent and square-integrable random variables, for some $\text{Var}(X_n)=\sigma_n^2>0$ and $\mathbb{E}[X_n]=\mu_n.$ We define

$S_n=X_1+\cdots+X_n$

$s_n=\sqrt{\text{Var}(S_n)}=\sqrt{\sigma^2_1+\cdots+\sigma_{n}^2}.$

So

$\displaystyle\frac{S_n-\mathbb{E}[S_n]}{s_n}$ converges in distribution to $N(0,1)$ when $n\rightarrow \infty$.

Demo:

It is enough that the Lindeberg condition is satisfied: $$\forall\epsilon> 0,\quad\quad\displaystyle\lim_{n\rightarrow\infty}\frac{1}{s_n^2}\sum_{k=1}^{n}\int_{(x;~|x-\mu_k|> \epsilon s_n)}(x-\mu_k)^2dF_k(x)=0\quad (\text{Lind})$$

Now, we will show that the characteristic functions of standardized partial sums converge to the characteristic function of $N(0,1)$ for any t, in the same way as we showed that the characteristic function converges then it converges in distribution.

In this way we show that: $$\displaystyle\varphi_{((S_n-\mathbb{E}[S_n])/s_n)}(t)=\prod_{k=1}^{n}\mathbb{E}[e^{it((X_k-\mu_k)/s_n)}]\rightarrow e^{-\frac{t^2}{2}}$$

First we fix t, in addition we will use the two versions of the Taylor formula applied to the function $g(x)=e^{itx}$. $$\displaystyle e^{itx}=1+itx+\gamma_1(x)\frac{t^2 x^2}{2},$$

in which $|\gamma_1(x)|\leq 1$ $$\displaystyle e^{itx}=1+itx-\frac{t^2 x^2}{2}+\gamma_{2}(x)\frac{t^3 x^3}{6},$$

in which $|\gamma_2(x)|\leq 1$

Be $\epsilon > 0$ and yet $|x|> \epsilon$ for the first Taylor formula and in the second for $|x|\leq \epsilon$. So we can write $e^{itx}$ in the following general way: $$\displaystyle e^{itx}=1+itx-\frac{t^2 x^2}{2}+\theta_{\epsilon}(x),\quad (7.3.2.1)$$

in which,

Screenshot_302

Consequently, $$\displaystyle \mathbb{E}\left[\exp\left(it\left(\frac{X_k-\mu_k}{s_n}\right)\right)\right]=\int \exp\left(it\left(\frac{x-\mu_k}{s_n}\right)\right)dF_k(x)\overset{\text{eq.}~(7.3.2.1)}{=}$$ $$=\int \left(1+it\left(\frac{x-\mu_k}{s_n}\right)-\frac{t^2}{2}\left(\frac{x-\mu_k}{s_n}\right)^2+\underbrace{\theta_{\epsilon}}_{\text{eq.}~(7.3.2.2)}\left(\frac{x-\mu_k}{s_n}\right)\right)dF_k(x)=$$ $$\displaystyle=1+it~\mathbb{E}\left[\frac{X_k-\mu_k}{s_n}\right]-\frac{t^2}{2}\mathbb{E}\left[\left(\frac{X_k-\mu_k}{s_n}\right)^2\right]+$$ $$+\frac{t^2}{2}\int_{|x-\mu_k|> \epsilon s_n}\left(1+\gamma_1\left(\frac{x-\mu_k}{s_n}\right)\left(\frac{x-\mu_k}{s_n}\right)^2\right)dF_k(x)+$$ $$+\frac{t^3}{6}\int_{|x-\mu_k|\leq \epsilon s_n}\gamma_2\left(\frac{x-\mu_k}{s_n}\right)\left(\frac{x-\mu_k}{s_n}\right)^3 dF_k(x)$$

How $\mathbb{E}[X_k]=\mu_k$ and $\text{Var}[X_k]=\sigma_k^2$, we have

Screenshot_303

in which the rest $e_{n,k}$ satisfies the following inequality

$$\displaystyle |e_{n,k}|\leq t^2 \int_{|x-\mu_k|> \epsilon s_n}\left(\frac{x-\mu_k}{s_n}\right)^2 dF_k (x)+\frac{|t|^3}{6}\int_{|x-\mu_k|\leq \epsilon s_n}\epsilon \left(\frac{x-\mu_k}{s_n}\right)^2dF_k(x)\leq$$ $$\displaystyle \leq \frac{t^2}{s_n^2}\int_{|x-\mu_k|> \epsilon s_n}(x-\mu_k)^2dF_k(x)+\frac{\epsilon |t|^3}{6s_n^2}\int_{-\infty}^{\infty}(x-\mu_k)^2dF_k(x).$$

We then have

Screenshot_304

By the Linderberg condition, $(*)$ tends to zero when $n\rightarrow \infty$. Therefore, for n large enough,

$\displaystyle \sum_{k=1}^{n}|e_{n,k}|\leq \frac{\epsilon |t|^3}{3}$

So let’s take a sequence of $\epsilon$’s that converges to zero. Take $\epsilon=\displaystyle \frac{1}{j}$, there is $n_j$ such that for $n\geq n_j$,

$\displaystyle \sum_{k=1}^{n}|e_{n,k}|\leq \frac{|t|^3}{3j}\rightarrow 0,$

in which the rest $e_{n,k}$ are determined by the formula based on $\epsilon=\frac{1}{j}$. So

$\displaystyle\varphi_{((S_n-\mathbb{E}[S_n])/s_n)}(t)=\prod_{k=1}^{n}\left(1-\frac{t^2\sigma^2_k}{2 s_n^2}+e_{n,k}\right)$

If we take $e_{n,k}\rightarrow 0$. In this way, we just need to prove that $\displaystyle \prod_{k=1}^{n}\left(1-\frac{t^2\sigma^2_k}{2 s_n^2}\right)\rightarrow e^{-t^2/2}$.

In fact, this happens, because in the case of independent and identically distributed variables, with $c_n\rightarrow c$ implies that $\displaystyle\left(1+\frac{c_n}{n}\right)^n\rightarrow e^c.$

$\Box$

Proposition 7.3.2.1:

Be $(X_i)_{i\geq 1}$ a sequence of independent and identically distributed random variables with $\mathbb{E}[X_n]=\mu$ and $\text{Var}[X_n]=\sigma^2$, in which $0< \sigma^2 < \infty$

$\dfrac{S_n-n\mu}{\sigma\sqrt{n}}\overset{\mathcal{D}}{\rightarrow} N(0,1)$

Demo:

Let’s check the Linderberg condition: $s^2_n=n\sigma^2$ and for $\epsilon> 0$, $$\displaystyle \frac{1}{n\sigma^2}\sum_{k=1}^{n}\int_{|x-\mu|\leq \epsilon \sigma \sqrt{n}}(x-\mu)^2dF_k(x)=$$ $$=\frac{1}{\sigma^2}\int_{|x-\mu|\leq \epsilon \sigma \sqrt{n}}(x-\mu)^2dF_1(x)\rightarrow \frac{1}{\sigma^2}\int_{-\infty}^{\infty}(x-\mu)^2dF_1(x)=\frac{\sigma^2}{\sigma^2}=1$$

in which the last convergence arises from the definition of the integral and the equality for $\sigma^2$ arises from the definition of variance.

$\Box$

Definition 7.3.2.2 (Lyapunov Condition)

Screenshot_305

Proposition 7.3.2.2

The Lyapunov condition implies the Lindeberg condition.

Demo:

Let us assume that the Lyapunov condition is satisfied, that is, for some $\delta> 0$

Screenshot_306

For $\varepsilon> 0,$ then $$\mathbb{E}\left[|X_k-\mu_k|^{2+\delta}\right]=\int_{\mathbb{R}}|x-\mu_k|^{2+\delta}dF_k(x)\geq \int_{(x;~x|x-\mu_k|\geq \varepsilon s_n)}|x-\mu_k|^{2+\delta}dF_k(x)$$

$\displaystyle\geq (\varepsilon s_n)^\delta \int_{(x;~|x-\mu_k|\geq \varepsilon s_n)}(x-\mu_k)^2dF_k(x)$

Therefore, $$\frac{1}{s^2_n}\sum^n_{k=1}\int_{(x;~x|x-\mu_k|\geq \varepsilon s_n)}(x-\mu_k)^2dF_k(x)\leq \frac{1}{\varepsilon^\delta}\frac{1}{s^{2+\delta}_{n}}\sum^n_{k=1}\mathbb{E}\left[|X_k-\mu_k|^{2+\delta}\right]$$

$\Box$

Proposition 7.3.2.3

Be $(X_i)_{i\geq 1}$ a sequence of independent random variables and satisfies the Lyapunov conditions. So $\dfrac{S_n-\mathbb{E}[S_n]}{s_n}$ converges in distribution $N(0,1).$

Demo:

To demonstrate this proposition, we simply need to verify the Lyapunov condition, as this implies the Lindeberg condition.

For $\varepsilon > 0$, from proposition 7.3.2.2, we have that

Screenshot_307

$\Box$

Proposition 7.3.2.4

Be $(X_i)_{i\geq 1}$ a sequence of independent random variables such that for all $n\geq 1$ $$|X_k|\leq K\leq \infty$$

in which $K$ is a constant and $s_n\rightarrow\infty,$ when $n\rightarrow\infty.$ So $$\frac{1}{s^2_n}\sum^n_{k=1}\int_{(x;~|x-\mu_k|\geq \varepsilon s_n)}|x-\mu_k|^2dF_k(x)\leq (2K)^2\frac{\sigma^2_k}{\varepsilon^2~s^2_n}$$

and satisfies the conditions of the Central Limit Theorem.

Demo:

Let the hypotheses be satisfied, then by Chebyshev’s inequality we have

Screenshot_308

Therefore, the Lindeberg condition is satisfied and the Central Limit Theorem is verified.

$\Box$

Example 7.3.2.2

Screenshot_309

Example 7.3.2.3

A candidate for mayor of the city of São Carlos would like to have an idea of ​​how many votes he will receive in the next elections. For this, a survey was carried out with citizens, in which $p$ represents the proportion of votes of the candidate with $0\leq p< 1.$ How many people must be interviewed with 95% confidence for the value of $p$ was determined with an error of less than 5%, assuming that each person’s choices are independent.

Be $n$ the number of candidates, we denote $X_i, ~i=1,\dots,n$ the Bernoulli random variable that takes value 1, with probability p, if the ith person interviewed declares the intention to vote for the candidate. Assumes the value 0, with probability $1-p$ otherwise.

So, we have to $\mathbb{P}[X_i=1]=p$ and $\mathbb{P}[X_i=0]=1-p.$ Consequently, $\mathbb{E}[X_i]=p$ and $\text{Var}(X_i)=p(1-p)$ for everyone $i=1,\dots,n.$

Therefore, from the statement we want $n$ minimum so that $$\mathbb{P}\left[\left|\frac{S_n}{n}-p\right|\leq 0,05\right]\geq 0,95$$

in which $S_n=X_1+\dots+X_n.$

But, we have to $$\mathbb{P}\left[\left|\frac{S_n}{n}-p\right|\leq0,05\right]=\mathbb{P}\left[-0,05\leq \frac{S_n-np}{n}\leq 0,05\right]=$$ $$=\mathbb{P}\left[-0,05\sqrt{\frac{n}{p(1-p)}}\leq \frac{S_n-np}{\sqrt{np(1-p)}}\leq 0,05\sqrt{\frac{n}{p(1-p)}}\right]\geq 0,95$$

By TCL, we have to $n$ big enough $$\Phi\left(0,05\sqrt{\frac{n}{p(1-p)}}\right)-\Phi\left(-0,05\sqrt{\frac{n}{p(1-p)}}\right)\geq 0,95$$

So, we just have to choose $n$ such that

$$0,05\sqrt{\frac{n}{p(1-p)}}\overset{(\text{Obs.})}{\geq} 1,96\quad\rightarrow\quad n\geq \left(\frac{1,96}{0,05}\right)^2p(1-p)$$

Screenshot_310

How $p(1-p)\leq \frac{1}{4},$ we have to $$n\geq \left(\frac{1,96}{0,05}\right)^2\frac{1}{4}\approx384,16$$

Therefore, we must interview at least 385 voters.

↑