Continuous Probability Distributions and Applied Statistics
Review of Continuous Uniform Distribution
Definition & Parameters:
A continuous random variable X is uniformly distributed on the interval [a,b], denoted as X∼U(a,b), if its probability density function is constant over that interval.
Probability Density Function (PDF):
f(x)={b−a10a≤x≤botherwise
Cumulative Distribution Function (CDF):
F(x)=P(X≤x)=⎩⎨⎧0b−ax−a1x<aa≤x≤bx>b
Expectation & Variance:
E(X)=2a+bV(X)=12(b−a)2
Moment-Generating Function (MGF):
M(t)={t(b−a)etb−eta1t=0t=0
Worked Problems & Applications:
Point Selection on Line Segment: A point is chosen at random on [0,5]. The probability that the chosen point lies between 1 and 7/2 (3.5) is:
P(1≤X≤3.5)=5−03.5−1=52.5=0.5
Rectangular Glass Panels: Panel length X∼U(40,60)cm and width Y∼U(20,30)cm. Cuts are made by two separate robotic arms on different assembly lines, making length and width completely independent. The expected area of a panel is:
E(XY)=E(X)×E(Y)=(240+60)×(220+30)=50×25=1250cm2
MGF Parameter Identification: Continuous random variable X with MGF M(t)=te5t−e4t for t=0 and M(0)=1. Matching this to the general uniform MGF yields parameters a=4 and b=5 (so X∼U(4,5)):
E(X)=24+5=4.5
P(4.2<X≤4.7)=5−44.7−4.2=0.5
Transformations of Uniform Variables (X∼U(0,1)):
Y=a+(b−a)X: CDF P(Y≤y)=P(a+(b−a)X≤y)=P(X≤b−ay−a)=b−ay−a for a≤y≤b. This is a continuous uniform distribution U(a,b).
2X+1: Evaluates to U(1,3), which is a continuous uniform distribution.
X2: CDF P(X2≤y)=P(X≤y)=y for 0≤y≤1. The PDF is f(y)=2y1, which is NOT a continuous uniform distribution.
The Normal Distribution
Definition & Parameters:
A continuous random variable X is normally distributed with mean μ and standard deviation σ (or variance σ2), denoted as X∼N(μ,σ2), where −∞<μ<∞ and σ>0.
Mathematical constants involved: e≈2.71828 and π≈3.14159.
Probability Density Function (PDF):
f(x;μ,σ)=2πσ1e−21(σx−μ)2,−∞<x<∞
Density Curve Characteristics:
Commonly known as the bell curve or Gaussian distribution, characterized by a symmetric, single-peaked graph.
The curve is symmetric about x=μ, where its height is maximized.
The mean, median, and mode are all equal to μ.
μ is the location parameter; σ is the scale parameter.
Asymptotic limits: limx→∞f(x)=0 and limx→−∞f(x)=0.
The name "Normal" stems from the pattern naturally surfacing across diverse fields (human heights, measurement errors, yields); it does not imply that other distributions are abnormal.
Proof of PDF Validity:
Non-Negativity: Because σ>0 and eu>0 for all real u, f(x;μ,σ)≥0 for all x∈(−∞,∞).
Total Integral Equals 1: Let I=∫−∞∞2πσ1e−21(σx−μ)2dx. Substituting z=σx−μ yields:
I=∫−∞∞2π1e−z2/2dz
Square the integral I:
I2=(∫−∞∞2π1e−u2/2du)(∫−∞∞2π1e−v2/2dv)=2π1∫−∞∞∫−∞∞e−(u2+v2)/2dudv
Convert to polar coordinates with u=rcos(θ), v=rsin(θ), u2+v2=r2, and dudv=rdrdθ:
I2=2π1∫02π∫0∞e−r2/2rdrdθ=2π1∫02π[−e−r2/2]0∞dθ=2π1∫02π1dθ=1
Since I>0, I=1, confirming f(x) is a valid probability density function.
Moment-Generating Function (MGF) Derivation:
By definition:
MX(t)=E[etX]=∫−∞∞etx2πσ1e−2σ2(x−μ)2dx=∫−∞∞2πσ1etx−2σ2(x−μ)2dx
Completing the square in the exponent:
tx−2σ2(x−μ)2=2σ22σ2tx−(x2−2μx+μ2)=−2σ2x2−2(μ+σ2t)x+μ2=−2σ2[x−(μ+σ2t)]2−(μ+σ2t)2+μ2=−2σ2[x−(μ+σ2t)]2+μt+21σ2t2
Substituting back into the MGF integral:
MX(t)=eμt+21σ2t2∫−∞∞2πσ1e−2σ2[x−(μ+σ2t)]2dx
The integral equals 1 because it represents the total area under a normal PDF with mean (μ+σ2t) and variance σ2.
Final MGF expression:
MX(t)=eμt+21σ2t2
Derivation of Mean and Variance from MGF:
First derivative:
MX′(t)=eμt+21σ2t2×(μ+σ2t)=MX(t)(μ+σ2t)
Expected Value:
E(X)=MX′(0)=e0×(μ+0)=μ
Second derivative:
MX′′(t)=MX′(t)(μ+σ2t)+MX(t)(σ2)=MX(t)[(μ+σ2t)2+σ2]
Second Moment:
E(X2)=MX′′(0)=e0×[(μ+0)2+σ2]=μ2+σ2
Variance:
V(X)=E(X2)−[E(X)]2=(μ2+σ2)−μ2=σ2
Linear Combination Properties:
Linear Transformation: If X∼N(μ,σ2), then Y=aX+b∼N(aμ+b,a2σ2) for a=0.
Linear Combination of Independent Normals: If Xi∼N(μi,σi2) (i=1,2,…,n) are independent continuous random variables, then:
∑i=1naiXi∼N(∑i=1naiμi,∑i=1nai2σi2)
The Standard Normal Distribution and Probability Calculations
Definition & Notation:
The standard normal distribution is the special case with μ=0 and σ=1, denoted by random variable Z∼N(0,1).
Probability Density Function (PDF):
f(z;0,1)=2π1e−z2/2,−∞<z<∞
The standard normal curve (z curve) has inflection points at z=1 and z=−1.
Cumulative Distribution Function (CDF):
Φ(z)=P(Z≤z)=∫−∞zf(y;0,1)dy
Standardization Proposition:
If X∼N(μ,σ2), then Z=σX−μ∼N(0,1).
Proof via MGF:
MZ(t)=E[et(σX−μ)]=e−σμtMX(σt)=e−σμteμ(σt)+21σ2(σt)2=e21t2
This matches the MGF of N(0,1).
Probability computations for arbitrary X∼N(μ,σ2):
P(a≤X≤b)=P(σa−μ≤Z≤σb−μ)=Φ(σb−μ)−Φ(σa−μ)P(X≤a)=Φ(σa−μ)P(X≥b)=1−Φ(σb−μ)
To find the (100p)th percentile ηX(p) of X∼N(μ,σ2), scale and shift the (100p)th percentile ηZ(p) of N(0,1):
ηX(p)=μ+ηZ(p)×σ
Empirical Rule (68−95−99.7 Rule):
For any normally distributed variable X∼N(μ,σ2):
P(μ−σ≤X≤μ+σ)≈0.68P(μ−2σ≤X≤μ+2σ)≈0.95P(μ−3σ≤X≤μ+3σ)≈0.997
Detailed Worked Problems:
Bolt Thread Length:
Within 1.5 standard deviations of mean:
P(∣X−μ∣≤1.5σ)=P(∣Z∣≤1.5)=Φ(1.5)−Φ(−1.5)=0.9332−(1−0.9332)=0.8664
Between 1 and 2 SDs from mean:
P(1σ<∣X−μ∣<2σ)=P(1<∣Z∣<2)=2[Φ(2)−Φ(1)]=2[0.9772−0.8413]=0.2718
Yield Strength of A36 Steel (X∼N(43,4.52)) :
Probability yield strength is at least 40 ksi:
P(X≥40)=P(Z≥4.540−43)=P(Z≥−0.67)=Φ(0.67)=0.7486
Serum Zinc Level (X∼N(90,152)) :
Conditional probability P(X>120∣X>105):
P(X>120∣X>105)=P(X>105)P(X>120)=P(Z>15105−90)P(Z>15120−90)=P(Z>1)P(Z>2)=1−0.84131−0.9772=0.15870.0228≈0.1437
Qualifying lifetime threshold for extended warranty (top 10% longest-lasting):
ηX(0.90)=μ+z0.10×σ=1200+1.28×150=1392hours
Roasted Coffee Beans Weight (X∼N(250,42)) :
Probability a single bag weighs less than 245g:
p=P(X<245)=P(Z<4245−250)=P(Z<−1.25)=1−0.8944=0.1056
Probability in a sample of n=15 bags that exactly 3 bags weigh less than 245g (Y∼Bin(15,0.1056)) :
P(Y=3)=(315)(0.1056)3(1−0.1056)12=455×0.001177×0.2598≈0.1392
The Gamma Function and Gamma Distribution
Motivation:
Normal distributions assume symmetry and allow negative values. Real-world continuous data (e.g., waiting times, insurance claims) is strictly positive (x≥0) and right-skewed. The gamma family provides a flexible model for positive, skewed data.
The Gamma Function:
For α>0, the gamma function Γ(α) is defined as:
Γ(α)=∫0∞xα−1e−xdx
Properties of the Gamma Function:
Γ(1)=1
Γ(α)=(α−1)Γ(α−1) for any α>1
Γ(n)=(n−1)! for any positive integer n
Γ(21)=π
Gamma Distribution Definition & Parameters:
A continuous random variable X has a gamma distribution, denoted as X∼Γ(α,β), if its PDF is:
f(x;α,β)={βαΓ(α)1xα−1e−x/β0x≥0otherwise
where α>0 is the shape parameter and β>0 is the scale parameter.
Moment-Generating Function (MGF) Derivation:
MX(t)=E[etX]=∫0∞etxβαΓ(α)1xα−1e−x/βdx=βαΓ(α)1∫0∞xα−1e−x(β1−t)dx
For the integral to converge, the exponent multiplier must be positive: β1−t>0⟹t<β1.
Substitute u=x(β1−βt), so x=1−βtuβ and dx=1−βtβdu:
MX(t)=βαΓ(α)1∫0∞(1−βtuβ)α−1e−u(1−βtβ)du=βαΓ(α)1(1−βt)αβα∫0∞uα−1e−udu
Since ∫0∞uα−1e−udu=Γ(α), terms cancel to yield:
MX(t)=(1−βt)−α,for t<β1
Mean and Variance Derivation:
First derivative: MX′(t)=−α(1−βt)−α−1(−β)=αβ(1−βt)−α−1
Expected Value: E(X)=MX′(0)=αβ
Second derivative: MX′′(t)=αβ(−α−1)(1−βt)−α−2(−β)=α(α+1)β2(1−βt)−α−2
Second Moment: E(X2)=MX′′(0)=α(α+1)β2
Variance: V(X)=E(X2)−[E(X)]2=α(α+1)β2−α2β2=αβ2
Core Properties of Gamma Variables:
Sum of Independent Gammas: If Xi∼Γ(αi,β) (i=1,2,…,n) are independent, then:
∑i=1nXi∼Γ(∑i=1nαi,β)
Scaling Transformation: If X∼Γ(α,β) and k>0, then:
kX∼Γ(α,kβ)
Poisson Process Connection:
Gamma models the total waiting time until the α\text{-th} event in a Poisson process.
β represents the average time between occurrences (1/β is the rate parameter in average events per unit time).
CDF Connection: The probability that the α\text{-th} event occurs by time x equals 1 minus the probability that fewer than α events occur in time x:
F(x)=P(X≤x)=1−P(fewer than α events in time x)=1−∑k=0α−1P(Y=k),Y∼Pois(βx)
Special Cases of the Gamma Distribution: Standard Gamma
Taxonomy of Gamma Special Cases:
Standard Gamma: β=1⟹X∼Γ(α,1)
Exponential: α=1⟹X∼Γ(1,β)
Chi-Squared: α=2ν,β=2⟹X∼Γ(2ν,2)
Standard Gamma Distribution (X∼Γ(α,1)):
Probability Density Function:
f(x;α)={Γ(α)xα−1e−x0x≥0otherwise
Density Curve Shape as α varies:
α<1: Unbounded near x=0, no finite peak.
α=1: Maximum at x=0, decays exponentially.
α>1: Mound-shaped, starts at 0, peaks at mode x=α−1, and becomes increasingly symmetric/bell-shaped as α grows.
Incomplete Gamma Function & Probability Calculations:
The CDF of a standard gamma variable X∼Γ(α,1) is the incomplete gamma function:
F(x;α)=∫0xΓ(α)yα−1e−ydy,x>0
For arbitrary X∼Γ(α,β), standardizing yields:
P(X≤x)=F(βx;α)P(a≤X≤b)=F(βb;α)−F(βa;α)
Worked Problems:
Customer Arrivals at Shop (Poisson rate 30/hr⟹β=2minutes per customer):
Wait more than 5minutes before both of the first 2 customers arrive (α=2, X∼Γ(2,2)):
P(X>5)=1−P(X≤5)=1−F(25;2)=1−F(2.5;2)
From Table A.4 (Incomplete Gamma Function Table), F(2.5;2)=0.713.
P(X>5)=1−0.713=0.287
Average time before 3 customers arrive:
E(X)=αβ=3×2=6minutes
Probability component lasts at least 30hours:
P(X≥30)=1−F(1030;3)=1−F(3;3)=1−0.577=0.423
Probability component lasts between 20 and 30hours:
P(20≤X≤30)=F(1030;3)−F(1020;3)=F(3;3)−F(2;3)=0.577−0.323=0.254
The Exponential Distribution
Definition & Parameters:
The exponential distribution is a special case of gamma with α=1 and β=λ1, denoted as X∼Exp(λ) with rate parameter \lambda > 0$.\n\n* **Probability Density Function (PDF)**:\n f(x; \lambda) = \begin{cases} \lambda e^{-\lambda x} & x \ge 0 \ 0 & \text{otherwise} \end{cases}\n\n \n\n* **Cumulative Distribution Function (CDF)**:\n F(x; \lambda) = \begin{cases} 0 & x < 0 \ 1 - e^{-\lambda x} & x \ge 0 \end{cases}\n\n* **Expectation, Variance, & MGF**:\n E(X) = \frac{1}{\lambda}\n V(X) = \frac{1}{\lambda^2}\n M_X(t) = \left(1 - \frac{t}{\lambda}\right)^{-1}, \quad \text{for } t < \lambda\n\n* **Memoryless Property**:\n * For continuous component lifetime X \sim \text{Exp}(\lambda):\n P(X \ge t + t_0 \mid X \ge t_0) = P(X \ge t)\n * *Substantive Meaning*: The distribution of remaining lifetime is independent of current age t_0.Anoldcomponenthastheexactsameprobabilityofsurvivinganadditionalt hours as a brand new component.\n\n* **Poisson Process Connection Proof**:\n * *Proposition*: Suppose event occurrences in any time interval follow a Poisson distribution with parameter at(aistherateofeventsperunittime).ThenelapsedtimeTbetweensuccessiveeventsisexponentiallydistributedwith\lambda = a$.
Proof:
F(t)=P(T≤t)=1−P(T>t)
The condition T>t means 0 events occurred in time interval t. Let X∼Pois(at):
P(T>t)=P(X=0)=0!e−at(at)0=e−atF(t)=1−e−at,t≥0
Taking the derivative yields the PDF:
f(t)=F′(t)=ae−at,t≥0
which is the PDF of Exp(a).
Probability time between arrivals >3minutes:
P(T>3)=e−0.5×3=e−1.5≈0.2231
Expected time between arrivals:
E(T)=λ1=0.51=2minutes
Industrial Batteries System (Average life 8years⟹λ=1/8):
Probability a single battery lasts >8years:
p=P(X>8)=e−81×8=e−1≈0.3679
In a system of 6 installed batteries, probability at least 2 last >8years (Y∼Bin(6,0.3679)) :
P(Y≥2)=1−P(Y=0)−P(Y=1)=1−(1−p)6−6p(1−p)5=1−(0.6321)6−6(0.3679)(0.6321)5≈1−0.0625−0.2183=0.7192
Car Battery Trip (Average life 10,000km⟹λ=1/10000):
Probability completing a 5000km trip without replacement:
P(X≥5000)=e−100001×5000=e−0.5≈0.6065
Battery Failure Threshold (10% fail within first 500hours):
Finding λ:
F(500)=1−e−500λ=0.10⟹e−500λ=0.90
Probability functioning after 2000hours:
P(X>2000)=e−2000λ=(e−500λ)4=(0.90)4=0.6561
The Chi-Squared Distribution
Definition & Parameters:
The chi-squared distribution with ν degrees of freedom (df), denoted as X∼χ2(ν) or X∼χν2, is a gamma distribution with α=2ν and β=2, where ν is a positive integer.
Probability Density Function (PDF):
f(x;ν)={2ν/2Γ(ν/2)1x(ν/2)−1e−x/20x≥0x<0
The critical value χα,ν2 denotes the value on the horizontal axis such that an area of α lies to its right under the χν2 curve:
P(X≥χα,ν2)=αP(X≤χα,ν2)=1−α
Key Distribution Theorems:
Sum of Independent Chi-Squared Variables: If Xi∼χ2(νi) (i=1,2,…,n) are independent, then:
∑i=1nXi∼χ2(∑i=1nνi)
Gamma to Chi-Squared Conversion: If 2α is a positive integer and X∼Γ(α,β), then:
β2X∼χ2(2α)
Worked Problems & Applications:
Exponential to Chi-Squared Relation: If X has exponential distribution with mean 2, then X∼Exp(0.5)=Γ(1,2). Comparing parameters with χ2(ν)=Γ(ν/2,2) gives ν/2=1⟹ν=2. Thus X∼χ2(2).
System of Electronic Components: Component life follows χ2(10). Probability a component needs replacement within 16hours:
From Table A.11, χ0.10,102=15.987≈16⟹P(X>16)=0.10⟹P(X≤16)=0.90
For 4 independent components in a system, probability all 4 are replaced within 16hours:
P=(0.90)4=0.6561
First customer arrives within 1minute (T∼Exp(2.5)) :
P(T≤1)=1−e−2.5×1=1−e−2.5≈0.9179
12 or more customers arrive in a 4-minute window (Y∼Pois(2.5×4)=Pois(10)) :
P(Y≥12)=1−P(Y≤11)
The 10th customer arrives between 6:07 am and 6:08 am (t∈[7,8] minutes). Elapsed time X10∼Γ(10,β=1/2.5=0.4).
Convert to χ2: 0.42X10=5X10∼χ2(20).
P(7≤X10≤8)=P(35≤5X10≤40)=P(34.170≤χ2(20)≤39.997)
Given χ0.025,202=34.170 and χ0.005,202=39.997:
P=0.025−0.005=0.020
In a week (n=7 days), probability this happens on exactly 2 days (D∼Bin(7,0.020)) :
P(D=2)=(27)(0.020)2(0.980)5=21×0.0004×0.9039≈0.0076
Time until next customer arrival exceeds 2minutes (T∼Exp(2.5)) :
P(T>2)=e−2.5×2=e−5≈0.0067
Critical Value Lookups:
If X∼χ2(5) and P(X≤x)=0.96, then P(X≥x)=0.04⟹x=χ0.04,52=11.64
If χ0.075,52=10, then for X∼χ2(5), P(X≤10)=1−0.075=0.925