MIT 18.650 — Lectures 1–3
Random Variables and Convergence
§ Preliminaries
First, getting some jargon and preliminary facts out of the way.
When we write , we mean is a random variable distributed as some probability measure .
So we can write , but not where is a random variable.
We often say samples are independent, identically distributed, or i.i.d. for short.
As shorthand for “ and are independent”, we may also write “”.
Given a random variable …
The sample mean is , whereas the true (population) mean is .
The sample mean (assuming i.i.d. ) is itself a random variable!
The sample variance is , whereas the true (population) variance is .
Some discrete distributions to know…
is a weighted coin flip, with and .
is the sum of independent trials of .
is given by .
Some continuous distributions to know…
is the uniform distribution: all values in are equally likely.
is the exponential distribution, with PDF .
is the normal distribution, with PDF .
Theorem. (Linearity) For any random variables and , we have . Furthermore, if and are independent, then .
Remark. If and are not independent, a counterexample to the latter of the two statements is , say.
An immediate corollary of the above fact is the following.
Theorem. (Sample Mean Stats) Suppose are sampled i.i.d., yielding a sample mean . Suppose further that and . Then and .
§ Convergence Definitions
Definition (Convergence in Probability). Given random variables and a random variable , we say “ converges to in probability” (denoted ) if:
For every , we have as .
Definition (Convergence in Distribution). Given random variables and a random variable , we say “ converges to in distribution” (denoted ) if:
For all where is continuous, we have as .
Remark. Think of “convergence in distribution” as saying that the CDFs of and get sufficiently close together.
Example. Consider independent and . Then is true, but is not.
Expectedly, convergence in distribution is much less strict than convergence in probability. Here's a not-completely-obvious theorem.
Theorem. (Relationship Between Convergence) If , then .
Remark. Convergence in probability is possible… but it's really uncommon.
Example. Consider , and define . Then .
Example. Consider , and define . Then .
These examples feel kind of hacky, though—and it turns out, they have to be!
Fact. If for all and , then for some constant .
This isn't explicitly in the 18.650 curriculum, but we'll prove it later anyway, once we learn what we need to do so.
Here's a completely-obvious theorem.
Theorem. (Convergence to Constant) We have if and only if .
§ LLN and CLT
Theorem. (Weak Law of Large Numbers) Consider i.i.d. random variables satisfying . Then their sample mean converges in probability to ; that is, .
Proof: Chebyshev's, assuming finite variance; the point is that as .
Remark. The “Strong Law of Large Numbers” roughly says, more strongly, that .
Theorem. (Central Limit Theorem) Given i.i.d. with mean and variance , we have:
Remark. We use some shorthand here: is short for .
You can at least sanity-check CLT; the and clearly match. But the proof is very nontrivial.
§ Convergence Properties
The former of these two bullets is not hard to prove; the latter is pretty hard.
Theorem. (Convergence of Sums and Products) Consider , , , and random variables.
If and , then and .
(Slutsky's Theorem) If and , then , and .
Remark. Consider the following false statement.
If and , then .
A counterexample is with , and .
To prove things about convergence, it helps to know the following fact.
Theorem. (Continuous Mapping Theorem) If , then for any continuous function . Similarly, if , then .
§ The Delta Method
This lets us justify the so-called “Delta method”.
Theorem. (Delta Method) Consider a sequence of random variables such that . Then for any differentiable such that , we have:
(Naturally, you should think to use the Delta method for .)
More intuitively, the Delta method is just the CLT with a attached; when , the Delta method is the CLT verbatim.
Proof: Just Taylor expand around .
The first term, by CLT, converges () to . The second term converges () to .
§ Applying Convergence Theorems
Here's the set-up.
Set-Up. Someone claims Harvard grads have a mean salary of below K. To test this, you collect salaries (i.i.d.) and find that K and K (in thousands).
You'd like to say ; this would let you compute using the normal distribution.
But the CLT doesn't immediately apply here—the true standard deviation isn't known to be . What now?
Remark. As a reminder, the sample standard deviation is the same as , where is the sample variance.
The point is that Slutsky's Theorem lets us say anyway, even though we don't know the exact value of .
Theorem. (Sample Variance is Unbiased) We have , where is the sample variance.
Proof: Just expand everything and apply linearity. The details look like this:
And that's why the sample variance has a factor; if it were , it would no longer be unbiased!
Unbiasedness alone says nothing about large , so we need one more fact.
Theorem. (Sample Variance is Consistent) Assuming , we have .
Proof: The Law of Large Numbers doesn't apply to as written, since is not the mean of i.i.d. sampled random variables. Let's rewrite to fix that.
Now the Law of Large Numbers does apply, twice:
The are i.i.d. with finite mean , so the LLN says .
The LLN says . Then the Continuous Mapping Theorem (with ) gives .
Convergence of Sums then handles the bracketed part of .
As for the leftover factor, note that , so convergence of products yields , as desired.
With the above, we can justify as follows:
By consistency of the sample variance, .
Then the Continuous Mapping Theorem (with ) gives . In other words, .
Also, the Central Limit Theorem tells us .
Applying Slutsky's Theorem on points 2 and 3 yields , done!
§ Convergence in Probability is Hard
To close things off, let's prove that not-in-18.650-curriculum fact from earlier.
Theorem. (Convergence in Probability is Hard) If for all and , then for some constant .
Proof: We may assume and are bounded; if they're not, just replace them with and , legal by the Continuous Mapping Theorem. Then the independence yields:
Letting , we get , or , which implies is almost surely constant.
Remark. The convergence in probability—not true in convergence in distribution—comes from the step .