1. Home
  2. Explore
  3. Statistics
  4. Probability Distributions and Limit Theorems

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Probability Distributions and Limit Theorems

Probability Theory: Distributions, Moment-Generating Functions, and Limit Theorems

1. Random variables, distributions, and independence

A random variable assigns a numerical value to each outcome of a random experiment. Its probability distribution describes how likely its possible values are.

Discrete random variables

A discrete random variable XXX is described by a probability mass function (PMF), written fX(x)f_X(x)fX​(x) or pX(x)p_X(x)pX​(x). It assigns a probability to each possible value:

  • fX(x)≥0f_X(x) \geq 0fX​(x)≥0 for every xxx.

  • The probabilities over all possible values sum to 111:

    ∑xfX(x)=1.\sum_x f_X(x)=1.∑x​fX​(x)=1.

For example, if XXX takes the values −1-1−1, 000, and 111, each with probability 13\frac{1}{3}31​, then fX(−1)=fX(0)=fX(1)=13f_X(-1)=f_X(0)=f_X(1)=\frac{1}{3}fX​(−1)=fX​(0)=fX​(1)=31​.

Continuous random variables

A continuous random variable YYY is described by a probability density function (PDF), written fY(y)f_Y(y)fY​(y). A PDF is nonnegative and integrates to 111 over the variable’s support:

∫supportfY(y) dy=1.\int_{\text{support}} f_Y(y)\,dy=1.∫support​fY​(y)dy=1.

For example, the uniform distribution on [0,1][0,1][0,1] has density fY(y)=1f_Y(y)=1fY​(y)=1 for 0≤y≤10\leq y\leq 10≤y≤1 and 000 elsewhere. A density is not itself the probability of an individual value; for a continuous variable, the probability of any single point is 000. Probabilities are obtained by integrating the density over intervals or other sets.

Probabilities and expectations

For an event AAA, its probability is obtained by summing the PMF over values in AAA in the discrete case, or integrating the PDF over AAA in the continuous case:

Pr⁡(X∈A)=∑x∈AfX(x),Pr⁡(Y∈A)=∫AfY(y) dy.\Pr(X\in A)=\sum_{x\in A} f_X(x), \qquad \Pr(Y\in A)=\int_A f_Y(y)\,dy.Pr(X∈A)=∑x∈A​fX​(x),Pr(Y∈A)=∫A​fY​(y)dy.

The expectation, or mean, is the probability-weighted average of a random variable’s values:

E[X]=∑xxfX(x),E[Y]=∫yfY(y) dy.\mathbb{E}[X]=\sum_x x f_X(x), \qquad \mathbb{E}[Y]=\int y f_Y(y)\,dy.E[X]=∑x​xfX​(x),E[Y]=∫yfY​(y)dy.

The expectation is a long-run average over repeated observations; it need not be a value the variable can actually take.

Independence

Two random variables X1X_1X1​ and X2X_2X2​ are independent when the occurrence of an event involving one does not affect the probability of an event involving the other. Formally, for all appropriate events AAA and BBB,

Pr⁡(X1∈A,  X2∈B)=Pr⁡(X1∈A)Pr⁡(X2∈B).\Pr(X_1\in A,\;X_2\in B) = \Pr(X_1\in A)\Pr(X_2\in B).Pr(X1​∈A,X2​∈B)=Pr(X1​∈A)Pr(X2​∈B).

For a collection of several variables, pairwise independence means every pair is independent. It does not necessarily mean the entire collection is independent. Mutual independence is stronger: every subcollection must satisfy the corresponding factorization of joint probabilities. Unless otherwise specified, saying that several variables are independent generally means mutual independence.


2. Normal and log-normal distributions

Normal distribution

A continuous random variable YYY has a normal distribution with mean μ\muμ and variance σ2\sigma^2σ2, written Y∼N(μ,σ2)Y\sim N(\mu,\sigma^2)Y∼N(μ,σ2), when its density is

fY(y)=1σ2πexp⁡ ⁣(−(y−μ)22σ2),y∈R.f_Y(y) = \frac{1}{\sigma\sqrt{2\pi}} \exp\!\left(-\frac{(y-\mu)^2}{2\sigma^2}\right), \qquad y\in\mathbb{R}.fY​(y)=σ2π​1​exp(−2σ2(y−μ)2​),y∈R.

The parameter μ\muμ is the mean and the center of the symmetric bell-shaped curve. The parameter σ\sigmaσ is the standard deviation, and σ2\sigma^2σ2 is the variance. The standard normal distribution is N(0,1)N(0,1)N(0,1).

Why normal distributions can be unsuitable for modeling stock prices

A model based on normally distributed absolute price changes gives the same scale of fluctuations regardless of the stock’s current price. For example, it treats a change of a given number of dollars as equally typical when a stock is inexpensive and when it is much more expensive. It also allows prices to become negative.

A model based on relative changes is often more appropriate: a given percentage change is more meaningful than a fixed dollar change. If log returns are normally distributed, then the logarithm of the price is normal, so the price itself is log-normal. This model keeps prices positive and reflects multiplicative growth.

Log-normal distribution

A positive random variable XXX is log-normal if its natural logarithm is normally distributed:

ln⁡X∼N(μ,σ2).\ln X\sim N(\mu,\sigma^2).lnX∼N(μ,σ2).

Applying the change-of-variable formula gives its density:

fX(x)=1xσ2πexp⁡ ⁣(−(ln⁡x−μ)22σ2),x>0.f_X(x) = \frac{1}{x\sigma\sqrt{2\pi}} \exp\!\left(-\frac{(\ln x-\mu)^2}{2\sigma^2}\right), \qquad x>0.fX​(x)=xσ2π​1​exp(−2σ2(lnx−μ)2​),x>0.

The parameters μ\muμ and σ\sigmaσ refer to the normal distribution of ln⁡X\ln XlnX, not directly to the mean and standard deviation of XXX. Exponentiation makes the distribution skewed, so its mean is not simply eμe^\mueμ. In fact,

E[X]=eμ+σ2/2,Var⁡(X)=(eσ2−1)e2μ+σ2.\mathbb{E}[X]=e^{\mu+\sigma^2/2}, \qquad \operatorname{Var}(X) = \left(e^{\sigma^2}-1\right)e^{2\mu+\sigma^2}.E[X]=eμ+σ2/2,Var(X)=(eσ2−1)e2μ+σ2.

These formulas illustrate why the log-normal parameters should not be mistaken for the mean and variance of the original variable.

Other distributions and the exponential family

The Poisson and exponential distributions are other standard distributions that arise in probability and statistics. Along with the normal and log-normal distributions, they are examples associated with the broader idea of an exponential family.

A distribution belongs to an exponential family if its density or mass function can be written in a form such as

f(x∣θ)=h(x)c(θ)exp⁡ ⁣(∑i=1kwi(θ)ti(x)).f(x\mid\theta) = h(x)c(\theta) \exp\!\left(\sum_{i=1}^{k} w_i(\theta)t_i(x)\right).f(x∣θ)=h(x)c(θ)exp(∑i=1k​wi​(θ)ti​(x)).

Here, h(x)h(x)h(x) and ti(x)t_i(x)ti​(x) depend on the observation xxx, while c(θ)c(\theta)c(θ) and wi(θ)w_i(\theta)wi​(θ) depend on the parameter vector θ\thetaθ. The separation of data-dependent and parameter-dependent terms gives this family useful mathematical and statistical structure. For independent observations, products of densities preserve a tractable form, which is one reason exponential-family distributions are convenient in statistical analysis.

For example, the log-normal density can be rearranged as

fX(x)=1x1σ2πexp⁡ ⁣(−μ22σ2)exp⁡ ⁣(−(ln⁡x)22σ2+μln⁡xσ2).f_X(x) = \frac{1}{x} \frac{1}{\sigma\sqrt{2\pi}} \exp\!\left(-\frac{\mu^2}{2\sigma^2}\right) \exp\!\left( -\frac{(\ln x)^2}{2\sigma^2} + \frac{\mu\ln x}{\sigma^2} \right).fX​(x)=x1​σ2π​1​exp(−2σ2μ2​)exp(−2σ2(lnx)2​+σ2μlnx​).

This separates a factor depending only on xxx, a factor depending only on μ\muμ and σ\sigmaσ, and terms combining functions of the parameters with functions of the observation.


3. Moments and moment-generating functions

Moments

The kkkth raw moment of a random variable XXX is

E[Xk].\mathbb{E}[X^k].E[Xk].

Moments summarize aspects of a distribution. For example, the first raw moment is the mean, while the second central moment, E[(X−μ)2]\mathbb{E}[(X-\mu)^2]E[(X−μ)2], is the variance.

Definition and purpose of the MGF

The moment-generating function (MGF) of XXX is

MX(t)=E[etX],M_X(t)=\mathbb{E}[e^{tX}],MX​(t)=E[etX],

for values of ttt where this expectation is finite. An MGF does not necessarily exist for every random variable or every value of ttt.

When it exists in a neighborhood of t=0t=0t=0, its derivatives at 000 generate the moments:

MX(k)(0)=E[Xk].M_X^{(k)}(0)=\mathbb{E}[X^k].MX(k)​(0)=E[Xk].

Consequently, near t=0t=0t=0 the MGF can be represented by the Taylor expansion

MX(t)=∑k=0∞tkk!E[Xk],M_X(t) = \sum_{k=0}^{\infty} \frac{t^k}{k!}\mathbb{E}[X^k],MX​(t)=∑k=0∞​k!tk​E[Xk],

when the expansion is valid. The MGF provides a compact way to work with many moments at once.

For a normal random variable X∼N(μ,σ2)X\sim N(\mu,\sigma^2)X∼N(μ,σ2),

MX(t)=exp⁡ ⁣(μt+σ2t22).M_X(t)=\exp\!\left(\mu t+\frac{\sigma^2t^2}{2}\right).MX​(t)=exp(μt+2σ2t2​).

In particular, for a centered normal variable with variance σ2\sigma^2σ2, the MGF is exp⁡(t2σ2/2)\exp(t^2\sigma^2/2)exp(t2σ2/2).

When an MGF does not exist

For a log-normal random variable, E[etX]\mathbb{E}[e^{tX}]E[etX] is infinite for t>0t>0t>0. Thus its MGF does not exist on any open interval around 000, even though some individual moments of XXX are finite. This matters because the standard MGF methods require existence near zero, not merely that a variable has a mean or variance.

MGFs and identifying distributions

If two random variables have MGFs that agree on a neighborhood of 000, then they have the same distribution. Under the required existence conditions, the MGF encodes the full distribution, not just a few summary statistics.

The converse must be used carefully: having the same moments does not always imply having the same distribution. The apparent contradiction is resolved by the fact that an MGF may not exist near 000. Without that existence, moments alone need not determine the distribution.

Convergence using MGFs

MGFs can also help establish convergence in distribution. Roughly, if a sequence of MGFs converges to the MGF of a random variable in a neighborhood of zero, under the relevant regularity conditions the associated distributions converge to that variable’s distribution. Convergence in distribution is commonly expressed through cumulative distribution functions: at continuity points xxx of the limit distribution,

Pr⁡(Xn≤x)⟶Pr⁡(X≤x).\Pr(X_n\leq x)\longrightarrow\Pr(X\leq x).Pr(Xn​≤x)⟶Pr(X≤x).

This is a statement about the distributions of the variables; it does not mean that the random variables must converge pointwise outcome by outcome.


4. The law of large numbers

Let X1,…,XnX_1,\ldots,X_nX1​,…,Xn​ be independent, identically distributed (i.i.d.) random variables with mean μ\muμ and finite variance σ2\sigma^2σ2. Their sample average is

X‾n=1n∑i=1nXi.\overline{X}_n=\frac{1}{n}\sum_{i=1}^{n}X_i.Xn​=n1​∑i=1n​Xi​.

The weak law of large numbers states that the sample average becomes close to the population mean with high probability as the number of observations grows. In symbols, for every ε>0\varepsilon>0ε>0,

Pr⁡ ⁣(∣X‾n−μ∣>ε)⟶0as n⟶∞.\Pr\!\left(|\overline{X}_n-\mu|>\varepsilon\right) \longrightarrow 0 \qquad\text{as }n\longrightarrow\infty.Pr(∣Xn​−μ∣>ε)⟶0as n⟶∞.

This does not say that every finite sample average equals μ\muμ. It says that the probability of a fixed-size deviation from μ\muμ becomes small for sufficiently large samples.

Why averaging reduces variability

By linearity of expectation,

E[X‾n]=1n∑i=1nE[Xi]=μ.\mathbb{E}[\overline{X}_n] = \frac{1}{n}\sum_{i=1}^{n}\mathbb{E}[X_i] = \mu.E[Xn​]=n1​∑i=1n​E[Xi​]=μ.

Independence makes the variance of the sum equal to the sum of the individual variances, so

Var⁡(X‾n)=1n2∑i=1nVar⁡(Xi)=σ2n.\operatorname{Var}(\overline{X}_n) = \frac{1}{n^2}\sum_{i=1}^{n}\operatorname{Var}(X_i) = \frac{\sigma^2}{n}.Var(Xn​)=n21​∑i=1n​Var(Xi​)=nσ2​.

Thus, averaging leaves the mean unchanged but reduces the variance by a factor of nnn.

Chebyshev’s inequality proof

Chebyshev’s inequality gives

Pr⁡ ⁣(∣X‾n−μ∣>ε)≤Var⁡(X‾n)ε2=σ2nε2.\Pr\!\left(|\overline{X}_n-\mu|>\varepsilon\right) \leq \frac{\operatorname{Var}(\overline{X}_n)}{\varepsilon^2} = \frac{\sigma^2}{n\varepsilon^2}.Pr(∣Xn​−μ∣>ε)≤ε2Var(Xn​)​=nε2σ2​.

For fixed ε>0\varepsilon>0ε>0, the right-hand side tends to 000 as nnn grows, proving the weak law under the stated finite-variance assumptions.

The bound also gives a conservative sample-size estimate. To make the probability of a deviation greater than ε\varepsilonε at most δ\deltaδ, it is sufficient that

n≥σ2δε2.n\geq \frac{\sigma^2}{\delta\varepsilon^2}.n≥δε2σ2​.

This bound may be loose; sharper concentration inequalities can give much smaller required sample sizes.

Long-run advantage and repeated play

The law of large numbers helps explain why a small advantage can matter over many repeated trials. A casino game can have large short-term variability, making an individual player’s outcome unpredictable. From the casino’s perspective, however, many plays cause the average result to approach its expected value. If the game has an expected advantage for the casino, a sufficiently large number of plays makes that advantage increasingly consequential.

Poker differs when players compete against one another: a skilled player may have an advantage over opponents. However, the casino typically charges a fee, or rake, for play. A player’s advantage over opponents must be large enough to exceed this cost for repeated play to have a positive expected result. In any repeated-trial setting, the law of large numbers does not create an advantage; it makes the average outcome increasingly reflect the expected advantage that is already present.

Weak and strong laws

The weak law describes convergence in probability: the chance of a fixed-size error goes to zero. The strong law of large numbers gives a stronger form of convergence, typically asserting that the sample average converges to μ\muμ with probability 111. There are also versions of the law under assumptions weaker than finite variance; the finite-variance condition is a convenient setting for the proof above.


5. The central limit theorem

The law of large numbers says that an average approaches its mean. The central limit theorem (CLT) describes the scale and shape of the fluctuations around that mean.

For i.i.d. random variables X1,…,XnX_1,\ldots,X_nX1​,…,Xn​ with finite mean μ\muμ and finite variance σ2\sigma^2σ2, define the standardized sum

Yn=n(X‾n−μ)=1n∑i=1n(Xi−μ).Y_n = \sqrt{n}\left(\overline{X}_n-\mu\right) = \frac{1}{\sqrt{n}}\sum_{i=1}^{n}(X_i-\mu).Yn​=n​(Xn​−μ)=n​1​∑i=1n​(Xi​−μ).

The central limit theorem states that, as nnn grows, YnY_nYn​ converges in distribution to a normal random variable with mean 000 and variance σ2\sigma^2σ2:

Yn→dN(0,σ2).Y_n\xrightarrow{d}N(0,\sigma^2).Yn​d​N(0,σ2).

Equivalently, at every continuity point xxx of the normal distribution,

Pr⁡(Yn≤x)⟶Pr⁡(Z≤x),Z∼N(0,σ2).\Pr(Y_n\leq x) \longrightarrow \Pr(Z\leq x), \qquad Z\sim N(0,\sigma^2).Pr(Yn​≤x)⟶Pr(Z≤x),Z∼N(0,σ2).

The normalization is important. The ordinary average has variance σ2/n\sigma^2/nσ2/n, which shrinks to zero. Multiplying its centered value by n\sqrt{n}n​ restores a nonvanishing variance of σ2\sigma^2σ2. The CLT then says that this rescaled fluctuation is approximately normal for large n‘,eveniftheindividualn`, even if the individualn‘,eveniftheindividualX_i$ are not normally distributed.

MGF outline of the proof

When the MGF of each XiX_iXi​ exists in a neighborhood of zero, the theorem can be proved by examining the MGF of YnY_nYn​. Independence gives

MYn(t)=[E ⁣(e t(X1−μ)/n)]n.M_{Y_n}(t) = \left[ \mathbb{E}\!\left( e^{\,t(X_1-\mu)/\sqrt{n}} \right) \right]^n.MYn​​(t)=[E(et(X1​−μ)/n​)]n.

For fixed ttt, a Taylor expansion around zero yields

E ⁣(e t(X1−μ)/n)=1+t2σ22n+o ⁣(1n).\mathbb{E}\!\left( e^{\,t(X_1-\mu)/\sqrt{n}} \right) = 1+\frac{t^2\sigma^2}{2n} +o\!\left(\frac{1}{n}\right).E(et(X1​−μ)/n​)=1+2nt2σ2​+o(n1​).

The linear term vanishes because E[X1−μ]=0\mathbb{E}[X_1-\mu]=0E[X1​−μ]=0. Therefore,

MYn(t)=[1+t2σ22n+o ⁣(1n)]n⟶et2σ2/2,M_{Y_n}(t) = \left[ 1+\frac{t^2\sigma^2}{2n} +o\!\left(\frac{1}{n}\right) \right]^n \longrightarrow e^{t^2\sigma^2/2},MYn​​(t)=[1+2nt2σ2​+o(n1​)]n⟶et2σ2/2,

which is the MGF of N(0,σ2)N(0,\sigma^2)N(0,σ2). MGF convergence then yields convergence in distribution under the required conditions.

The MGF-based argument is one proof approach, not a requirement for the CLT itself. The usual CLT requires finite mean and variance, even in cases where the MGF does not exist near zero.


6. Estimating an unknown mean

Suppose a random variable has an unknown mean μ\muμ. Repeated independent observations X1,…,XnX_1,\ldots,X_nX1​,…,Xn​ can be used to estimate it with the sample mean,

X‾n=1n∑i=1nXi.\overline{X}_n=\frac{1}{n}\sum_{i=1}^{n}X_i.Xn​=n1​∑i=1n​Xi​.

The law of large numbers says that this estimator approaches μ\muμ as the sample size increases. The CLT describes its approximate error distribution for large nnn:

X‾n is approximately distributed as N ⁣(μ,σ2n).\overline{X}_n \ \text{is approximately distributed as}\ N\!\left(\mu,\frac{\sigma^2}{n}\right).Xn​ is approximately distributed as N(μ,nσ2​).

Thus, the typical scale of its error is σ/n\sigma/\sqrt{n}σ/n​. Increasing the sample size improves precision, although reducing the standard error by a factor of 222 requires roughly four times as many observations.

The sample mean is a natural and important estimator, but it is not the best estimator in every problem. The best choice depends on the distribution, the quantity being estimated, and the criterion used to judge estimation quality. In particular, the sample mean is not universally the maximum likelihood estimator; the maximum likelihood estimator depends on the assumed statistical model.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent