Documentation

TauCeti.Probability.Distributions.Gaussian.Affine

Affine images of Gaussian measures #

An affine map on the real line transforms a Gaussian's mean and variance by m ↦ a + b * m and v ↦ b ^ 2 * v, including zero slopes and zero variances.

This file also proves that a multivariate Gaussian measure is carried by a rectangular affine map to the multivariate Gaussian with the transformed mean and covariance. Rectangular matrices are allowed, so the result applies both to embeddings and to possibly singular projections.

Main results #

References #

An orthogonal combination of two independent standard Gaussians is standard Gaussian.

@[simp]

The affine image of a real Gaussian has mean a + b * m and variance b ^ 2 * v. This includes zero slopes and zero variances.

@[simp]

The image of a multivariate Gaussian under a rectangular affine map is the multivariate Gaussian with the corresponding transformed mean and covariance.

Scaling a multivariate Gaussian vector by c and then translating it by m gives the multivariate Gaussian with mean m + c • m₀ and covariance c ^ 2 • S.

theorem TauCeti.Probability.map_comp_multivariateGaussian {ι : Type u_1} {κ : Type u_2} [Fintype ι] [Fintype κ] [DecidableEq ι] [DecidableEq κ] (m : EuclideanSpace ℝ ι) {S : Matrix ι ι ℝ} (hS : S.PosSemidef) (f : κ → ι) :

Reading the coordinates of a multivariate Gaussian vector along a map of index types gives the multivariate Gaussian with the reindexed mean and covariance. The map need not be injective, so coordinates may be repeated or omitted.

An identity-covariance Gaussian is the product of its unit-variance Gaussian coordinate laws, transported to Euclidean space.