This justifies using the tail integral representation for nonnegative functions of X.
Example: E[e^X] for X ~ Uniform(0,1)
Density: f(x)={1,0,0≤x≤1,otherwise.
Directly, E[eX]=∫01exdx=e−1.
Alternative method via Y = e^X:
CDF: for 1 ≤ x ≤ e, F<em>Y(x)=Pr(Y≤x)=Pr(eX≤x)=Pr(X≤logx)=∫</em>0logxf(t)dt=logx.
Therefore pdf: f<em>Y(x)=(F</em>Y(x))′=x1,1≤x≤e.
Expectation: E[Y]=∫<em>1ex⋅x1dx=∫</em>1e1dx=e−1.
Result: E[eX]=e−1 (same result, different method).
Normal Approximation to Binomial Distributions (DeMoivre–Laplace)
Let S<em>n∼Bin(n,p). For any real numbers a < b,
lim</em>n→∞Pr(a≤np(1−p)S<em>n−np≤b)=Φ(b)−Φ(a),
where Φ(z)=2π1∫</em>−∞ze−t2/2dt.
Binomial approximations:
Poisson approximation when n is large and p is small: if n p is moderate, use Poisson with parameter λ=np.
Normal approximation is good when np(1−p) is large, typically ≥ 10.
Examples: Binomial approximations and exact calculations
Example 1: 40 fair coin tosses, X = number of heads. Find
PrX=20.
Continuity correction: Pr19.5<X<20.5.
Standardize: 40⋅0.5⋅0.519.5−20=10−0.5≈−0.158,
and similarly for 20.5. Thus PrX=20≈Φ(0.158)−Φ(−0.158)=2Φ(0.158)−1≈0.1272.
Exact value: PrX=20=(2040)2−40≈0.1254.
Example 2: Class size, 450 offers, each attending with probability 0.3. X ~ Bin(450, 0.3). Compute PrX≥151.
Use continuity correction: PrX≥151=PrX≥150.5.
With np = 450×0.3 = 135 and Var = 450×0.3×0.7 = 94.5, SD = \sqrt{94.5} \approx 9.725.
Z-value: Z=94.5150.5−135≈9.72515.5≈1.59.
Tail probability: PrZ≥1.59≈1−Φ(1.59)≈0.0559.
Example 3: In 10,000 coin tosses, observed heads = 5800. Is the coin fair?
If X ~ Bin(10000, 0.5), then E[X] = 5000, Var(X) = 2500, SD = 50.
Continuity-corrected: PrX≥5800=PrX≥5799.5.
Standardize: Z=505799.5−5000=50799.5=15.99.
Result: probability is effectively 0; thus the coin is not fair in practical terms.
Exponential Distribution
Density:
f(x) = \begin{cases} \lambda e^{-\lambda x}, & x \ge 0, \[2pt] 0, & x < 0. \end{cases}
CDF: F(x)=Pr(X≤x)={1−e−λx,0,x≥0,x<0.
Survival function: Pr(X>x)=1−F(x)=e−λx,x≥0.
Parameter: λ>0.
Moments: If X∼Exp(λ), then E[X]=λ1,Var(X)=λ21.
Recurrence for moments: E[Xn]=λnE[Xn−1].
Memoryless property: Exponential is memoryless: PrT≥t+s∣T≥s=PrT≥t=e−λt.
Practical note: Not a good model for human lifetime (memorylessness implies equal remaining life for people at different ages).
Relation to Poisson process: If events occur as a Poisson process with rate λ, then the time until the next event T is Exp(λ), with tail Pr(T>t)=e−λt.
Gamma Distribution
Motivation: Waiting time until the n-th event in a Poisson process. Let T_n be this waiting time.
CDF: F<em>T</em>n(t)=Pr(T<em>n≤t)=Pr(at least n events in [0,t])=∑</em>k=n∞k!(λt)ke−λt=1−∑k=0n−1k!(λt)ke−λt.
PDF (Gamma density): for shape α>0 and rate λ>0, g(t)=Γ(α)λαtα−1e−λt,t>0.
When α=1, Gamma reduces to the Exponential distribution: Exp(λ)=Γ(1,λ).
Interpretation: The waiting time until the α-th event is Gamma with parameters (α,λ); the Gamma variable is the sum of α i.i.d. Exp(λ) variables (only strictly true for integer α).
Applications: modeling arrival times in Poisson processes, time to failures, positive-valued quantities (rainfalls), and financial quantities like insurance claim sizes.
Gamma function connection: The gamma function is defined as
Γ(x)=∫0∞ux−1e−udu,x>0.
It satisfies the recursive relation Γ(x)=(x−1)Γ(x−1).
For positive integers, Γ(n)=(n−1)!.
Gamma density with two parameters: shape α>0 and rate λ>0 is often written as g(t)=Γ(α)λαtα−1e−λt,t>0.
Mean and variance of Gamma(α,λ):
E[X]=λα,Var(X)=λ2α.
Important special cases and interpretations:
If X∼Γ(n,λ) with integer n, then X is the sum of n i.i.d. Exp(λ) variables.
The Gamma distribution generalizes the exponential distribution; when α=1 we recover Exp(λ).
Example in seismology: times between microearthquakes may be modeled with Gamma vs Exponential; Gamma often provides better fit when inter-event times exhibit variability beyond Poisson assumptions.
Additional notes on Gamma and related concepts
If X∼Γ(α,λ), then the case α=n (a positive integer) corresponds to the sum of n independent Exp(λ) random variables.
The gamma function appears in the normalization constant of the gamma density; it generalizes the factorial to non-integer values.
In practice, the gamma distribution is used for positive-valued data with skewness controlled by the shape parameter α; larger α yields more symmetric (approximately normal) shapes when scaled appropriately.
Quick recap and connections to foundational principles
Linearity of expectation: expectations of sums are sums of expectations; transformations of random variables preserve linear relationships under expectation.
Integral representations and Fubini/Tonelli theorem allow swapping order of integration, enabling tail-integral representations.
Normal approximation to binomial relies on central limit intuition: binomial counts behave like normal distributions under appropriate scaling.
Exponential distribution embodies memoryless property, linking to Poisson processes and waiting-time problems.
Gamma distribution connects to Poisson processes as the waiting time to the n-th event; its properties extend the exponential case to sums of independent exponentials.
Key formulas to remember (LaTeX)
Expectation of a transformation: E[g(X)]=∫−∞∞g(x)f(x)dx.