Continuous Probability Distributions and Applied Statistics

Review of Continuous Uniform Distribution

  • Definition & Parameters:

    • A continuous random variable XX is uniformly distributed on the interval [a,b][a,b], denoted as X∼U(a,b)X \sim U(a,b), if its probability density function is constant over that interval.
  • Probability Density Function (PDF):     f(x)={1b−aa≤x≤b0otherwisef(x) = \begin{cases} \frac{1}{b-a} & a \le x \le b \\ 0 & \text{otherwise} \end{cases}

  • Cumulative Distribution Function (CDF):     F(x)=P(X≤x)={0x<ax−ab−aa≤x≤b1x>bF(x) = P(X \le x) = \begin{cases} 0 & x < a \\ \frac{x-a}{b-a} & a \le x \le b \\ 1 & x > b \end{cases}

  • Expectation & Variance:     E(X)=a+b2E(X) = \frac{a+b}{2}V(X)=(b−a)212V(X) = \frac{(b-a)^2}{12}

  • Moment-Generating Function (MGF):     M(t)={etb−etat(b−a)t≠01t=0M(t) = \begin{cases} \frac{e^{tb} - e^{ta}}{t(b-a)} & t \neq 0 \\ 1 & t = 0 \end{cases}

  • Worked Problems & Applications:

    • Point Selection on Line Segment: A point is chosen at random on [0,5][0,5]. The probability that the chosen point lies between 11 and 7/27/2 (3.53.5) is:         P(1≤X≤3.5)=3.5−15−0=2.55=0.5P(1 \le X \le 3.5) = \frac{3.5 - 1}{5 - 0} = \frac{2.5}{5} = 0.5
    • Rectangular Glass Panels: Panel length X∼U(40,60) cmX \sim U(40, 60)\,\text{cm} and width Y∼U(20,30) cmY \sim U(20, 30)\,\text{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)=(40+602)×(20+302)=50×25=1250 cm2E(XY) = E(X) \times E(Y) = \left(\frac{40+60}{2}\right) \times \left(\frac{20+30}{2}\right) = 50 \times 25 = 1250\,\text{cm}^2
    • MGF Parameter Identification: Continuous random variable XX with MGF M(t)=e5t−e4ttM(t) = \frac{e^{5t}-e^{4t}}{t} for t≠0t \neq 0 and M(0)=1M(0)=1. Matching this to the general uniform MGF yields parameters a=4a = 4 and b=5b = 5 (so X∼U(4,5)X \sim U(4,5)):
      1. E(X)=4+52=4.5E(X) = \frac{4+5}{2} = 4.5
      2. P(4.2<X≤4.7)=4.7−4.25−4=0.5P(4.2 < X \le 4.7) = \frac{4.7 - 4.2}{5 - 4} = 0.5
    • Transformations of Uniform Variables (X∼U(0,1)X \sim U(0,1)):
      1. Y=a+(b−a)XY = a + (b-a)X: CDF P(Y≤y)=P(a+(b−a)X≤y)=P(X≤y−ab−a)=y−ab−aP(Y \le y) = P\left(a + (b-a)X \le y\right) = P\left(X \le \frac{y-a}{b-a}\right) = \frac{y-a}{b-a} for a≤y≤ba \le y \le b. This is a continuous uniform distribution U(a,b)U(a,b).
      2. 2X+12X + 1: Evaluates to U(1,3)U(1,3), which is a continuous uniform distribution.
      3. X2X^2: CDF P(X2≤y)=P(X≤y)=yP(X^2 \le y) = P(X \le \sqrt{y}) = \sqrt{y} for 0≤y≤10 \le y \le 1. The PDF is f(y)=12yf(y) = \frac{1}{2\sqrt{y}}, which is NOT a continuous uniform distribution.

The Normal Distribution

  • Definition & Parameters:

    • A continuous random variable XX is normally distributed with mean μ\mu and standard deviation σ\sigma (or variance σ2\sigma^2), denoted as X∼N(μ,σ2)X \sim N(\mu, \sigma^2), where −∞<μ<∞-\infty < \mu < \infty and σ>0\sigma > 0.
    • Mathematical constants involved: e≈2.71828e \approx 2.71828 and π≈3.14159\pi \approx 3.14159.
  • Probability Density Function (PDF):     f(x;μ,σ)=12πσe−12(x−μσ)2,−∞<x<∞f(x; \mu, \sigma) = \frac{1}{\sqrt{2\pi}\sigma} e^{-\frac{1}{2}\left(\frac{x-\mu}{\sigma}\right)^2}, \quad -\infty < x < \infty

  • 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=μx = \mu, where its height is maximized.
    • The mean, median, and mode are all equal to μ\mu.
    • μ\mu is the location parameter; σ\sigma is the scale parameter.
    • Asymptotic limits: lim⁡x→∞f(x)=0\lim_{x \to \infty} f(x) = 0 and lim⁡x→−∞f(x)=0\lim_{x \to -\infty} 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.

    Normal Density Curve

    Comparison of Normal Distributions

  • Proof of PDF Validity:

    • Non-Negativity: Because σ>0\sigma > 0 and eu>0e^u > 0 for all real uu, f(x;μ,σ)≥0f(x; \mu, \sigma) \ge 0 for all x∈(−∞,∞)x \in (-\infty, \infty).
    • Total Integral Equals 1: Let I=∫−∞∞12πσe−12(x−μσ)2dxI = \int_{-\infty}^{\infty} \frac{1}{\sqrt{2\pi}\sigma} e^{-\frac{1}{2}\left(\frac{x-\mu}{\sigma}\right)^2} dx. Substituting z=x−μσz = \frac{x-\mu}{\sigma} yields:         I=∫−∞∞12πe−z2/2dzI = \int_{-\infty}^{\infty} \frac{1}{\sqrt{2\pi}} e^{-z^2/2} dz         Square the integral II:         I2=(∫−∞∞12πe−u2/2du)(∫−∞∞12πe−v2/2dv)=12π∫−∞∞∫−∞∞e−(u2+v2)/2du dvI^2 = \left(\int_{-\infty}^{\infty} \frac{1}{\sqrt{2\pi}} e^{-u^2/2} du\right)\left(\int_{-\infty}^{\infty} \frac{1}{\sqrt{2\pi}} e^{-v^2/2} dv\right) = \frac{1}{2\pi} \int_{-\infty}^{\infty} \int_{-\infty}^{\infty} e^{-(u^2+v^2)/2} du\,dv         Convert to polar coordinates with u=rcos⁡(θ)u = r \cos(\theta), v=rsin⁡(θ)v = r \sin(\theta), u2+v2=r2u^2+v^2 = r^2, and du dv=r dr dθdu\,dv = r\,dr\,d\theta:         I2=12π∫02π∫0∞e−r2/2r dr dθ=12π∫02π[−e−r2/2]0∞dθ=12π∫02π1 dθ=1I^2 = \frac{1}{2\pi} \int_0^{2\pi} \int_0^\infty e^{-r^2/2} r\,dr\,d\theta = \frac{1}{2\pi} \int_0^{2\pi} \left[-e^{-r^2/2}\right]_0^\infty d\theta = \frac{1}{2\pi} \int_0^{2\pi} 1\,d\theta = 1         Since I>0I > 0, I=1I = 1, confirming f(x)f(x) is a valid probability density function.
  • Moment-Generating Function (MGF) Derivation:

    • By definition:         MX(t)=E[etX]=∫−∞∞etx12πσe−(x−μ)22σ2dx=∫−∞∞12πσetx−(x−μ)22σ2dxM_X(t) = E[e^{tX}] = \int_{-\infty}^{\infty} e^{tx} \frac{1}{\sqrt{2\pi}\sigma} e^{-\frac{(x-\mu)^2}{2\sigma^2}} dx = \int_{-\infty}^{\infty} \frac{1}{\sqrt{2\pi}\sigma} e^{tx - \frac{(x-\mu)^2}{2\sigma^2}} dx
    • Completing the square in the exponent:         tx−(x−μ)22σ2=2σ2tx−(x2−2μx+μ2)2σ2=−x2−2(μ+σ2t)x+μ22σ2tx - \frac{(x-\mu)^2}{2\sigma^2} = \frac{2\sigma^2 tx - (x^2 - 2\mu x + \mu^2)}{2\sigma^2} = -\frac{x^2 - 2(\mu + \sigma^2 t)x + \mu^2}{2\sigma^2}=−[x−(μ+σ2t)]2−(μ+σ2t)2+μ22σ2=−[x−(μ+σ2t)]22σ2+μt+12σ2t2= -\frac{[x - (\mu + \sigma^2 t)]^2 - (\mu + \sigma^2 t)^2 + \mu^2}{2\sigma^2} = -\frac{[x - (\mu + \sigma^2 t)]^2}{2\sigma^2} + \mu t + \frac{1}{2}\sigma^2 t^2
    • Substituting back into the MGF integral:         MX(t)=eμt+12σ2t2∫−∞∞12πσe−[x−(μ+σ2t)]22σ2dxM_X(t) = e^{\mu t + \frac{1}{2}\sigma^2 t^2} \int_{-\infty}^{\infty} \frac{1}{\sqrt{2\pi}\sigma} e^{-\frac{[x - (\mu + \sigma^2 t)]^2}{2\sigma^2}} dx
    • The integral equals 11 because it represents the total area under a normal PDF with mean (μ+σ2t)(\mu + \sigma^2 t) and variance σ2\sigma^2.
    • Final MGF expression:         MX(t)=eμt+12σ2t2M_X(t) = e^{\mu t + \frac{1}{2}\sigma^2 t^2}
  • Derivation of Mean and Variance from MGF:

    • First derivative:         MX′(t)=eμt+12σ2t2×(μ+σ2t)=MX(t)(μ+σ2t)M_X'(t) = e^{\mu t + \frac{1}{2}\sigma^2 t^2} \times (\mu + \sigma^2 t) = M_X(t)(\mu + \sigma^2 t)
    • Expected Value:         E(X)=MX′(0)=e0×(μ+0)=μE(X) = M_X'(0) = e^0 \times (\mu + 0) = \mu
    • Second derivative:         MX′′(t)=MX′(t)(μ+σ2t)+MX(t)(σ2)=MX(t)[(μ+σ2t)2+σ2]M_X''(t) = M_X'(t)(\mu + \sigma^2 t) + M_X(t)(\sigma^2) = M_X(t)[(\mu + \sigma^2 t)^2 + \sigma^2]
    • Second Moment:         E(X2)=MX′′(0)=e0×[(μ+0)2+σ2]=μ2+σ2E(X^2) = M_X''(0) = e^0 \times [(\mu + 0)^2 + \sigma^2] = \mu^2 + \sigma^2
    • Variance:         V(X)=E(X2)−[E(X)]2=(μ2+σ2)−μ2=σ2V(X) = E(X^2) - [E(X)]^2 = (\mu^2 + \sigma^2) - \mu^2 = \sigma^2
  • Linear Combination Properties:

    • Linear Transformation: If X∼N(μ,σ2)X \sim N(\mu, \sigma^2), then Y=aX+b∼N(aμ+b,a2σ2)Y = aX + b \sim N(a\mu + b, a^2\sigma^2) for a≠0a \neq 0.
    • Linear Combination of Independent Normals: If Xi∼N(μi,σi2)X_i \sim N(\mu_i, \sigma_i^2) (i=1,2,…,ni = 1, 2, \dots, n) are independent continuous random variables, then:         ∑i=1naiXi∼N(∑i=1naiμi,∑i=1nai2σi2)\sum_{i=1}^n a_i X_i \sim N\left(\sum_{i=1}^n a_i \mu_i, \sum_{i=1}^n a_i^2 \sigma_i^2\right)

The Standard Normal Distribution and Probability Calculations

  • Definition & Notation:

    • The standard normal distribution is the special case with μ=0\mu = 0 and σ=1\sigma = 1, denoted by random variable Z∼N(0,1)Z \sim N(0,1).
  • Probability Density Function (PDF):     f(z;0,1)=12πe−z2/2,−∞<z<∞f(z; 0, 1) = \frac{1}{\sqrt{2\pi}} e^{-z^2/2}, \quad -\infty < z < \infty

    • The standard normal curve (zz curve) has inflection points at z=1z = 1 and z=−1z = -1.
  • Cumulative Distribution Function (CDF):     Φ(z)=P(Z≤z)=∫−∞zf(y;0,1) dy\Phi(z) = P(Z \le z) = \int_{-\infty}^z f(y; 0, 1)\,dy

    Standard Normal CDF Area

  • Standardization Proposition:
    • If X∼N(μ,σ2)X \sim N(\mu, \sigma^2), then Z=X−μσ∼N(0,1)Z = \frac{X - \mu}{\sigma} \sim N(0,1).
    • Proof via MGF:         MZ(t)=E[et(X−μσ)]=e−μtσMX(tσ)=e−μtσeμ(tσ)+12σ2(tσ)2=e12t2M_Z(t) = E\left[e^{t\left(\frac{X-\mu}{\sigma}\right)}\right] = e^{-\frac{\mu t}{\sigma}} M_X\left(\frac{t}{\sigma}\right) = e^{-\frac{\mu t}{\sigma}} e^{\mu\left(\frac{t}{\sigma}\right) + \frac{1}{2}\sigma^2\left(\frac{t}{\sigma}\right)^2} = e^{\frac{1}{2}t^2}         This matches the MGF of N(0,1)N(0,1).
    • Probability computations for arbitrary X∼N(μ,σ2)X \sim N(\mu, \sigma^2):         P(a≤X≤b)=P(a−μσ≤Z≤b−μσ)=Φ(b−μσ)−Φ(a−μσ)P(a \le X \le b) = P\left(\frac{a-\mu}{\sigma} \le Z \le \frac{b-\mu}{\sigma}\right) = \Phi\left(\frac{b-\mu}{\sigma}\right) - \Phi\left(\frac{a-\mu}{\sigma}\right)P(X≤a)=Φ(a−μσ)P(X \le a) = \Phi\left(\frac{a-\mu}{\sigma}\right)P(X≥b)=1−Φ(b−μσ)P(X \ge b) = 1 - \Phi\left(\frac{b-\mu}{\sigma}\right)

    Standardization Area Mapping

  • Symmetry and Interval Calculations:
    • Due to symmetry: P(Z≤−z)=P(Z≥z)=1−Φ(z)P(Z \le -z) = P(Z \ge z) = 1 - \Phi(z).
    • P(Z≤1.25)=Φ(1.25)=0.8944P(Z \le 1.25) = \Phi(1.25) = 0.8944
    • P(Z≤−1.25)=1−Φ(1.25)=1−0.8944=0.1056P(Z \le -1.25) = 1 - \Phi(1.25) = 1 - 0.8944 = 0.1056
    • P(−0.38≤Z≤1.25)=Φ(1.25)−Φ(−0.38)=Φ(1.25)−[1−Φ(0.38)]=0.8944−[1−0.6480]=0.5424P(-0.38 \le Z \le 1.25) = \Phi(1.25) - \Phi(-0.38) = \Phi(1.25) - [1 - \Phi(0.38)] = 0.8944 - [1 - 0.6480] = 0.5424

    Interval Probability

Critical Values, Percentiles, and Empirical Rule for Normal Distributions

  • Definition of zz Critical Values:
    • The critical value zαz_\alpha denotes the point on the zz-axis such that an area of α\alpha lies strictly to its right under the standard normal curve:         P(Z≥zα)=αP(Z \ge z_\alpha) = \alpha
    • zαz_\alpha is the 100(1−α)th100(1-\alpha)\text{th} percentile of the standard normal distribution.
    • Lower-tail critical value notation: η(α)=−zα\eta(\alpha) = -z_\alpha where Φ(η(α))=α\Phi(\eta(\alpha)) = \alpha

    Critical Value Diagram

  • Common Standard Normal Critical Values (zαz_\alpha):

    • 90th Percentile (Upper-tail α=0.10\alpha = 0.10): z0.10=1.28z_{0.10} = 1.28
    • 95th Percentile (Upper-tail α=0.05\alpha = 0.05): z0.05=1.645z_{0.05} = 1.645
    • 97.5th Percentile (Upper-tail α=0.025\alpha = 0.025): z0.025=1.96z_{0.025} = 1.96
    • 99th Percentile (Upper-tail α=0.01\alpha = 0.01): z0.01=2.33z_{0.01} = 2.33
    • 99.5th Percentile (Upper-tail α=0.005\alpha = 0.005): z0.005=2.58z_{0.005} = 2.58
    • 99.9th Percentile (Upper-tail α=0.001\alpha = 0.001): z0.001=3.08z_{0.001} = 3.08
    • 99.95th Percentile (Upper-tail α=0.0005\alpha = 0.0005): z0.0005=3.27z_{0.0005} = 3.27
  • Percentiles of Arbitrary Normal Distributions:

    • To find the (100p)th(100p)\text{th} percentile ηX(p)\eta_X(p) of X∼N(μ,σ2)X \sim N(\mu, \sigma^2), scale and shift the (100p)th(100p)\text{th} percentile ηZ(p)\eta_Z(p) of N(0,1)N(0,1):         ηX(p)=μ+ηZ(p)×σ\eta_X(p) = \mu + \eta_Z(p) \times \sigma
  • Empirical Rule (68−95−99.768-95-99.7 Rule):

    • For any normally distributed variable X∼N(μ,σ2)X \sim N(\mu, \sigma^2):         P(μ−σ≤X≤μ+σ)≈0.68P(\mu - \sigma \le X \le \mu + \sigma) \approx 0.68P(μ−2σ≤X≤μ+2σ)≈0.95P(\mu - 2\sigma \le X \le \mu + 2\sigma) \approx 0.95P(μ−3σ≤X≤μ+3σ)≈0.997P(\mu - 3\sigma \le X \le \mu + 3\sigma) \approx 0.997

    Empirical Rule

  • Detailed Worked Problems:
    • Bolt Thread Length:
      • Within 1.51.5 standard deviations of mean:             P(∣X−μ∣≤1.5σ)=P(∣Z∣≤1.5)=Φ(1.5)−Φ(−1.5)=0.9332−(1−0.9332)=0.8664P(|X-\mu| \le 1.5\sigma) = P(|Z| \le 1.5) = \Phi(1.5) - \Phi(-1.5) = 0.9332 - (1 - 0.9332) = 0.8664
      • Between 11 and 22 SDs from mean:             P(1σ<∣X−μ∣<2σ)=P(1<∣Z∣<2)=2[Φ(2)−Φ(1)]=2[0.9772−0.8413]=0.2718P(1\sigma < |X-\mu| < 2\sigma) = P(1 < |Z| < 2) = 2[\Phi(2) - \Phi(1)] = 2[0.9772 - 0.8413] = 0.2718
    • Yield Strength of A36 Steel (X∼N(43,4.52)X \sim N(43, 4.5^2)) :
      • Probability yield strength is at least 4040 ksi:             P(X≥40)=P(Z≥40−434.5)=P(Z≥−0.67)=Φ(0.67)=0.7486P(X \ge 40) = P\left(Z \ge \frac{40-43}{4.5}\right) = P(Z \ge -0.67) = \Phi(0.67) = 0.7486
    • Serum Zinc Level (X∼N(90,152)X \sim N(90, 15^2)) :
      • Conditional probability P(X>120∣X>105)P(X > 120 \mid X > 105):             P(X>120∣X>105)=P(X>120)P(X>105)=P(Z>120−9015)P(Z>105−9015)=P(Z>2)P(Z>1)=1−0.97721−0.8413=0.02280.1587≈0.1437P(X > 120 \mid X > 105) = \frac{P(X > 120)}{P(X > 105)} = \frac{P\left(Z > \frac{120-90}{15}\right)}{P\left(Z > \frac{105-90}{15}\right)} = \frac{P(Z > 2)}{P(Z > 1)} = \frac{1 - 0.9772}{1 - 0.8413} = \frac{0.0228}{0.1587} \approx 0.1437
    • Substrate Concentration (X∼N(0.3,0.062)X \sim N(0.3, 0.06^2)) :
      1. Exceeds 0.250.25: P(X>0.25)=P(Z>0.25−0.30.06)=P(Z>−0.83)=Φ(0.83)=0.7967P(X > 0.25) = P\left(Z > \frac{0.25-0.3}{0.06}\right) = P(Z > -0.83) = \Phi(0.83) = 0.7967
      2. At most 0.100.10: P(X≤0.10)=P(Z≤0.10−0.30.06)=P(Z≤−3.33)=Φ(−3.33)=0.0004P(X \le 0.10) = P\left(Z \le \frac{0.10-0.3}{0.06}\right) = P(Z \le -3.33) = \Phi(-3.33) = 0.0004
      3. Largest 5%5\% characterization: ηX(0.95)=μ+z0.05×σ=0.3+1.645×0.06=0.3987\eta_X(0.95) = \mu + z_{0.05} \times \sigma = 0.3 + 1.645 \times 0.06 = 0.3987
    • Oil Percolation Time (Mean μ=20 s\mu = 20\,\text{s}, P(X>31.5)=0.25P(X > 31.5) = 0.25):         P(Z>31.5−20σ)=0.25  ⟹  11.5σ=z0.25=0.67  ⟹  σ=11.50.67≈17.16 secondsP\left(Z > \frac{31.5-20}{\sigma}\right) = 0.25 \implies \frac{11.5}{\sigma} = z_{0.25} = 0.67 \implies \sigma = \frac{11.5}{0.67} \approx 17.16\,\text{seconds}
    • Lithium-Ion Battery Operating Lifetime (X∼N(1200,1502)X \sim N(1200, 150^2)):
      • Qualifying lifetime threshold for extended warranty (top 10%10\% longest-lasting):             ηX(0.90)=μ+z0.10×σ=1200+1.28×150=1392 hours\eta_X(0.90) = \mu + z_{0.10} \times \sigma = 1200 + 1.28 \times 150 = 1392\,\text{hours}
    • Roasted Coffee Beans Weight (X∼N(250,42)X \sim N(250, 4^2)) :
      • Probability a single bag weighs less than 245 g245\,\text{g}:             p=P(X<245)=P(Z<245−2504)=P(Z<−1.25)=1−0.8944=0.1056p = P(X < 245) = P\left(Z < \frac{245-250}{4}\right) = P(Z < -1.25) = 1 - 0.8944 = 0.1056
      • Probability in a sample of n=15n = 15 bags that exactly 33 bags weigh less than 245 g245\,\text{g} (Y∼Bin(15,0.1056)Y \sim \text{Bin}(15, 0.1056)) :             P(Y=3)=(153)(0.1056)3(1−0.1056)12=455×0.001177×0.2598≈0.1392P(Y = 3) = \binom{15}{3} (0.1056)^3 (1 - 0.1056)^{12} = 455 \times 0.001177 \times 0.2598 \approx 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≥0x \ge 0) and right-skewed. The gamma family provides a flexible model for positive, skewed data.
  • The Gamma Function:

    • For α>0\alpha > 0, the gamma function Γ(α)\Gamma(\alpha) is defined as:         Γ(α)=∫0∞xα−1e−x dx\Gamma(\alpha) = \int_0^\infty x^{\alpha-1} e^{-x}\,dx

    Gamma Function Curve

  • Properties of the Gamma Function:

    1. Γ(1)=1\Gamma(1) = 1
    2. Γ(α)=(α−1)Γ(α−1)\Gamma(\alpha) = (\alpha - 1)\Gamma(\alpha - 1) for any α>1\alpha > 1
    3. Γ(n)=(n−1)!\Gamma(n) = (n - 1)! for any positive integer nn
    4. Γ(12)=π\Gamma\left(\frac{1}{2}\right) = \sqrt{\pi}
  • Gamma Distribution Definition & Parameters:

    • A continuous random variable XX has a gamma distribution, denoted as X∼Γ(α,β)X \sim \Gamma(\alpha, \beta), if its PDF is:         f(x;α,β)={1βαΓ(α)xα−1e−x/βx≥00otherwisef(x; \alpha, \beta) = \begin{cases} \frac{1}{\beta^\alpha \Gamma(\alpha)} x^{\alpha-1} e^{-x/\beta} & x \ge 0 \\ 0 & \text{otherwise} \end{cases}         where α>0\alpha > 0 is the shape parameter and β>0\beta > 0 is the scale parameter.

    Gamma Distribution Curves

  • Moment-Generating Function (MGF) Derivation:     MX(t)=E[etX]=∫0∞etx1βαΓ(α)xα−1e−x/β dx=1βαΓ(α)∫0∞xα−1e−x(1β−t) dxM_X(t) = E[e^{tX}] = \int_0^\infty e^{tx} \frac{1}{\beta^\alpha \Gamma(\alpha)} x^{\alpha-1} e^{-x/\beta}\,dx = \frac{1}{\beta^\alpha \Gamma(\alpha)} \int_0^\infty x^{\alpha-1} e^{-x\left(\frac{1}{\beta} - t\right)}\,dx

    • For the integral to converge, the exponent multiplier must be positive: 1β−t>0  ⟹  t<1β\frac{1}{\beta} - t > 0 \implies t < \frac{1}{\beta}.
    • Substitute u=x(1−βtβ)u = x \left(\frac{1-\beta t}{\beta}\right), so x=uβ1−βtx = \frac{u\beta}{1-\beta t} and dx=β1−βt dudx = \frac{\beta}{1-\beta t}\,du:         MX(t)=1βαΓ(α)∫0∞(uβ1−βt)α−1e−u(β1−βt)du=1βαΓ(α)βα(1−βt)α∫0∞uα−1e−u duM_X(t) = \frac{1}{\beta^\alpha \Gamma(\alpha)} \int_0^\infty \left(\frac{u\beta}{1-\beta t}\right)^{\alpha-1} e^{-u} \left(\frac{\beta}{1-\beta t}\right) du = \frac{1}{\beta^\alpha \Gamma(\alpha)} \frac{\beta^\alpha}{(1-\beta t)^\alpha} \int_0^\infty u^{\alpha-1} e^{-u}\,du
    • Since ∫0∞uα−1e−u du=Γ(α)\int_0^\infty u^{\alpha-1} e^{-u}\,du = \Gamma(\alpha), terms cancel to yield:         MX(t)=(1−βt)−α,for t<1βM_X(t) = (1 - \beta t)^{-\alpha}, \quad \text{for } t < \frac{1}{\beta}
  • Mean and Variance Derivation:

    • First derivative: MX′(t)=−α(1−βt)−α−1(−β)=αβ(1−βt)−α−1M_X'(t) = -\alpha(1 - \beta t)^{-\alpha-1}(-\beta) = \alpha\beta(1 - \beta t)^{-\alpha-1}
    • Expected Value: E(X)=MX′(0)=αβE(X) = M_X'(0) = \alpha\beta
    • Second derivative: MX′′(t)=αβ(−α−1)(1−βt)−α−2(−β)=α(α+1)β2(1−βt)−α−2M_X''(t) = \alpha\beta(-\alpha-1)(1 - \beta t)^{-\alpha-2}(-\beta) = \alpha(\alpha+1)\beta^2(1 - \beta t)^{-\alpha-2}
    • Second Moment: E(X2)=MX′′(0)=α(α+1)β2E(X^2) = M_X''(0) = \alpha(\alpha+1)\beta^2
    • Variance: V(X)=E(X2)−[E(X)]2=α(α+1)β2−α2β2=αβ2V(X) = E(X^2) - [E(X)]^2 = \alpha(\alpha+1)\beta^2 - \alpha^2\beta^2 = \alpha\beta^2
  • Core Properties of Gamma Variables:

    • Sum of Independent Gammas: If Xi∼Γ(αi,β)X_i \sim \Gamma(\alpha_i, \beta) (i=1,2,…,ni = 1, 2, \dots, n) are independent, then:         ∑i=1nXi∼Γ(∑i=1nαi,β)\sum_{i=1}^n X_i \sim \Gamma\left(\sum_{i=1}^n \alpha_i, \beta\right)
    • Scaling Transformation: If X∼Γ(α,β)X \sim \Gamma(\alpha, \beta) and k>0k > 0, then:         kX∼Γ(α,kβ)kX \sim \Gamma(\alpha, k\beta)
  • Poisson Process Connection:

    • Gamma models the total waiting time until the α\alpha\text{-th} event in a Poisson process.
    • β\beta represents the average time between occurrences (1/β1/\beta is the rate parameter in average events per unit time).
    • CDF Connection: The probability that the α\alpha\text{-th} event occurs by time xx equals 11 minus the probability that fewer than α\alpha events occur in time xx:         F(x)=P(X≤x)=1−P(fewer than α events in time x)=1−∑k=0α−1P(Y=k),Y∼Pois(xβ)F(x) = P(X \le x) = 1 - P(\text{fewer than } \alpha \text{ events in time } x) = 1 - \sum_{k=0}^{\alpha-1} P(Y = k), \quad Y \sim \text{Pois}\left(\frac{x}{\beta}\right)

Special Cases of the Gamma Distribution: Standard Gamma

  • Taxonomy of Gamma Special Cases:

    • Standard Gamma: β=1  ⟹  X∼Γ(α,1)\beta = 1 \implies X \sim \Gamma(\alpha, 1)
    • Exponential: α=1  ⟹  X∼Γ(1,β)\alpha = 1 \implies X \sim \Gamma(1, \beta)
    • Chi-Squared: α=ν2,β=2  ⟹  X∼Γ(ν2,2)\alpha = \frac{\nu}{2}, \beta = 2 \implies X \sim \Gamma\left(\frac{\nu}{2}, 2\right)
  • Standard Gamma Distribution (X∼Γ(α,1)X \sim \Gamma(\alpha, 1)):

    • Probability Density Function:         f(x;α)={xα−1e−xΓ(α)x≥00otherwisef(x; \alpha) = \begin{cases} \frac{x^{\alpha-1} e^{-x}}{\Gamma(\alpha)} & x \ge 0 \\ 0 & \text{otherwise} \end{cases}
    • Density Curve Shape as α\alpha varies:
      • α<1\alpha < 1: Unbounded near x=0x = 0, no finite peak.
      • α=1\alpha = 1: Maximum at x=0x = 0, decays exponentially.
      • α>1\alpha > 1: Mound-shaped, starts at 00, peaks at mode x=α−1x = \alpha - 1, and becomes increasingly symmetric/bell-shaped as α\alpha grows.

    Standard Gamma Density Curves

  • Incomplete Gamma Function & Probability Calculations:

    • The CDF of a standard gamma variable X∼Γ(α,1)X \sim \Gamma(\alpha, 1) is the incomplete gamma function:         F(x;α)=∫0xyα−1e−yΓ(α) dy,x>0F(x; \alpha) = \int_0^x \frac{y^{\alpha-1} e^{-y}}{\Gamma(\alpha)}\,dy, \quad x > 0
    • For arbitrary X∼Γ(α,β)X \sim \Gamma(\alpha, \beta), standardizing yields:         P(X≤x)=F(xβ;α)P(X \le x) = F\left(\frac{x}{\beta}; \alpha\right)P(a≤X≤b)=F(bβ;α)−F(aβ;α)P(a \le X \le b) = F\left(\frac{b}{\beta}; \alpha\right) - F\left(\frac{a}{\beta}; \alpha\right)
  • Worked Problems:

    • Customer Arrivals at Shop (Poisson rate 30/hr  ⟹  β=2 minutes30/\text{hr} \implies \beta = 2\,\text{minutes} per customer):
      1. Wait more than 5 minutes5\,\text{minutes} before both of the first 2 customers arrive (α=2\alpha = 2, X∼Γ(2,2)X \sim \Gamma(2, 2)):             P(X>5)=1−P(X≤5)=1−F(52;2)=1−F(2.5;2)P(X > 5) = 1 - P(X \le 5) = 1 - F\left(\frac{5}{2}; 2\right) = 1 - F(2.5; 2)             From Table A.4 (Incomplete Gamma Function Table), F(2.5;2)=0.713F(2.5; 2) = 0.713.             P(X>5)=1−0.713=0.287P(X > 5) = 1 - 0.713 = 0.287
      2. Average time before 33 customers arrive:             E(X)=αβ=3×2=6 minutesE(X) = \alpha\beta = 3 \times 2 = 6\,\text{minutes}
    • Electronic Component Lifetime (E(X)=30 hoursE(X) = 30\,\text{hours}, σ=300 hours  ⟹  V(X)=300\sigma = \sqrt{300}\,\text{hours} \implies V(X) = 300):
      • Parameter solving:             αβ=30,αβ2=300  ⟹  β=30030=10,α=3010=3  ⟹  X∼Γ(3,10)\alpha\beta = 30, \quad \alpha\beta^2 = 300 \implies \beta = \frac{300}{30} = 10, \quad \alpha = \frac{30}{10} = 3 \implies X \sim \Gamma(3, 10)
      1. Probability component lasts at least 30 hours30\,\text{hours}:             P(X≥30)=1−F(3010;3)=1−F(3;3)=1−0.577=0.423P(X \ge 30) = 1 - F\left(\frac{30}{10}; 3\right) = 1 - F(3; 3) = 1 - 0.577 = 0.423
      2. Probability component lasts between 2020 and 30 hours30\,\text{hours}:             P(20≤X≤30)=F(3010;3)−F(2010;3)=F(3;3)−F(2;3)=0.577−0.323=0.254P(20 \le X \le 30) = F\left(\frac{30}{10}; 3\right) - F\left(\frac{20}{10}; 3\right) = 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\alpha = 1 and β=1λ\beta = \frac{1}{\lambda}, denoted as X∼Exp(λ)X \sim \text{Exp}(\lambda) 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    ![Exponential Distribution Curves](https://assets.knowt.com/pdf-flow-prod/5ec51fb0-a3fd-43af-99c0-1eafb36006d3-figures/0.png)\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.Anoldcomponenthastheexactsameprobabilityofsurvivinganadditional. An old component has the exact same probability of surviving an additionalt 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).Thenelapsedtimeis the rate of events per unit time). Then elapsed timeTbetweensuccessiveeventsisexponentiallydistributedwithbetween successive events is exponentially distributed with\lambda = a$.
    • Proof:         F(t)=P(T≤t)=1−P(T>t)F(t) = P(T \le t) = 1 - P(T > t)         The condition T>tT > t means 0 events occurred in time interval tt. Let X∼Pois(at)X \sim \text{Pois}(at):         P(T>t)=P(X=0)=e−at(at)00!=e−atP(T > t) = P(X = 0) = \frac{e^{-at}(at)^0}{0!} = e^{-at}F(t)=1−e−at,t≥0F(t) = 1 - e^{-at}, \quad t \ge 0         Taking the derivative yields the PDF:         f(t)=F′(t)=ae−at,t≥0f(t) = F'(t) = a e^{-at}, \quad t \ge 0         which is the PDF of Exp(a)\text{Exp}(a).
  • Worked Problems:

    • Cafeteria Arrivals (Poisson rate 30/hr  ⟹  λ=0.5/min30/\text{hr} \implies \lambda = 0.5/\text{min}):
      1. Probability time between arrivals >3 minutes> 3\,\text{minutes}:             P(T>3)=e−0.5×3=e−1.5≈0.2231P(T > 3) = e^{-0.5 \times 3} = e^{-1.5} \approx 0.2231
      2. Expected time between arrivals:             E(T)=1λ=10.5=2 minutesE(T) = \frac{1}{\lambda} = \frac{1}{0.5} = 2\,\text{minutes}
    • Industrial Batteries System (Average life 8 years  ⟹  λ=1/88\,\text{years} \implies \lambda = 1/8):
      • Probability a single battery lasts >8 years> 8\,\text{years}:             p=P(X>8)=e−18×8=e−1≈0.3679p = P(X > 8) = e^{-\frac{1}{8} \times 8} = e^{-1} \approx 0.3679
      • In a system of 6 installed batteries, probability at least 2 last >8 years> 8\,\text{years} (Y∼Bin(6,0.3679)Y \sim \text{Bin}(6, 0.3679)) :             P(Y≥2)=1−P(Y=0)−P(Y=1)=1−(1−p)6−6p(1−p)5P(Y \ge 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= 1 - (0.6321)^6 - 6(0.3679)(0.6321)^5 \approx 1 - 0.0625 - 0.2183 = 0.7192
    • Car Battery Trip (Average life 10,000 km  ⟹  λ=1/1000010{,}000\,\text{km} \implies \lambda = 1/10000):
      • Probability completing a 5000 km5000\,\text{km} trip without replacement:             P(X≥5000)=e−110000×5000=e−0.5≈0.6065P(X \ge 5000) = e^{-\frac{1}{10000} \times 5000} = e^{-0.5} \approx 0.6065
    • Battery Failure Threshold (10%10\% fail within first 500 hours500\,\text{hours}):
      • Finding λ\lambda:             F(500)=1−e−500λ=0.10  ⟹  e−500λ=0.90F(500) = 1 - e^{-500\lambda} = 0.10 \implies e^{-500\lambda} = 0.90
      • Probability functioning after 2000 hours2000\,\text{hours}:             P(X>2000)=e−2000λ=(e−500λ)4=(0.90)4=0.6561P(X > 2000) = e^{-2000\lambda} = (e^{-500\lambda})^4 = (0.90)^4 = 0.6561

The Chi-Squared Distribution

  • Definition & Parameters:

    • The chi-squared distribution with ν\nu degrees of freedom (df), denoted as X∼χ2(ν)X \sim \chi^2(\nu) or X∼χν2X \sim \chi^2_\nu, is a gamma distribution with α=ν2\alpha = \frac{\nu}{2} and β=2\beta = 2, where ν\nu is a positive integer.
  • Probability Density Function (PDF):     f(x;ν)={12ν/2Γ(ν/2)x(ν/2)−1e−x/2x≥00x<0f(x; \nu) = \begin{cases} \frac{1}{2^{\nu/2} \Gamma(\nu/2)} x^{(\nu/2)-1} e^{-x/2} & x \ge 0 \\ 0 & x < 0 \end{cases}

    Chi-Squared Density Curves

  • Expectation, Variance, & MGF:     E(X)=νE(X) = \nuV(X)=2νV(X) = 2\nuMX(t)=(1−2t)−ν/2,for t<12M_X(t) = (1 - 2t)^{-\nu/2}, \quad \text{for } t < \frac{1}{2}

  • Relationship with Standard Normal Distribution:

    • Proposition: If Z∼N(0,1)Z \sim N(0,1), then Z2∼χ2(1)Z^2 \sim \chi^2(1).

    Densities of Z and Z squared

  • Chi-Squared Critical Values ($\chi^2_{\alpha, u}$):
    • The critical value χα,ν2\chi^2_{\alpha, \nu} denotes the value on the horizontal axis such that an area of α\alpha lies to its right under the χν2\chi^2_\nu curve:         P(X≥χα,ν2)=αP(X \ge \chi^2_{\alpha, \nu}) = \alphaP(X≤χα,ν2)=1−αP(X \le \chi^2_{\alpha, \nu}) = 1 - \alpha

    Chi-Squared Critical Value Diagram

  • Key Distribution Theorems:

    • Sum of Independent Chi-Squared Variables: If Xi∼χ2(νi)X_i \sim \chi^2(\nu_i) (i=1,2,…,ni = 1, 2, \dots, n) are independent, then:         ∑i=1nXi∼χ2(∑i=1nνi)\sum_{i=1}^n X_i \sim \chi^2\left(\sum_{i=1}^n \nu_i\right)
    • Gamma to Chi-Squared Conversion: If 2α2\alpha is a positive integer and X∼Γ(α,β)X \sim \Gamma(\alpha, \beta), then:         2Xβ∼χ2(2α)\frac{2X}{\beta} \sim \chi^2(2\alpha)
  • Worked Problems & Applications:

    • Exponential to Chi-Squared Relation: If XX has exponential distribution with mean 22, then X∼Exp(0.5)=Γ(1,2)X \sim \text{Exp}(0.5) = \Gamma(1, 2). Comparing parameters with χ2(ν)=Γ(ν/2,2)\chi^2(\nu) = \Gamma(\nu/2, 2) gives ν/2=1  ⟹  ν=2\nu/2 = 1 \implies \nu = 2. Thus X∼χ2(2)X \sim \chi^2(2).
    • System of Electronic Components: Component life follows χ2(10)\chi^2(10). Probability a component needs replacement within 16 hours16\,\text{hours}:
      • From Table A.11, χ0.10,102=15.987≈16  ⟹  P(X>16)=0.10  ⟹  P(X≤16)=0.90\chi^2_{0.10, 10} = 15.987 \approx 16 \implies P(X > 16) = 0.10 \implies P(X \le 16) = 0.90
      • For 4 independent components in a system, probability all 4 are replaced within 16 hours16\,\text{hours}:             P=(0.90)4=0.6561P = (0.90)^4 = 0.6561
    • Walmart Customer Arrivals (Poisson rate 150/hr=2.5/min150/\text{hr} = 2.5/\text{min}):
      1. First customer arrives within 1 minute1\,\text{minute} (T∼Exp(2.5)T \sim \text{Exp}(2.5)) :             P(T≤1)=1−e−2.5×1=1−e−2.5≈0.9179P(T \le 1) = 1 - e^{-2.5 \times 1} = 1 - e^{-2.5} \approx 0.9179
      2. 1212 or more customers arrive in a 4-minute window (Y∼Pois(2.5×4)=Pois(10)Y \sim \text{Pois}(2.5 \times 4) = \text{Pois}(10)) :             P(Y≥12)=1−P(Y≤11)P(Y \ge 12) = 1 - P(Y \le 11)
      3. The 10th customer arrives between 6:07 am and 6:08 am (t∈[7,8]t \in [7, 8] minutes). Elapsed time X10∼Γ(10,β=1/2.5=0.4)X_{10} \sim \Gamma(10, \beta = 1/2.5 = 0.4).             Convert to χ2\chi^2: 2X100.4=5X10∼χ2(20)\frac{2X_{10}}{0.4} = 5X_{10} \sim \chi^2(20).             P(7≤X10≤8)=P(35≤5X10≤40)=P(34.170≤χ2(20)≤39.997)P(7 \le X_{10} \le 8) = P(35 \le 5X_{10} \le 40) = P(34.170 \le \chi^2(20) \le 39.997)             Given χ0.025,202=34.170\chi^2_{0.025, 20} = 34.170 and χ0.005,202=39.997\chi^2_{0.005, 20} = 39.997:             P=0.025−0.005=0.020P = 0.025 - 0.005 = 0.020             In a week (n=7n=7 days), probability this happens on exactly 22 days (D∼Bin(7,0.020)D \sim \text{Bin}(7, 0.020)) :             P(D=2)=(72)(0.020)2(0.980)5=21×0.0004×0.9039≈0.0076P(D = 2) = \binom{7}{2} (0.020)^2 (0.980)^5 = 21 \times 0.0004 \times 0.9039 \approx 0.0076
      4. Time until next customer arrival exceeds 2 minutes2\,\text{minutes} (T∼Exp(2.5)T \sim \text{Exp}(2.5)) :             P(T>2)=e−2.5×2=e−5≈0.0067P(T > 2) = e^{-2.5 \times 2} = e^{-5} \approx 0.0067
    • Critical Value Lookups:
      1. If X∼χ2(5)X \sim \chi^2(5) and P(X≤x)=0.96P(X \le x) = 0.96, then P(X≥x)=0.04  ⟹  x=χ0.04,52=11.64P(X \ge x) = 0.04 \implies x = \chi^2_{0.04, 5} = 11.64
      2. If χ0.075,52=10\chi^2_{0.075, 5} = 10, then for X∼χ2(5)X \sim \chi^2(5), P(X≤10)=1−0.075=0.925P(X \le 10) = 1 - 0.075 = 0.925