Technopedia

The technologist’s encyclopedia

Distributional structure and operations

This topic studies the algebraic and structural relationships between distributions: the fundamental operations that generate new distributions from old ones (convolution, mixture, transformation), the parametric families defined by their closure under those operations (exponential, location-scale, stable), and order statistics. It provides the unifying framework that explains why certain distributions recur across applications and how new distributions can be generated from old ones.

Authoritative sources

The operations come first because the families are defined by how they behave under them. We build the page in that order: the two basic operations (convolution, mixture), how they interact, then the three families that are characterized by their closure properties, and finally order statistics.

Convolution

The convolution of two distributions μ\mu and ν\nu is the distribution of X+YX + Y where X∼μX \sim \mu and Y∼νY \sim \nu independently:

(μ∗ν)(A)=∫μ(A−y) ν(dy).(\mu * \nu)(A) = \int \mu(A - y)\, \nu(dy).

Convolution is associative and commutative. The delta measure δ0\delta_0 is the identity. The relationship to Atomic distributions: the PGF converts convolution to multiplication, making it the algebraic tool for discrete sums.

Details

Convolution is the distributional analogue of multiplication in the algebra of functions: it is the operation that answers “what is the law of a sum of independent quantities?” The defining integral has a concrete geometric reading — slide one density past the other, multiply pointwise, and integrate — which is the single idea behind every closure result below.

The sliding picture. Fix xx. The integrand f(x−y) g(y)f(x-y)\,g(y) is the product of gg at yy and ff reflected and shifted to be centered at xx. As xx increases, that reflected copy of ff slides to the right, and the area under the product traces out the density of the sum.

g(y) f(x − y) product x (f * g)(x) = ∫ f(x − y) g(y) dy

Worked example (discrete). Let X∼Poisson(λ1)X \sim \mathrm{Poisson}(\lambda_1) and Y∼Poisson(λ2)Y \sim \mathrm{Poisson}(\lambda_2) be independent. The PMF of the sum is

P(X+Y=k)=∑j=0ke−λ1λ1jj! e−λ2λ2k−j(k−j)!=e−(λ1+λ2)1k!∑j=0k(kj)λ1jλ2k−j=e−(λ1+λ2)(λ1+λ2)kk!.P(X+Y=k) = \sum_{j=0}^{k} \frac{e^{-\lambda_1}\lambda_1^j}{j!}\,\frac{e^{-\lambda_2}\lambda_2^{k-j}}{(k-j)!} = e^{-(\lambda_1+\lambda_2)} \frac{1}{k!}\sum_{j=0}^{k}\binom{k}{j}\lambda_1^j \lambda_2^{k-j} = \frac{e^{-(\lambda_1+\lambda_2)}(\lambda_1+\lambda_2)^k}{k!}.

The inner sum is the binomial expansion, so X+Y∼Poisson(λ1+λ2)X+Y \sim \mathrm{Poisson}(\lambda_1+\lambda_2). Equivalently, in one line via PGFs: GX+Y(z)=eλ1(z−1)eλ2(z−1)=e(λ1+λ2)(z−1)G_{X+Y}(z)=e^{\lambda_1(z-1)}e^{\lambda_2(z-1)}=e^{(\lambda_1+\lambda_2)(z-1)}.

Closure results. Convolution is the operation that the families below are closed under:

Note that closure is a property of specific families, not of the exponential family as a whole: the sum of i.i.d. Exp(λ)\mathrm{Exp}(\lambda) is Gamma(n,λ)\mathrm{Gamma}(n,\lambda), not exponential, and the sum of i.i.d. Bernoulli(p)\mathrm{Bernoulli}(p) is Binomial(n,p)\mathrm{Binomial}(n,p), not Bernoulli.

The irreducibility of convolution: if μ∗ν=δ0\mu * \nu = \delta_0, then μ=ν=δ0\mu = \nu = \delta_0. This means convolution has no nontrivial inverses, unlike multiplication of functions.

Authoritative sources

Example problem

Problem. If X∼Poisson(3)X \sim \mathrm{Poisson}(3) and Y∼Poisson(5)Y \sim \mathrm{Poisson}(5) are independent, find the distribution of X+YX+Y and of X−YX-Y.

Solution

X+Y∼Poisson(3+5)=Poisson(8)X+Y \sim \mathrm{Poisson}(3+5) = \mathrm{Poisson}(8) by the closure result above.

For X−YX-Y, use characteristic functions: φX−Y(t)=φX(t)φY(−t)=e3(eit−1)e5(e−it−1)\varphi_{X-Y}(t)=\varphi_X(t)\varphi_Y(-t)=e^{3(e^{it}-1)}e^{5(e^{-it}-1)}. This is the characteristic function of the skewed Poisson (a difference of independent Poissons), which is not a Poisson law — a reminder that convolution (sums) is closed for Poissons, but differences are not.

Mixtures

A mixture of distributions {μi\{\mu_i with weights {wi\{w_i (where wi≥0w_i \geq 0, ∑iwi=1\sum_i w_i = 1) is

μ=∑iwi μi.\mu = \sum_i w_i \, \mu_i.
Details

Mixtures differ from convolutions in the order of operations: a mixture is a weighted average of distributions (the component is chosen first, then a single sample is drawn from it), while a convolution is the distribution of a sum (both components contribute to the same sample). A mixture is a convex combination of measures; a convolution is a product in the characteristic-function algebra.

Worked example (Poisson–gamma → negative binomial). Let N∣Λ∼Poisson(Λ)N \mid \Lambda \sim \mathrm{Poisson}(\Lambda) and Λ∼Gamma(r,β)\Lambda \sim \mathrm{Gamma}(r, \beta) (shape rr, rate β\beta). Marginalizing over the latent rate:

P(N=k)=∫0∞e−λλkk! βrΓ(r)λr−1e−βλ dλ=Γ(r+k)k! Γ(r)(ββ+1)r(1β+1)k,P(N=k) = \int_0^\infty \frac{e^{-\lambda}\lambda^k}{k!}\,\frac{\beta^r}{\Gamma(r)}\lambda^{r-1}e^{-\beta\lambda}\,d\lambda = \frac{\Gamma(r+k)}{k!\,\Gamma(r)}\left(\frac{\beta}{\beta+1}\right)^r\left(\frac{1}{\beta+1}\right)^k,

which is the negative binomial PMF. The mixture “smears” the Poisson rate and produces the heavier-tailed negative binomial — a mixture is generally not in the same family as its components.

Key examples.

The relationship to Singular and mixed distributions: a mixture of an atomic and a continuous distribution is a mixed distribution in the Lebesgue-decomposition sense.

Authoritative sources

Example problem

Problem. A coin is chosen at random: with probability 1/31/3 it is fair, with probability 2/32/3 it is biased with P(H)=3/4P(H)=3/4. Find the mixture probability of heads, and the probability that the coin is fair given that it landed heads.

Solution

Mixture probability of heads: P(H)=13⋅12+23⋅34=16+12=23P(H) = \tfrac{1}{3}\cdot\tfrac{1}{2} + \tfrac{2}{3}\cdot\tfrac{3}{4} = \tfrac{1}{6}+\tfrac{1}{2} = \tfrac{2}{3}.

By Bayes’ rule, P(fair∣H)=P(H∣fair)P(fair)P(H)=(1/2)(1/3)2/3=14P(\text{fair}\mid H) = \frac{P(H\mid\text{fair})P(\text{fair})}{P(H)} = \frac{(1/2)(1/3)}{2/3} = \tfrac{1}{4}. The latent-class (mixture) structure is exactly what makes the posterior computable.

How the operations interact

Convolution and mixture are not interchangeable, and the distinction is the key to a clean mental map of the algebra.

Exponential families

A one-parameter exponential family has density (or PMF) of the form

fθ(x)=h(x) exp⁡(θ T(x)−A(θ)),f_\theta(x) = h(x) \, \exp\bigl(\theta\, T(x) - A(\theta)\bigr),

where hh is the base measure, TT is the sufficient statistic, θ\theta is the natural parameter, and A(θ)=log⁡∫h(x)eθT(x) dxA(\theta) = \log \int h(x) e^{\theta T(x)}\, dx is the log-partition function (normalizer).

Key properties:

Details

The exponential family is the natural class for statistical inference: it is the class of distributions for which the sufficient statistic has fixed dimension regardless of sample size. The key members:

DistributionT(x)θA(θ)
Normal (known variance)xμ/σ²μ²/(2σ²)
Poissonxlog λλ
Exponentialx−λ−log λ
Bernoullixlog(p/(1−p))−log(1−p)
Gamma (known shape)x−βα log β

Worked example (recovering the mean from AA). For the Poisson family, h(x)=1/x!h(x)=1/x!, T(x)=xT(x)=x, θ=log⁡λ\theta=\log\lambda, so A(θ)=λ=eθA(\theta)=\lambda=e^{\theta}. Then E[X]=A′(θ)=eθ=λE[X]=A'(\theta)=e^{\theta}=\lambda and Var(X)=A′′(θ)=eθ=λ\mathrm{Var}(X)=A''(\theta)=e^{\theta}=\lambda, recovering the familiar Poisson mean and variance purely from the log-partition function.

The conjugate prior for an exponential family is itself a member of the exponential family (in the parameter θ\theta). This is the algebraic reason Bayesian updating is tractable for these families. See Statistical inference for the full treatment.

The relationship to Absolutely continuous distributions: the normal, exponential, gamma, and beta are all absolutely continuous members of the exponential family. The relationship to Atomic distributions: the Poisson, binomial, and geometric are atomic members.

Authoritative sources

Example problem

Problem. Write the Bernoulli(pp) PMF in exponential-family form and identify hh, TT, θ\theta, and AA.

Solution

px(1−p)1−x=exp⁡(xlog⁡p1−p+(1−x)log⁡(1−p))p^x(1-p)^{1-x} = \exp\bigl(x\log\frac{p}{1-p} + (1-x)\log(1-p)\bigr). So h(x)=1h(x)=1, T(x)=xT(x)=x, θ=log⁡p1−p\theta=\log\frac{p}{1-p}, and A(θ)=−log⁡(1−p)=−log⁡(1+e−θ)A(\theta)=-\log(1-p)=-\log(1+e^{-\theta}). Check: A′(θ)=e−θ1+e−θ=11+eθ=pA'(\theta)=\frac{e^{-\theta}}{1+e^{-\theta}}=\frac{1}{1+e^{\theta}}=p, so E[X]=pE[X]=p as expected.

Location-scale families

A location-scale family is generated from a base distribution by affine transformations: if X0X_0 has CDF F0F_0, then X=μ+σX0X = \mu + \sigma X_0 has CDF

F(x)=F0((x−μ)/σ),σ>0.F(x) = F_0\bigl((x - \mu)/\sigma\bigr), \quad \sigma > 0.

Examples: normal, logistic, uniform, Gumbel.

Details

Location-scale families are closed under affine transformations: the sum of independent location-scale variables from the same family is again in the family (if the base is closed under convolution). The normal family is the unique location-scale family that is also closed under convolution for all parameter values (the stable property, see below).

Worked example (standardizing). If X∼N(μ,σ2)X \sim \mathcal{N}(\mu, \sigma^2), then Z=(X−μ)/σ∼N(0,1)Z=(X-\mu)/\sigma \sim \mathcal{N}(0,1). Conversely, any N(μ,σ2)\mathcal{N}(\mu,\sigma^2) is an affine image of the standard normal, so the whole normal family is a location-scale family with base N(0,1)\mathcal{N}(0,1). The density transforms by the change-of-variables rule fX(x)=1σf0((x−μ)/σ)f_X(x)=\frac{1}{\sigma}f_0((x-\mu)/\sigma).

The relationship to Absolutely continuous distributions: the transformation formula fY(y)=1σf0((y−μ)/σ)f_Y(y) = \frac{1}{\sigma} f_0((y-\mu)/\sigma) is the change-of-variables applied to the location-scale map.

Example problem

Problem. If X∼Uniform(0,1)X \sim \mathrm{Uniform}(0,1), find the CDF and density of Y=3+2XY = 3 + 2X.

Solution

FY(y)=P(3+2X≤y)=P(X≤(y−3)/2)=(y−3)/2F_Y(y) = P(3+2X \le y) = P(X \le (y-3)/2) = (y-3)/2 for 3≤y≤53 \le y \le 5, and 00/1 outside. So Y∼Uniform(3,5)Y \sim \mathrm{Uniform}(3,5), with density fY(y)=1/2f_Y(y)=1/2 on [3,5][3,5]. The location-scale map sends the standard uniform to a uniform on any interval — the uniform family is a location-scale family.

Stable distributions

A distribution is stable if the sum of independent copies, after affine rescaling, has the same distribution: for i.i.d. X1,X2∼FX_1, X_2 \sim F,

X1+X2=daX+b,a>0.X_1 + X_2 \stackrel{d}{=} a X + b, \quad a > 0.

Stable laws are parameterized by:

Key facts:

Details

The stable distributions are the universal limits for sums of heavy-tailed variables, just as the normal is the universal limit for sums of light-tailed (finite-variance) variables. The relationship to Limit theorems is direct: the generalized CLT characterizes which stable law is the attractor based on the tail index of the summands.

Reading the plot. The figure below overlays three stable densities on a common axis. The normal (α=2\alpha=2) has light tails and finite variance. The Cauchy (α=1\alpha=1) has heavy tails and no finite mean. The positive stable / Lévy law (α=1/2\alpha=1/2) is supported on x>0x>0 and has an extremely heavy right tail. As α\alpha decreases the tails get heavier and the peak sharper.

0 −4 4 α = 2 (normal) α = 1 (Cauchy) α = 1/2 (Lévy)

The Cauchy distribution (α=1,β=0\alpha = 1, \beta = 0) has no finite moments: E∣X∣=∞E|X| = \infty. Its density is f(x)=1π(1+x2)f(x) = \frac{1}{\pi(1+x^2)} and its CDF is F(x)=1πarctan⁡(x)+12F(x) = \frac{1}{\pi}\arctan(x) + \frac{1}{2}.

Authoritative sources

Example problem

Problem. If X1,X2X_1, X_2 are i.i.d. Cauchy, show that (X1+X2)/2(X_1+X_2)/2 is also Cauchy, and explain why the sample mean of Cauchy variables does not converge to a constant.

Solution

The Cauchy characteristic function is φ(t)=e−∣t∣\varphi(t)=e^{-|t|}. For the average, φ(X1+X2)/2(t)=φ(t/2)2=e−∣t/2∣e−∣t/2∣=e−∣t∣=φ(t)\varphi_{(X_1+X_2)/2}(t)=\varphi(t/2)^2=e^{-|t/2|}e^{-|t/2|}=e^{-|t|}=\varphi(t), so the average is again standard Cauchy. Because the mean is not a finite constant (the Cauchy has no finite mean), the law of large numbers does not apply: the sample mean has the same Cauchy law for every nn, so it does not concentrate.

Transformations

A transformation (change of variables) pushes a distribution forward through a function: if Y=g(X)Y = g(X) and gg is a one-to-one differentiable map with inverse g−1g^{-1}, then the density of YY is

fY(y)=fX(g−1(y)) ∣ddyg−1(y)∣.f_Y(y) = f_X\bigl(g^{-1}(y)\bigr)\,\left|\frac{d}{dy}g^{-1}(y)\right|.
Details

Transformations are the third basic operation: where convolution adds independent quantities and mixture averages over latent classes, a transformation relabels the outcomes of a single quantity. The Jacobian is what keeps total probability equal to one: the density is rescaled by the local stretch factor so that ∫fY(y) dy=∫fX(x) dx=1\int f_Y(y)\,dy = \int f_X(x)\,dx = 1.

Worked example (log transform). If X∼N(0,1)X \sim \mathcal{N}(0,1) and Y=eXY=e^X, then g−1(y)=log⁡yg^{-1}(y)=\log y with derivative 1/y1/y, so fY(y)=1y12πe−(log⁡y)2/2f_Y(y)=\frac{1}{y}\frac{1}{\sqrt{2\pi}}e^{-(\log y)^2/2} for y>0y>0 — the log-normal density. The full treatment, including the multivariate Jacobian and copulas, is in Absolutely continuous distributions.

Example problem

Problem. If X∼Uniform(0,1)X \sim \mathrm{Uniform}(0,1), find the density of Y=−ln⁡XY = -\ln X.

Solution

g−1(y)=e−yg^{-1}(y)=e^{-y} with derivative −e−y-e^{-y}, so ∣d g−1/dy∣=e−y|d\,g^{-1}/dy|=e^{-y}. Since fX=1f_X=1 on (0,1)(0,1), fY(y)=e−yf_Y(y)=e^{-y} for y>0y>0. Thus Y∼Exp(1)Y \sim \mathrm{Exp}(1): the exponential is the log-transform of the uniform, a transformation that turns a bounded law into an unbounded one.

Order statistics

Given i.i.d. X1,…,XnX_1, \ldots, X_n with CDF FF, the order statistics are X(1)≤X(2)≤⋯≤X(n)X_{(1)} \leq X_{(2)} \leq \cdots \leq X_{(n)}. The density of the kk-th order statistic is

fX(k)(x)=n!(k−1)!(n−k)! [F(x)]k−1 f(x) [1−F(x)]n−k.f_{X_{(k)}}(x) = \frac{n!}{(k-1)!(n-k)!} \, [F(x)]^{k-1} \, f(x) \, [1 - F(x)]^{n-k}.
Details

Order statistics are fundamental in extreme value theory, robust statistics, and reliability. The relationship to Limit theorems: the maximum of i.i.d. samples, after appropriate normalization, converges to one of three extreme value distributions (Gumbel, Fréchet, or Weibull), depending on the tail of FF.

Reading the spacings. For a uniform sample the ordered points split (0,1)(0,1) into n+1n+1 gaps. The figure shows a sample of n=5n=5 with the spacings highlighted; these spacings are exchangeable and, in the uniform case, jointly Dirichlet.

D₀ D₁ D₂ D₃ D₄ D₅ X₍₁₎ X₍₂₎ X₍₃₎ X₍₄₎ X₍₅₎ 0 1

For the uniform(0, 1) distribution, the order statistics have a simple Dirichlet structure: the spacings (X(1),X(2)−X(1),…,1−X(n))(X_{(1)}, X_{(2)} - X_{(1)}, \ldots, 1 - X_{(n)}) are distributed as a Dirichlet(1, 1, …, 1) random vector.

Authoritative sources

Example problem

Problem. For n=3n=3 i.i.d. Uniform(0,1)\mathrm{Uniform}(0,1) variables, find the density of the maximum X(3)X_{(3)} and its expected value.

Solution

The CDF of the maximum is FX(3)(x)=x3F_{X_{(3)}}(x)=x^3 for x∈[0,1]x\in[0,1], so the density is fX(3)(x)=3x2f_{X_{(3)}}(x)=3x^2. The expectation is E[X(3)]=∫01x⋅3x2 dx=∫013x3 dx=3/4E[X_{(3)}]=\int_0^1 x\cdot 3x^2\,dx=\int_0^1 3x^3\,dx=3/4. In general the maximum of nn uniforms has mean n/(n+1)n/(n+1), approaching 11 as nn grows.

Example problem

Problem. Let X1,…,XnX_1, \ldots, X_n be i.i.d. Exp(λ)\mathrm{Exp}(\lambda). Show that Sn=X1+⋯+XnS_n = X_1 + \cdots + X_n has a gamma distribution, and find its parameters. Then show that the minimum X(1)X_{(1)} is also exponential, and find its rate.

Solution

Sum (convolution): The MGF of Exp(λ)\mathrm{Exp}(\lambda) is M(t)=λλ−tM(t) = \frac{\lambda}{\lambda - t} for t<λt < \lambda. The MGF of SnS_n is

MSn(t)=(M(t))n=λn(λ−t)n.M_{S_n}(t) = \bigl(M(t)\bigr)^n = \frac{\lambda^n}{(\lambda - t)^n}.

This is the MGF of Gamma(n,λ)\mathrm{Gamma}(n, \lambda) (shape nn, rate λ\lambda). So Sn∼Gamma(n,λ)S_n \sim \mathrm{Gamma}(n, \lambda).

Minimum (order statistic): The CDF of X(1)X_{(1)} is

P(X(1)>x)=P(∀i:Xi>x)=e−nλx.P(X_{(1)} > x) = P(\forall i: X_i > x) = e^{-n\lambda x}.

Therefore X(1)∼Exp(nλ)X_{(1)} \sim \mathrm{Exp}(n\lambda).

The rate is nλn\lambda: the minimum of nn exponentials is exponential with rate equal to the sum of the individual rates. This is the memoryless property in action.