Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 11

Deriving WLLN with Chebyshev's Inequality

Recommended resources

Introduction

Welcome to the third module of our course, focusing on "Asymptotic Theory and Simulation." In our previous lesson, we built a strong geometric intuition for how multiple random variables interact through joint, marginal, and conditional distributions. We saw that for independent and identically distributed (i.i.d.) variables, the full picture simplifies significantly.

Today, we leverage that foundation to explore one of the most fundamental results in probability theory: the Law of Large Numbers (LLN). This theorem formalizes the intuitive idea that the average result from many repeated independent experiments will be close to the expected value. For example, if you flip a fair coin many times, you expect the proportion of heads to get closer and closer to 0.5. The LLN is the mathematical guarantee behind this intuition.

Our goal in this lesson is to go beyond intuition and derive the Weak Law of Large Numbers (WLLN) from first principles using Chebyshev's inequality, which you proved in the previous module. This aligns perfectly with your interest in rigorous mathematical derivations. We will break down the proof into clear, manageable steps.

Let's start with a visual representation of what we're about to prove.

Visual Demonstration of the Weak Law of Large Numbers
This plot visually demonstrates the Weak Law of Large Numbers. Each 'x' represents a sample average calculated from a certain number of samples, N. As N increases (moving to the right), the sample averages cluster more and more tightly around the true mean of 0.5. Our goal today is to prove this convergence mathematically.

1. Formalizing the Law of Large Numbers

The WLLN is a statement about a specific kind of convergence called convergence in probability. Let's define our terms carefully.

The Setup:
Consider a sequence of i.i.d. random variables . Each variable has the same finite mean and the same finite variance .

We define the sample mean as the average of these variables:

It's crucial to remember that since each is a random variable, their sum is also a random variable, and therefore the sample mean is itself a random variable. For any given experiment with trials, will take on a specific value, but it has its own probability distribution.

The Statement (Convergence in Probability):
The Weak Law of Large Numbers states that the sample mean converges in probability to the true mean . Mathematically, this means that for any small, positive number , the probability that the sample mean deviates from the true mean by more than goes to zero as the sample size approaches infinity.

To see a clear, formal statement of this, please watch the first part of the following lecture from MIT OpenCourseWare.

L18.4 The Weak Law of Large Numbers

This video from MIT OpenCourseWare provides a concise and rigorous introduction to the Weak Law of Large Numbers, establishing the setup and the key definitions.

Watch the first 1 minute and 36 seconds of the video. Focus on how the problem is framed with i.i.d. random variables and the definition of the sample mean.


2. The Proof Strategy: Using Chebyshev's Inequality

Our goal is to prove that . This expression should look familiar. It's precisely the form addressed by Chebyshev's inequality, which provides an upper bound for such probabilities.

Let's recall Chebyshev's inequality for a generic random variable .

Chebyshev's Inequality with Visual Representation
A reminder of Chebyshev's Inequality. It states that the probability of a random variable Y deviating from its mean by at least \(\epsilon\) is bounded by its variance divided by \(\epsilon^2\).

The formula is:

Our strategy is to apply this inequality to our random variable of interest, . To do this, we need to calculate its expected value, , and its variance, . If we can show that the right-hand side of the inequality goes to zero as , our proof will be complete.


3. Key Ingredients: Mean and Variance of the Sample Mean

Let's derive the two necessary components for our proof.

A. Expected Value of the Sample Mean

Using the linearity of expectation, which states that the expectation of a sum is the sum of expectations:

Since the variables are identically distributed, for all .

So, the expected value of the sample mean is the true mean. This makes the sample mean an unbiased estimator of the population mean, a concept we will explore in detail later.

B. Variance of the Sample Mean

For the variance, we use the property that and that for independent random variables, the variance of the sum is the sum of the variances.

Because the are independent:

Since they are also identically distributed, for all .

This is a critical result. It shows that the variance of the sample mean shrinks as the sample size increases. This is the mathematical reason why the distribution in the first plot gets tighter for larger .

The following video segments walk through these two derivations clearly.

The Law of Large Numbers

Steve Brunton provides an intuitive derivation of the expectation and variance of the sample mean. This will reinforce the steps we just outlined.

Watch the segment from 05:08 to 08:58. Follow the calculation for both the expected value and the variance of the sample mean, ar{X}_n.


4. Completing the Derivation of the WLLN

Now we have all the pieces to assemble the proof.

  1. Start with Chebyshev's inequality applied to :
  2. Substitute the mean and variance we just derived ( and ):
  3. Take the limit as . Since and are fixed positive constants, the right-hand side of the inequality approaches zero:
  4. Combine with the Squeeze Theorem. We know that probability is always non-negative, so:

    As , the upper bound goes to 0. Therefore, the probability itself must go to 0.

    This completes the proof of the Weak Law of Large Numbers.

For a rigorous, step-by-step write-up of this derivation, please study the following resource. The text format will allow you to trace each logical step at your own pace.

Chebyshev's Weak Law of Large Numbers

The Statlect website provides an excellent, formal proof of Chebyshev's Weak Law of Large Numbers. This is a great resource for solidifying your understanding of the derivation.

Read the section titled 'Chebyshev's Weak Law of Large Numbers', starting from the Proposition and going through the Proof. Compare these written steps to the video derivations to ensure you've fully grasped the logic.


5. Self-Assessment

As you requested, here is an exercise to test your understanding. The Statlect page contains a solved problem that applies the WLLN to a slightly more complex scenario involving a covariance stationary sequence, which is common in time-series analysis and signal processing.

Solved exercises

Now, apply what you've learned. This exercise challenges you to verify the conditions for the WLLN for a sequence that isn't strictly i.i.d. but is covariance stationary.

Navigate to the 'Solved exercises' section at the bottom of the page and attempt 'Exercise 1'. Try to solve it on your own first by deriving the mean, variance, and covariance of the sequence, and then check your work against the provided solution.


Conclusion

In this lesson, you have rigorously proven the Weak Law of Large Numbers, a cornerstone of probability and statistics.

Key Takeaways:

  • The WLLN provides the theoretical justification for using the sample average to estimate the true population mean.
  • The key to the proof is showing that the variance of the sample mean, , diminishes to zero as the sample size grows.
  • By applying Chebyshev's inequality to the sample mean, we can formally show that converges in probability to .

Preview of the Next Lesson:

The WLLN tells us that the sample mean gets close to the true mean. But it doesn't tell us how the values of the sample mean are distributed around that true mean. The Central Limit Theorem (CLT) does exactly that. In our next lesson, we will outline the proof of the CLT, which reveals the remarkable fact that the distribution of the sample mean approaches a Gaussian (normal) distribution as gets large, regardless of the underlying distribution of the individual samples. This is arguably the most important theorem in all of statistics, and it forms the basis for a vast range of data science techniques.