06. Gaussian Distribution — The Distribution of Universality
Distribution 1/3. Understand the Gaussian (normal) distribution not as a "bell-shaped curve," but as the unique answer reached by three independent derivations. Background: probability spaces, moments and characteristic functions, and the CLT.
Definition
The probability density function of is
- : location (mean, median, and mode—the three coincide because of perfect symmetry)
- : scale (variance)
- The normalization constant comes from the Gaussian integral , or equivalently .
Standardization: . Every Gaussian is a location-scale transformation of the standard normal distribution, so one table (or one function ) handles the entire family.
cannot be expressed using elementary functions—even the Gaussian has no closed-form CDF, which makes the alpha-stable distribution's "lack of a closed-form density" seem less unusual.
Why this particular shape? Three derivations
Route 1: central limit theorem (limit of sums)
As the CLT states, standardized sums of finite-variance i.i.d. factors converge to regardless of the original distribution. This is why quantities generated as "the sum of countless small independent factors," such as measurement error, biological signals, and aggregate statistics, are close to Gaussian.
Route 2: maximum entropy (minimum assumptions)
Suppose only two facts, the mean and variance , are known and nothing else. Under those constraints, the distribution that maximizes the differential entropy
is exactly (derived with Lagrange multipliers). In other words, the Gaussian assumes the least additional structure beyond the given mean and variance. This is the information-theoretic justification for the common practice of modeling noise as Gaussian.
Route 3: stability (closure under sums)
The sum of independent Gaussians is again Gaussian:
It satisfies the definition of stability, and the Gaussian is the only stable distribution with finite variance. It is the vertex of the alpha-stable family.
Core properties
Characteristic function and MGF
Moments of every order exist, and the central moments are
Skewness 0 and kurtosis 3—the reference value of 3 for kurtosis comes from the Gaussian.
Closure under linear transformations and combinations
, and any linear combination of independent Gaussians is also Gaussian. Thanks to this closure, every intermediate calculation in linear models, Kalman filters, and Gaussian processes stays within the family. "Start Gaussian, end Gaussian" is the rule of the linear world.
The 68–95–99.7 rule
The tail decays extremely quickly as . The probability outside is about . This rapid decay is both an advantage (concentration inequalities) and a trap: when extreme values in real data occur far more often than a Gaussian predicts (as with financial returns), a Gaussian model systematically underestimates risk. The alpha-stable distribution is an alternative.
Independence coincides with uncorrelatedness (joint Gaussians only)
In general, uncorrelatedness () is weaker than independence, but the two concepts coincide for jointly Gaussian vectors. This greatly simplifies multivariate analysis.
Multivariate Gaussian (briefly)
, where is a positive-definite covariance matrix:
- Contours are ellipses (or ellipsoids): the eigenvectors of give the axes, and its eigenvalues give the squared axis lengths.
- Marginal distributions, conditional distributions, and linear maps are all Gaussian—these three statements are the entire mathematical foundation of Kalman filters and Gaussian-process regression.
- The conditional mean is linear: —this is why linear regression is "the exact answer in the Gaussian world."
Sampling
From uniform random variables (Box–Muller):
are independent standard normal variables. This uses the fact that the squared radius in polar coordinates follows an exponential distribution; it is the algorithmic version of the classic trick of squaring the Gaussian integral and solving it in polar coordinates. Practical libraries mainly use improved variants (the polar method and Ziggurat).
Summary of roles in statistics and ML
| Area | What the Gaussian does |
|---|---|
| Least squares | MLE = OLS under a Gaussian noise assumption |
| Bayesian inference | Self-conjugate for the mean parameter |
| Kalman filter | Posterior remains closed form in a linear-Gaussian state space |
| Gaussian process | Prior over function space |
| VAE / diffusion model | Standard choice for latent spaces and noise schedules (reparameterization: ) |
| Statistical tests | Supplies approximate distributions of test statistics through the CLT |
Limitations — when to question a Gaussian
- Heavy tails: if extreme values occur more often than predicts (log returns and latency), a Gaussian is unsuitable. → alpha-stable, Student-t
- Bounded support: quantities confined to , such as proportions and probabilities. → Beta
- Asymmetry: clearly skewed data. → log-normal, Gamma, skew-normal
- Multimodality: a single Gaussian cannot represent several peaks. → mixture models (GMM)
What to remember from this page
- The Gaussian is the unique answer reached by three routes: the CLT (limit of sums), maximum entropy (minimum assumptions), and stability (closure under sums).
- Closure under linear operations keeps every calculation in the linear world (regression, Kalman filters, and GPs) in closed form.
- Its tail decays as —it can systematically underestimate extreme values.
- Kurtosis 3, : the Gaussian is a special vertex of larger families (the exponential and stable families).
Next step
- Beta Distribution — from infinite support to
- Alpha-Stable Distributions — the world beyond