1. Central Limit Theorem
Central Limit Theorem wants to show the limit distribution of
To constrain the mean and variance as grows, we need to standardize it as
1.1 CLT with i.i.d. Condition
Theorem (Simplified CLT). Let be i.i.d. random variables with and . Then, as ,
Theorem (General i.i.d. CLT). Let be i.i.d. random variables, and suppose there exists MGF for some neighborhood of , i.e. such that , exists. Furthermore, , , and
Define as the CDF of . Then, ,
Theorem (Lindeberg-Levy CLT). Let be i.i.d. random variables with and . Denote
Then, ,
Proof
To prove the last equation, we only need to prove that , and it is equivalent to show , which is the CF of .
Denote the CF of as , then the CF of is
Given that and , we can do the Taylor expansion of as
Then,
as .
Note: Meaning of CLT
CLT shows that, regardless of the original distribution of , as long as is sufficiently large and the i.i.d. and finite variance assumptions hold, the distribution of or will be approximately normal. This also indicates why measurement error is often assumed to be normally distributed, since it is the sum of many small errors.
Example (Generate from by Lindeberg-Levy CLT).
- Generate 12 i.i.d. random variables . Then, and .
- Calculate
- Transform to .
- Repeat the above steps for times, and we can get samples from .
1.2 CLT with Independent but Not Identical Condition
In practice, the i.i.d. condition is often too strict. In many cases, the random variables are independent but not identical. Here, we still want to show that, even if the random variables are not identically distributed, given some conditions, the sum will be approximately normal.
1.2.1 Lindeberg-Feller CLT
In Lindeberg-Feller CLT, the key is to make each term “uniformly small” compared to the sum of all terms.
Definition (Lindeberg-Feller condition). Let be independent random variables with finite mean and variance: and . Denote . Then
and
Then can be standardized as
To make each term of “uniformly small”, we can constrain the probability of event to converge to :
By probability theory, we can further derive:
And the last term can be further derived as:
Then, we can derive the Lindeberg-Feller condition as, for any :
Here, is the Lindeberg-Feller condition.
Theorem (Lindeberg-Feller CLT). For random variables satisfying the Lindeberg-Feller condition, for any ,
It can be further proved that, if are i.i.d. with finite variance, then the Lindeberg-Feller condition is satisfied.
1.2.2 Lyapunov CLT
Theorem (Lyapunov CLT). Let be a sequence of independent random variables. If there exists a such that :
then
2. Applications Using CLT
2.1 Error Analysis
- In numerical analysis, there is a kind of error called round-off error, which is caused by the finite precision of computer arithmetic. For example, when we calculate , we can only use a finite number of digits to represent it like .
- More generally, if we calculate summation of such numbers , approximating it as , and denote the error as , then the overall error is .
- By the property of rounding, if the approximated value , then the real value should be in the interval . Thus the error of a -digit approximation can be regarded as a uniform distribution in .
- Now use CLT to analyze the error of . Since the error of each term is uniformly distributed in , then and . By CLT:
2.2 Normal Approximation
2.2.1 Normal Approximation with Unknown
From CLT above,
However, in practice, we often do not know the value of . In this case, we can use the sample variance
to estimate . Then, Slutsky’s theorem can guarantee that:
2.2.2 Normal Approximation of Negative-Binomial Distribution
Assume are i.i.d. . Then and . By CLT:
2.2.3 Normal Approximation of Bernoulli Distribution
Note: De Moivre-Laplace CLT
De Moivre-Laplace CLT is a special case of CLT, and actually the first one to be proved. It shows that the binomial distribution can be approximated by normal distribution when is large.
Assume in Bernoulli trials , and denote as the number of times happened. Then and . By CLT:
Note: Normal approximation details
- Normal approximation vs. Poisson approximation. Empirically, when and , the normal approximation is better than Poisson approximation. Else if is small, Poisson approximation is better.
- Laplace’s correction. In De Moivre-Laplace CLT, we use a continuous distribution to approximate a discrete distribution. If and , then:
especially when are integers.
Using CLT, we can approximate:
where , is the CDF of , and .