The covariance matrix of a multivariate Gaussian #
This file identifies the generic covariance matrix from
TauCeti.Probability.Moments.Covariance with the covariance parameter of Mathlib's multivariate
Gaussian, and records the centred multivariate Gaussian as the image of the standard Gaussian
under the square root of its matrix parameter. It also records measurability of Gaussian laws
with covariance scaled by a precision parameter, covariance under matrix-valued
linear maps and characterizes independence of complementary coordinate blocks.
Main results #
TauCeti.Probability.covMatrix_multivariateGaussianrecovers the covariance parameter of a multivariate Gaussian law.TauCeti.Probability.integral_of_hasLaw_multivariateGaussiangives the Bochner mean of a random variable with a multivariate Gaussian law.TauCeti.Probability.multivariateGaussian_zero_eq_map_stdGaussian_sqrtwrites the centred law as an image of the standard Gaussian.TauCeti.Probability.multivariateGaussian_zero_rightidentifies the zero-covariance law with the point mass at its mean.TauCeti.Probability.measurable_multivariateGaussian_inv_smulshows that the familyτ ↦ N(m, τ⁻¹ • S)is measurable in the precisionτ.TauCeti.Probability.measurable_multivariateGaussian_prodMk_left_applyshows that the Gaussian law with measurable mean and covariance-parameter families, evaluated on a section of a measurable set, is measurable in the parameter.TauCeti.Probability.covariance_inner_matrix_multivariateGaussiancomputes covariance after two matrix maps.TauCeti.Probability.indepFun_sumEquivProd_multivariateGaussian_iffcharacterizes independence of two complementary coordinate blocks.
References #
- Roadmap:
TauCetiRoadmap/StandardDistributions/README.md, Layer 5, item 1, Covariance matrices.
The covariance matrix of a positive-semidefinite multivariate Gaussian is its covariance parameter.
Each coordinate of a multivariate Gaussian has as mean the corresponding coordinate of the mean parameter. No hypothesis on the covariance parameter is needed.
The Bochner mean of a random variable with a multivariate Gaussian law is its Gaussian mean.
A centred multivariate Gaussian law is the image of the standard Gaussian under the square root of its matrix parameter. No hypothesis on that parameter is needed.
A multivariate Gaussian with zero covariance is the point mass at its mean.
The Gaussian family τ ↦ N(m, τ⁻¹ • S) is measurable in the precision τ.
For measurable mean and covariance-parameter families m and S on a measurable space Y and
a measurable map g : Y → X, the law multivariateGaussian (m y) (S y), evaluated on the section
at g y of a measurable set A ⊆ X × EuclideanSpace ℝ ι, is measurable in y. The parameter
S y need not be positive semidefinite: where it is not, the law is the point mass at m y.
The covariance of scalar inner-product projections after two matrix-valued linear maps of a multivariate Gaussian.
The two complementary coordinate blocks of a multivariate Gaussian with positive-semidefinite covariance are independent exactly when their cross-covariance block vanishes.