Quiz 2
Registry Synced

Week 4.2: Common Continuous Distributions

529 words
3 min read

Reading compass

Now · 1. Uniform Distribution $\text{Uniform}(a,b)$

Week 4.2: Common Continuous Distributions

Prerequisites: Continuous RVs (Week 4.1: Continuous Random Variables & PDFs) Cross-links: BSMA3012 (Linear Stat Models) — error distributions Core question: What are the workhorse continuous distributions in statistics?

1. Uniform Distribution Uniform(a,b)\text{Uniform}(a,b)

PDF: fX(x)=1baf_X(x) = \frac{1}{b-a}, axba \leq x \leq b CDF: FX(x)=xabaF_X(x) = \frac{x-a}{b-a}, axba \leq x \leq b Mean: a+b2\frac{a+b}{2} Variance: (ba)212\frac{(b-a)^2}{12} Uses: Random number generation, "uninformed" priors in Bayesian stats.

Example

Bus arrival time uniformly distributed between 0 and 30 minutes. P(wait>20)=3020300=13\mathbb{P}(\text{wait} > 20) = \frac{30-20}{30-0} = \frac{1}{3}.

2. Exponential Distribution Exp(λ)\text{Exp}(\lambda)

PDF: fX(x)=λeλxf_X(x) = \lambda e^{-\lambda x}, x0x \geq 0 CDF: FX(x)=1eλxF_X(x) = 1 - e^{-\lambda x}, x0x \geq 0 Mean: 1/λ1/\lambda Variance: 1/λ21/\lambda^2 Uses: Waiting times, inter-arrival times, service times. Memoryless property: P(X>s+tX>s)=P(X>t)\mathbb{P}(X > s + t \mid X > s) = \mathbb{P}(X > t).

Example

Light bulbs with λ=0.001\lambda = 0.001 (mean life = 1000 hours). P(bulb lasts>800)=e0.001800=e0.80.449\mathbb{P}(\text{bulb lasts} > 800) = e^{-0.001 \cdot 800} = e^{-0.8} \approx 0.449.

3. Normal (Gaussian) Distribution N(μ,σ2)\mathcal{N}(\mu, \sigma^2)

PDF: fX(x)=12πσ2exp((xμ)22σ2)f_X(x) = \frac{1}{\sqrt{2\pi\sigma^2}} \exp\left(-\frac{(x-\mu)^2}{2\sigma^2}\right), xRx \in \mathbb{R} Mean: μ\mu Variance: σ2\sigma^2 Standard Normal: ZN(0,1)Z \sim \mathcal{N}(0,1), CDF denoted Φ(z)\Phi(z) 68-95-99.7 Rule:
  • P(Xμσ)0.68\mathbb{P}(|X-\mu| \leq \sigma) \approx 0.68
  • P(Xμ2σ)0.95\mathbb{P}(|X-\mu| \leq 2\sigma) \approx 0.95
  • P(Xμ3σ)0.997\mathbb{P}(|X-\mu| \leq 3\sigma) \approx 0.997 Standardisation: Z=XμσN(0,1)Z = \frac{X - \mu}{\sigma} \sim \mathcal{N}(0,1).

Example

IQ scores N(100,152)\sim \mathcal{N}(100, 15^2). P(IQ>130)=P(Z>13010015)=P(Z>2)0.0228\mathbb{P}(\text{IQ} > 130) = \mathbb{P}(Z > \frac{130-100}{15}) = \mathbb{P}(Z > 2) \approx 0.0228.

4. Gamma Distribution Gamma(α,β)\text{Gamma}(\alpha, \beta)

PDF: fX(x)=βαΓ(α)xα1eβxf_X(x) = \frac{\beta^\alpha}{\Gamma(\alpha)} x^{\alpha-1} e^{-\beta x}, x0x \geq 0 Mean: α/β\alpha/\beta Variance: α/β2\alpha/\beta^2 Special cases:
  • α=1\alpha = 1: Exponential(β\beta)
  • α=n\alpha = n (integer): Sum of nn i.i.d. Exponential(β\beta)

5. Summary Table

DistributionPDFSupportE[X]\mathbb{E}[X]Var(X)\operatorname{Var}(X)
Uniform( a,ba,b )1ba\frac{1}{b-a}[a,b][a,b]a+b2\frac{a+b}{2}(ba)212\frac{(b-a)^2}{12}
Exp( λ\lambda )λeλx\lambda e^{-\lambda x}[0,)[0,\infty)1λ\frac{1}{\lambda}1λ2\frac{1}{\lambda^2}
N(μ,σ2)\mathcal{N}(\mu,\sigma^2)1σ2πe(xμ)22σ2\frac{1}{\sigma\sqrt{2\pi}}e^{-\frac{(x-\mu)^2}{2\sigma^2}}R\mathbb{R}μ\muσ2\sigma^2
Gamma( α,β\alpha,\beta )βαΓ(α)xα1eβx\frac{\beta^\alpha}{\Gamma(\alpha)}x^{\alpha-1}e^{-\beta x}[0,)[0,\infty)α/β\alpha/\betaα/β2\alpha/\beta^2

6. Practice Questions

Q1 (Easy)

XUniform(2,5)X \sim \text{Uniform}(2, 5). Find P(X>4)\mathbb{P}(X > 4).
Full Solution
P(X>4)=5452=13\mathbb{P}(X > 4) = \frac{5-4}{5-2} = \frac{1}{3}.

Q2 (Medium)

XN(50,102)X \sim \mathcal{N}(50, 10^2). Find P(X>65)\mathbb{P}(X > 65).
Full Solution
Z=(6550)/10=1.5Z = (65-50)/10 = 1.5. P(Z>1.5)=1Φ(1.5)=10.9332=0.0668\mathbb{P}(Z > 1.5) = 1 - \Phi(1.5) = 1 - 0.9332 = 0.0668.

Q3 (Hard)

If XExp(0.5)X \sim \text{Exp}(0.5), find the median of XX.
Full Solution
Median mm satisfies F(m)=0.5F(m) = 0.5. 1e0.5m=0.5    e0.5m=0.5    0.5m=ln(0.5)    m=2ln(0.5)=2ln21.3861 - e^{-0.5m} = 0.5 \implies e^{-0.5m} = 0.5 \implies -0.5m = \ln(0.5) \implies m = -2\ln(0.5) = 2\ln 2 \approx 1.386.

Document outline

Keep your place and jump directly to a heading.

Table of Contents
System Normal // Awaiting Context

Intelligence Hub

Navigate the knowledge graph to generate context. The Hub adapts dynamically to surface backlinks, related notes, and metadata insights.