Seven continuous families cover most modelling needs: uniform (no preference), normal (sums of many small effects), exponential (memoryless waiting), gamma (waiting for k events), beta (probabilities and proportions), Student-t and Laplace (heavy and sharp tails). This page gives their shapes, moments and the constructions linking them, and shows why the choice of tail matters: a Student-t noise model makes position estimates immune to GPS multipath outliers.
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.
Shapes of uncertainty
Continuous quantities come in a few typical shapes:
flat, when anything in a range is equally likely, like where a spinner stops;
the bell curve, for errors that come from adding up many tiny effects;
steeply falling, for how long until the next random event, such as the next cosmic-ray hit;
squeezed between 0 and 1, for uncertain probabilities;
heavy-tailed, when rare huge surprises happen more often than a bell curve allows.
Each shape is a named continuous distribution with known formulas.
The continuous families
mean = 2.000 · variance = 2.000 · story: waiting for the k-th event; positive quantities with skew (rainfall, service times)
Why engineers care
A drone’s GPS is usually off by about a metre. But near tall buildings, reflected signals (“multipath”) occasionally push it off by 30 m. Treat that noise as a bell curve and one bad reading drags the position estimate away. Model it with a heavy-tailed distribution and the estimator shrugs it off.
📝 Quick check (Level 0)
0/3 answered
1. Measurement errors from many small causes tend to be…
2. Uniform on [0, 10]: P(X < 3) = ?
3. 'Rare huge surprises more often than a bell curve' means…
Level 1: Beginner
★★☆☆☆ Basic⏱ 15 minSecondary-school mathematics: arithmetic and elementary algebra.
The families
Family
Density
Mean
Variance
Typical use
Uniform(a,b)
b−a1 on [a,b]
2a+b
12(b−a)2
quantization, random phase
Normal(μ,σ2)
σ2π1e−(x−μ)2/2σ2
μ
σ2
sensor noise, CLT
Exponential(λ)
λe−λx, x≥0
1/λ
1/λ2
waiting times, lifetimes
Gamma(k,λ)
Γ(k)λkxk−1e−λx
k/λ
k/λ2
time to the k-th event, positive rates
Beta(α,β)
B(α,β)xα−1(1−x)β−1 on [0,1]
α+βα
(α+β)2(α+β+1)αβ
probabilities, proportions
Student-t(ν)
∝(1+x2/ν)−(ν+1)/2
0 (ν>1)
ν−2ν (ν>2)
outliers, small samples
Laplace(μ,b)
2b1e−∣x−μ∣/b
μ
2b2
sparse priors (ℓ¹), impulsive noise
The 68–95–99.7 rule: a normal variable is within 1σ, 2σ and 3σ of its mean with probability about 0.683, 0.954 and 0.997.
📝 Quick check (Level 1)
0/3 answered
1. Uniform(2, 8) variance?
2. Exponential with rate 0.5: mean?
3. Beta(α, β) lives on…
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 40 minUndergraduate students and practising engineers.
How they connect
Exponential → gamma: the sum of k independent Exp(λ) is Gamma(k,λ), the time of the k-th Poisson event.
Gamma → beta: for independent X∼Gamma(α) and Y∼Gamma(β) with the same rate, X/(X+Y)∼Beta(α,β).
Normal → χ² → t:Z2∼χ12. Then ∑i≤νZi2∼χν2 = Gamma(ν/2,1/2), and Z/χν2/ν∼tν. As ν→∞, tν→N(0,1).
Exponential → Laplace: the difference of two i.i.d. exponentials is Laplace.
Minimum of exponentials:miniExp(λi)=Exp(∑λi). In a series system, failure rates add.
Memorylessness:P(X>s+t∣X>s)=e−λt, and the exponential is the only continuous distribution with this property.
Student-t as a scale mixture: a normal whose variance is itself random (inverse-gamma) gives a Student-t. That’s the source of its robustness (Exercise 2).
Tails decide robustness
The log-density’s tail behaviour determines how strongly an outlier pulls an estimate (its influence function):
Normal: quadratic log-density, so the pull grows linearly with the residual. Outliers dominate.
Laplace: linear, so the pull is bounded. The MLE is the median.
Student-t: logarithmic, so the pull fades as the residual grows and large outliers are almost ignored.
🐍 Exercise 1: seven families and how they connect
Implement the seven densities, using log-gamma for stability. Check normalization, means and variances by numerical integration. Then verify by simulation that sums of exponentials are gamma, gamma ratios are beta, normal/√(χ²/ν) is Student-t, and differences of exponentials are Laplace.
📝 Quick check (Level 2)
0/3 answered
1. Sum of 3 independent Exp(λ):
2. Min of Exp(1/1000), Exp(1/2000), Exp(1/4000) has mean…
3. The MLE of location under Laplace noise is the…
Level 3: Advanced
★★★★☆ Advanced⏱ 40 minGraduate level, with full derivations and proofs.
Derivations
Exponential memorylessness.P(X>s+t)/P(X>s)=e−λ(s+t)/e−λs=e−λt. Conversely, a survival function with G(s+t)=G(s)G(t) that’s monotone must be exponential (Cauchy’s functional equation). ∎
Minimum of exponentials.P(min>t)=∏P(Xi>t)=e−(∑λi)t. ∎
Uniform quantization noise. Rounding to a grid of step Δ gives error approximately Uniform(−Δ/2,Δ/2), with variance Δ2/12. That’s the classic ADC noise floor, and the reason a 12-bit converter has SNR ≈ 6.02 × 12 + 1.76 dB. ∎
The normal normalization∫e−x2/2=2π comes from squaring the integral and switching to polar coordinates (A3.1-8).
Gamma and beta functions
Γ(k)=∫0∞xk−1e−xdx satisfies Γ(k+1)=kΓ(k) and Γ(n)=(n−1)!. B(α,β)=Γ(α)Γ(β)/Γ(α+β) normalizes the beta. In code, always work with log-gamma: Γ(171) already overflows a double.
Exercise 3.1: Show that the Student-t with ν = 1 is the Cauchy distribution and has no mean
For ν=1, the density is π(1+x2)1. Then ∫∣x∣/(π(1+x2))dx diverges like ∫dx/x (A4.1-7).
📝 Quick check (Level 3)
0/3 answered
1. Γ(5) = ?
2. Quantization noise variance with step Δ?
3. Student-t(1) is the…
Level 4: Expert
★★★★★ Expert⏱ 45 minResearchers: original papers and open problems.
Heavy-tailed noise models for robust estimation
GNSS in urban canyons, lidar returns off glass, and visual feature mismatches all produce outliers that a Gaussian noise model can’t handle: one bad measurement drags the estimate. Modelling the noise as Student-t gives an M-estimator whose IRLS weights wi=ν+ri2/s2ν+1 automatically down-weight large residuals. It recovers the truth with almost no loss of efficiency on clean data (Lange, Little and Taylor, 1989). Robust kernels such as Huber, Cauchy and Geman–McClure play the same role in SLAM back-ends and bundle adjustment (Agarwal et al., 2013; Barron, 2019). The choice of tail is a modelling decision with safety consequences.
🐍 Exercise 2 (research): robust positioning with Student-t noise
Simulate position fixes with Gaussian noise plus 10% multipath outliers. Compare the sample mean (Gaussian MLE), the median (Laplace MLE) and the Student-t MLE computed by IRLS, then check that the t estimator loses little on clean data.
The families across AI, robotics and aerospace
Reliability. Exponential lifetimes (a constant hazard) for electronics in their useful life, Weibull and gamma for wear-out. In series systems rates add, which is the basis of MIL-HDBK-217-style predictions.
Bayesian priors. Beta for success probabilities, gamma for rates and precisions, Laplace for sparsity (the Bayesian lasso; Park and Casella, 2008), Student-t for robust regression. Conjugacy comes next (A4.2-5).
Deep learning. Weight initializations use uniform or normal distributions with variance ∝1/fan-in (Glorot and Bengio, 2010; He et al., 2015). Diffusion models add Gaussian noise. Heavy-tailed gradient noise in SGD has been observed and analysed (Şimşekli, Sagun and Gürbüzbalaban, 2019).
Rare-event and extreme-value thinking. Wind gusts on launch vehicles, solar-storm particle fluxes and sensor glitches are heavy-tailed. Using a normal model underestimates extreme loads by orders of magnitude (Practice Code 5).
References
N. Johnson, S. Kotz, N. Balakrishnan (1994–95). Continuous Univariate Distributions, Vols. 1–2, 2nd ed. Wiley.
K. Lange, R. Little, J. Taylor (1989). “Robust statistical modeling using the t distribution.” JASA, 84(408).
P. Agarwal, G. D. Tipaldi, L. Spinello, C. Stachniss, W. Burgard (2013). “Robust map optimization using dynamic covariance scaling.” ICRA.
J. Barron (2019). “A general and adaptive robust loss function.” CVPR.
T. Park, G. Casella (2008). “The Bayesian lasso.” JASA, 103(482).
X. Glorot, Y. Bengio (2010). “Understanding the difficulty of training deep feedforward neural networks.” AISTATS.
K. He, X. Zhang, S. Ren, J. Sun (2015). “Delving deep into rectifiers.” ICCV.
U. Şimşekli, L. Sagun, M. Gürbüzbalaban (2019). “A tail-index analysis of stochastic gradient noise in deep neural networks.” ICML.
B. Widrow, I. Kollár (2008). Quantization Noise. Cambridge.
Buses every 10 minutes and you arrive at a random time. What is your average wait?
5 minutes.
Problem 3Level 0
What is P(a normal is within 1σ of its mean)?
≈0.683.
Level 1
Problem 4Level 1
What is the variance of Uniform(2, 8)?
3.
Problem 5Level 1
What is the mean of an exponential with rate 0.5?
2.
Problem 6Level 1
What is P(∣Z∣≤2)?
≈0.954.
Problem 7Level 1
What is the mean of Gamma(3, rate 0.5)?
3/0.5.
Level 2
Problem 8Level 2
What is the mean of Beta(2, 5)?
2/7.
Problem 9Level 2
What is the variance of Laplace(0, b = 1.5)?
2b2.
Problem 10Level 2
What is the variance of Student-t(5)?
5/3.
Problem 11Level 2
A series system with failure rates 1/1000, 1/2000 and 1/4000 per hour. What is its mean time to first failure?
1/0.00175 h.
Problem 12Level 2
What is P(Exp(1)>2)?
e−2.
Problem 13Level 2
What is the variance of Gamma(4, rate 2)?
4/4.
Level 3
Problem 14Level 3
Prove that the exponential distribution is memoryless.
P(X>s+t∣X>s)=e−λ(s+t)/e−λs=e−λt=P(X>t). ∎
Problem 15Level 3
Prove that the minimum of independent exponentials is exponential with the summed rate.
P(min>t)=∏e−λit=e−(∑λi)t. ∎
Problem 16Level 3
Show that Uniform(−Δ/2,Δ/2) has variance Δ2/12.
Δ1∫−Δ/2Δ/2x2dx=Δ1⋅32(2Δ)3=12Δ2. ∎
Problem 17Level 3
What is P(a normal is more than 3σ from its mean)?
≈0.0027.
Level 4
Problem 18Level 4
Student-t(3) rescaled to unit variance. What is P(∣X∣>6)?
≈1.9×10−3.
Problem 19Level 4
By roughly what factor is that more likely than for a normal (2×10−9)?
≈106.
Problem 20Level 4
Unit-variance Laplace. What is P(∣X∣>4)?
e−42≈0.00349.
Coding practice
🐍 Code 1 (Level 1): the uniform
Return the mean and variance of Uniform(a, b).
🐍 Code 2 (Level 2): the 68–95–99.7 rule
Implement the normal CDF with erf, and compute k-sigma probabilities.
🐍 Code 3 (Level 2): first failure in a series system
Simulate the minimum of exponential lifetimes. Confirm the rates add and that survivors are as good as new.
🐍 Code 4 (Level 3): gamma as waiting for k events
Build a gamma as a sum of exponential gaps, and check its moments and quantiles.
🐍 Code 5 (Level 4): same variance, different tails
Compare P(|X| > c) for unit-variance normal, Laplace and Student-t(3) at 2, 4 and 6 standard deviations.
Topic test
A timed test drawn at random from this topic's question bank. Each attempt gets new questions. For a longer test across the whole chapter, see the chapter test, or mix topics in the question bag.