Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Economics

6 Asymptotics

National Graduate Institute for Policy Studies (GRIPS)

In this chapter we cover some fundamental results from probability theory concerning asymptotics of random sequences.

6.1LLN and CLT

The law of large numbers and central limit theorem are two of the pillars of econometrics and statistics. Below we review both theorems, starting with the necessary concepts of convergence in probability and distribution.

6.1.1Convergence of Random Vectors

A sequence of random vectors {xn}\{\boldx_n\} is said to converge in probability to a random vector x\boldx if,

for all δ>0,P{∥xn−x∥>δ}→0asn→∞\text{for all } \delta > 0, \quad \PP \{ \|\boldx_n - \boldx\| > \delta \} \to 0 \quad \text{as} \quad n \to \infty

In symbols, we write xn→px\boldx_n \toprob \boldx. In the scalar case ∥xn−x∥\|\boldx_n - \boldx\| reduces to ∣xn−x∣|x_n - x|.

\PP \{ |x_n | > \delta \} \to 0 when \lL(x_n) = \nN(0, 1/n)

Figure 6.1:P{∣xn∣>δ}→0\PP \{ |x_n | > \delta \} \to 0 when L(xn)=N(0,1/n)\lL(x_n) = \nN(0, 1/n)

Part (i) is an immediate consequence of the definition. Other proofs are touched on in the exercises. For more details, see, for example, Çinlar (2011).

The scalar sequence {xn}\{x_n\} is said to converge to xx in mean square if

E (xn−x)2→0asn→∞\EE (x_n - x)^2 \to 0 \quad \text{as} \quad n \to \infty

and we write xn→msxx_n \toms x. Unlike convergence in probability, for convergence in mean square to be defined we require that our variables have finite second moments.

Part (i) follows from Chebyshev’s inequality . In particular, from monotonicity of P\PP and (4.19) we get

P{∣xn−x∣>δ}⩽P{∣xn−x∣⩾δ}⩽E (xn−x)2δ2\PP\{|x_n - x| > \delta \} \leq \PP\{|x_n - x| \geq \delta \} \leq \frac{\EE (x_n - x)^2}{\delta^2}

Part (ii) is implied by the next fact.

As we’ll see later, (6.3) plays an important role in statistics. Its verification is an exercise. (The proof is straightforward. If you want more of a challenge, try to obtain it as a consequence of (iv) of fact 5.2.4.)

6.1.2The Law of Large Numbers

The law of large numbers (LLN) is one of the most fundamental theorems of both probability and statistics. As a prelude to the LLN, let’s consider the effects of averaging over independent random quantities. We’ll take the perspective of investors, who often diversify their portfolios in order to decrease risk. To formalize this idea let

If we hold just asset 1, then the payoff is x1x_1, the expected payoff is μ\mu and the variance is σ2\sigma^2. If we diversify by spreading one dollar evenly over NN of these assets, our payoff is

xˉN:=1N∑n=1Nxn\bar x_N := \frac{1}{N} \sum_{n=1}^N x_n

The expected payoff is unchanged at

E xˉN=E [1N∑n=1Nxn]=1N∑n=1NE xn=μ\EE \bar x_N = \EE \left[ \frac{1}{N} \sum_{n=1}^N x_n \right] = \frac{1}{N} \sum_{n=1}^N \EE x_n = \mu

But the variance declines at rate 1N\frac{1}{N} because

E [(xˉN−μ)2]=E {[1N∑i=1N(xi−μ)]2}=1N2∑i=1N∑j=1NE (xi−μ)(xj−μ)=1N2∑i=1NE (xi−μ)2=σ2N\begin{aligned} \EE [(\bar x_N - \mu)^2 ] & = \EE \left\{ \left[ \frac{1}{N} \sum_{i=1}^N (x_i - \mu) \right]^2 \right\} \\ & = \frac{1}{N^2} \sum_{i=1}^N \sum_{j=1}^N \EE (x_i - \mu)(x_j - \mu) = \frac{1}{N^2} \sum_{i=1}^N \EE (x_i - \mu)^2 = \frac{\sigma^2}{N} \end{aligned}

The important equality here is the third one, which holds because of the zero covariance between assets. In this step N2N^2 terms become NN terms. To summarize,

E xˉN=μandvar⁡[xˉN]=σ2Nfor all N\EE \bar x_N = \mu \quad \text{and} \quad \var[ \bar x_N ] = \frac{\sigma^2}{N} \quad \text{for all } N

Now imagine someone is kind enough to sell us an unlimited quantity of such assets, so we can diversify without limit. By taking N→∞N \to \infty and combining (6.5) with fact 6.1.2 we obtain a proof of the law of large numbers:

Actually we haven’t fully proved the LLN because we assumed existence of second moments above, while theorem 6.1.1 assumes only existence of the first moment. However, the proof above captures the spirit of the LLN most cleanly. (See theorem 8.3.5 of Dudley (2002) for the general case.)

At first glance, the law of large numbers (6.6) appears to only be a statement about the sample mean but in fact it’s self-improving: We can go from (6.6) to arbitrary functions of random variables, or even random vectors. In particular, if x\boldx is any random vector, {xn}\{\boldx_n\} are IID copies and h ⁣:RN→Rh \colon \RR^N \to \RR is any B\bB-measurable function such that h(x)h(\boldx) is integrable, then

1N∑n=1Nh(xn)→pE h(x) as N→∞\frac{1}{N} \sum_{n=1}^N h(\boldx_n) \toprob \EE h(\boldx) \quad \text{ as } \quad N \to \infty

This can be confirmed by letting yn:=h(xn)y_n := h(\boldx_n) and then applying theorem 6.1.1. The independence of {yn}\{y_n\} is confirmed by fact 5.1.10. That each yny_n has the same distribution as y:=h(x)y := h(\boldx) follows from

P{yn∈B}=P{h(xn)∈B}=P{xn∈h−1(B)}=P{x∈h−1(B)}\PP\{y_n \in B\} = \PP\{h(\boldx_n) \in B\} = \PP\{\boldx_n \in h^{-1}(B)\} = \PP\{\boldx \in h^{-1}(B)\}

The law of large numbers applies to probabilities as well as expectations. To see this, fix B⊂B(RN)B \subset \bB(\RR^N), and consider the probability P{x∈B}\PP\{\boldx \in B\}. Letting hh be the indicator function h(s)=1 ⁣ ⁣1B(s)=1 ⁣ ⁣1{s∈B}h(\bolds) = \1_B(\bolds) = \1\{\bolds \in B\} and using the principle that expectations of indicators equal probabilities of events, we have

E h(x)=E 1 ⁣ ⁣1{x∈B}=P{x∈B}\EE h(\boldx) = \EE \1\{\boldx \in B\} = \PP \{\boldx \in B\}

Combining this equality with (6.7), we see that if {xn}\{\boldx_n\} is IID with distribution PP, then

1N∑n=1N1 ⁣ ⁣1{xn∈B}→pP(B)\frac{1}{N} \sum_{n=1}^N \1\{\boldx_n \in B\} \toprob P(B)

In words, the fraction of the sample that falls in BB converges to the probability that the distribution assigns to BB.

6.1.2.1An Illustration

To illustrate the law of large numbers, consider flipping a coin until 10 heads have occurred. The coin is not fair: The probability of heads is 0.4. Let xx be the number of tails observed in the process. This random variable is known to have the negative binomial distribution, with E x=15\EE x =15. The LLN predicts that if we simulate a large number of observations of xx and take the average, we get a value close to 15. Running the Julia code in listing 1 gives outcomes consistent with this claim.[1]

num_reps = 10^6
outcomes = Vector{Float64}(undef, num_reps)

for i in 1:num_reps
    num_tails = num_heads = 0
    while num_heads < 10
        b = rand()
        num_heads = num_heads + (b < 0.4)   # +1 with prob 0.4
        num_tails = num_tails + (b >= 0.4)  # +1 with prob 0.6
    end
    outcomes[i] = num_tails
end

println(sum(outcomes) / num_reps)

Listing 1:Illustrates the LLN (Julia)

Figure 6.2 shows what can happen when the finite first moment condition in the LLN is not enforced. The draws are from the standard Cauchy distribution, which fails to have a finite first moment. The top panel shows observations and the bottom shows a running sample mean of observations xˉN\bar x_N, with NN on the horizontal axis. A few extreme observations dominate the average and the sample mean does not converge.[2]

Samples from the Cauchy distribution and sample mean

Figure 6.2:Samples from the Cauchy distribution and sample mean

6.1.3Convergence in Distribution

As a prelude to the central limit theorem we need to review convergence in distribution. This is conceptually quite different to convergence of random variables, whether in probability or mean square. For example, the distributions N(0,1)\nN(0, 1) and N(10−10,1)\nN(10^{-10}, 1) are very close, but independent draws from these respective distributions need not be.

Let {Pn}\{P_n\} and PP be distributions on RK\RR^K in the sense of Section 5.1.2. To represent the notion that PnP_n converges to PP we could require that Pn(B)→P(B)P_n(B) \to P(B) for all B∈B(RK)B \in \bB(\RR^K). However, this turns out to be rather strict and also indifferent to closeness in the sense of Euclidean norm. For example, suppose that PnP_n is a distribution on R\RR that puts all mass on 1n\frac{1}{n}, while PP puts all mass on 00. Intuition suggests that Pn→PP_n \to P, but if we take B=(0,∞)B = (0, \infty), we have Pn(B)=1P_n(B) = 1 for all nn, while P(B)=0P(B) = 0.

For this reason the common notion of convergence of distributions, which is called weak convergence, requires only that Pn(B)→P(B)P_n(B) \to P(B) for all "continuity sets" in RK\RR^K. There’s an equivalent way to phrase this that’s easier to work with in applications: We say that {Pn}\{P_n\} converges weakly to PP if

∫h(s)Pn( ⁣ds)→∫h(s)P( ⁣ds)for all continuous bounded h ⁣:RK→R\int h(\bolds) P_n(\diff \bolds) \to \int h(\bolds) P(\diff \bolds) \quad \text{for all continuous bounded } h \colon \RR^K \to \RR

and write Pn→wPP_n \tow P. For the definition of these integrals see Section 5.1.3.3. Continuity of hh enforces respect for the topology on RK\RR^K, while boundedness is imposed only to ensure that the integrals are finite.

t-Distribution with k df converges to \nN(0,1) as k \to \infty

Figure 6.3:tt-Distribution with kk df converges to N(0,1)\nN(0,1) as k→∞k \to \infty

Sometimes densities are easier to work with than CDFs. In this connection, the following sufficient condition can be useful.

Let {xn}\{\boldx_n\} and x\boldx be random vectors. We say that xn→x\boldx_n \to \boldx in distribution if their respective distributions converge weakly. This convergence is symbolized by xn→dx\boldx_n \tod \boldx. Thus

xn→dx    ⟺    L(xn)→wL(x)\boldx_n \tod \boldx \; \iff \; \lL(\boldx_n) \tow \lL(\boldx)

In view of fact 5.1.7, this is equivalent to

E [h(xn)]→E [h(x)]for all continuous bounded h ⁣:RK→R\EE[ h(\boldx_n)] \to \EE[ h(\boldx) ] \quad \text{for all continuous bounded } h \colon \RR^K \to \RR

Part (i) of fact 6.1.6 is called the continuous mapping theorem. Part (ii) is called the Cramér–Wold theorem, or the Cramér–Wold device. The next result is sometimes known as Slutsky’s theorem.

An immediate but useful consequence is that

6.1.4The Central Limit Theorem

The central limit theorem is among the most striking and important results in all of mathematics. Relative to the LLN, it requires an additional second moment condition. Here’s a statement of the theorem in the scalar IID case.

The meaning of →d\tod here is that the distribution of the left-hand side →wN(0,σ2)\tow \nN(0, \sigma^2). We can interpret (6.9) as follows: On one hand, (xˉN−μ)→p0(\bar x_N - \mu) \toprob 0 by the LLN; on the other, N→∞\sqrt{N} \to \infty. If we take the product, these two competing terms just balance. Remarkably, the distribution of the product approaches a zero-mean Gaussian as N→∞N \to \infty, regardless of the distribution of xx.

We’ll skip the proof of the CLT (which provides little intuition) and turn to simulation. For starters, see figure 6.4, where QN:=Q_N := the distribution of the left-hand side of (6.9) for N=1,…,5N=1,\ldots,5. The initial distribution Q=Q1Q=Q_1 is multi-modal, and was constructed as a convex combination of three beta distributions. The CLT predicts that QN→wN(0,σ2)Q_N \tow \nN(0, \sigma^2), where σ2=∫s2Q1( ⁣ds)\sigma^2 = \int s^2 Q_1(\diff s). Note how quickly the bell shape emerges, despite the irregularity of the initial distribution.

CLT in action, starting from a beta mixture

Figure 6.4:CLT in action, starting from a beta mixture

Another common statement of the central limit theorem is as follows: If all the conditions of theorem 6.1.2 are satisfied, then

zN:=N{xˉN−μσ}→dN(0,1) as N→∞z_N := \sqrt{N} \left\{ \frac{\bar x_N - \mu}{\sigma} \right\} \tod \nN(0,1) \quad \text{ as } \quad N \to \infty

Exercise 6.4.6 asks you to confirm this.

The convergence in (6.10) is illustrated by listing 2, the output of which is given in figure 6.5. The listing generates 5,000 observations of the random variable zNz_N defined in (6.10), where each xnx_n is χ2(5)\chi^2(5). (The mean of this distribution is 5, and the variance is 2×5=102 \times 5 = 10.) The observations of zNz_N are stored in the vector outcomes. The figure histograms this vector and then superimposes the density of the N(0,1)\nN(0, 1) distribution.

import numpy as np
import scipy.stats as st

num_reps = 5000
outcomes = np.empty(num_reps)
N, k = 1000, 5     # k = degrees of freedom
chi = st.chi2(k)

for i in range(num_reps):
    xvec = chi.rvs(N)
    outcomes[i] = np.sqrt(N / (2 * k)) * (xvec.mean() - k)

# code to histogram outcomes and plot st.norm.pdf
# for comparison is omitted here

Listing 2:Illustrates the CLT (Python)

Observations of z_N in  when the underlying distribution is \chi^2(5)

Figure 6.5:Observations of zNz_N in (6.10) when the underlying distribution is χ2(5)\chi^2(5)

6.2Extensions

In this section we cover some extensions to the classical LLN and CLT.

6.2.1Convergence of Random Matrices

The notion of convergence in probability discussed in Section 6.1.1 extends naturally to matrices. Let {Xn}n=1∞\{\boldX_n\}_{n=1}^{\infty} be a sequence of random N×KN \times K matrices. We say that Xn\boldX_n converges to a random N×KN \times K matrix X\boldX in probability and write Xn→pX\boldX_n \toprob \boldX if

∥Xn−X∥→p0asn→∞\| \boldX_n - \boldX \| \toprob 0 \quad \text{as} \quad n \to \infty

where ∥⋅∥\| \cdot \| is the matrix norm defined in Section 3.3.5.

In part (iii) of fact 6.2.1, the matrices An\boldA_n and A\boldA are nonrandom and convergence is in matrix norm. Note that part (v) can be obtained from two applications of part (iii).

In econometrics we often use the vector version of Slutsky’s theorem:

6.2.2Vector-Valued LLNs and CLTs

The scalar LLN and CLT that we discussed above extend to the vector case in a natural way. For example,

Here 1N∑n=1Nxn\frac{1}{N} \sum_{n=1}^N \boldx_n should be understood in terms of vector addition and scalar multiplication. Thus xˉN\bar \boldx_N is a convex combination of the sample points in RK\RR^K. Figure 6.6 illustrates this in two dimensions. The green dot is μ\boldmu. The black dots are realizations of x1,…,xN\boldx_1,\ldots,\boldx_N. The red dot is the sample mean 1N∑n=1Nxn\frac{1}{N} \sum_{n=1}^N \boldx_n. By (6.11), the red dot converges to the green dot.

LLN, vector case

Figure 6.6:LLN, vector case

The vector LLN in theorem 6.2.1 follows from the scalar LLN. To see this, let xn\boldx_n be as in theorem 6.2.1, let a\bolda be any constant vector in RK\RR^K, let yn:=a⊺xny_n := \bolda^\T \boldx_n and let y:=a⊺xy := \bolda^\T \boldx. The sequence {yn}\{y_n\} is IID (see fact 5.1.10) with the same distribution as yy. By the scalar LLN (theorem 6.1.1), we have

1N∑n=1Nyn→pE y=E [a⊺x]=a⊺E [x]=a⊺μ\frac{1}{N} \sum_{n=1}^N y_n \toprob \EE y = \EE[\bolda^\T \boldx] = \bolda^\T\EE[ \boldx] = \bolda^\T \boldmu

At the same time,

1N∑n=1Nyn=1N∑n=1Na⊺xn=a⊺[1N∑n=1Nxn]=a⊺xˉN\frac{1}{N} \sum_{n=1}^N y_n = \frac{1}{N} \sum_{n=1}^N \bolda^\T \boldx_n = \bolda^\T \left[ \frac{1}{N} \sum_{n=1}^N \boldx_n \right] = \bolda^\T \bar \boldx_N

We have shown that

a⊺xˉN→pa⊺μ   for any   a∈RK\bolda^\T \bar \boldx_N \toprob \bolda^\T \boldmu \; \text{ for any }\; \bolda \in \RR^K

The claim xˉN→pμ\bar \boldx_N \toprob \boldmu now follows from fact 6.1.1.

The vector CLT in theorem 6.2.1 also follows from the scalar case and the proof is quite similar. See exercise 6.4.10.

These results can be further extended to random matrices. In fact we will need a matrix LLN in our investigation of linear regression. Here’s a suitable result:

The proof is straightforward: By fact 6.2.1, to prove (6.13), it suffices to show that 1N∑n=1NXna→pE [X]a\frac{1}{N} \sum_{n=1}^N \boldX_n \bolda \toprob \EE [ \boldX] \bolda for any conformable vector a\bolda. Since Xna\boldX_n \bolda is a vector with expectation E [X]a\EE [ \boldX ] \bolda, this is immediate from the vector LLN in theorem 6.2.1.

6.2.3The Delta Method

The asymptotic normality result in the central limit theorem is preserved under linear transformations, as follows from fact 6.2.2. It turns out that the same thing is true even for functions that are only locally almost linear—that is, for differentiable functions. This greatly extends the power and reach of the central limit theorem.

Here ∇g(θ)\nabla g(\boldtheta) is the gradient vector of gg at θ\boldtheta, which is defined as

∇g(θ):=(g1′(θ)⋮gK′(θ))wheregk′(θ):=∂g(θ)∂θk\nabla g(\boldtheta) := \begin{pmatrix} g'_1(\boldtheta) \\ \vdots \\ g'_K(\boldtheta) \end{pmatrix} \quad \text{where} \quad g'_k (\boldtheta) := \frac{\partial g(\boldtheta)} {\partial \theta_k}

In the scalar case, (6.14) translates to

n{g(tn)−g(θ)}→dN(0,g′(θ)2σ2) as n→∞\sqrt{n} \{ g(t_n) - g(\theta) \} \tod \nN(0, g'(\theta)^2 \sigma^2) \quad \text{ as } \quad n \to \infty

In statistical settings, the technique of obtaining asymptotic distributions by appealing to theorem 6.2.2 is called the delta method. We will see its importance later on. The proof of theorem 6.2.2 is based on a Taylor expansion of gg around the point θ\theta. See theorem 3.1 of Vaart (2000). Exercise 6.4.9 walks you through some of the key ideas.

6.3Further Reading

For high quality treatments of the law of large numbers and the central limit theorem see, for example, Dudley (2002), Taylor (1997), Durrett (2010), Pollard (2002), DasGupta (2008), or Çinlar (2011). An advanced but thorough treatment of the delta method can be found in Vaart (2000).

6.4Exercises

6.4.1Solutions to Selected Exercises

Footnotes
  1. A routine to draw from the negative binomial distribution is available from the Distributions package, but we’ve rolled our own for extra transparency.

  2. In fact it can be shown that the sample mean is itself standard Cauchy for all NN.

  3. Hint: To prove the "if" part use fact 3.3.13.

  4. Hint: Combine theorem 6.1.2 and fact 6.1.6.

References
  1. Çinlar, E. (2011). Probability and Stochastics. New York: Springer.
  2. Dudley, R. M. (2002). Real Analysis and Probability (2nd ed.). Cambridge, UK: Cambridge University Press.
  3. Van der Vaart, A. W. (2000). Asymptotic Statistics. Cambridge, UK: Cambridge University Press.
  4. Taylor, J. C. (1997). An Introduction to Measure and Probability. New York: Springer.
  5. Durrett, R. (2010). Probability: Theory and Examples (4th ed.). Cambridge, UK: Cambridge University Press.
  6. Pollard, D. (2002). A User’s Guide to Measure Theoretic Probability (Vol. 8). Cambridge, UK: Cambridge University Press.
  7. DasGupta, A. (2008). Asymptotic Theory of Statistics and Probability. New York: Springer.