The density of a multivariate Gaussian measure #
A multivariate Gaussian law with positive-definite covariance S is Lebesgue measure on
EuclideanSpace ℝ ι weighted by the classical density
(2π)^(-d/2) * (det S)^(-1/2) * exp (-⟪x - m, S⁻¹ (x - m)⟫ / 2),
where d is the dimension. Every other covariance parameter gives a law carried by a proper
affine subspace, so it is singular with respect to Lebesgue measure and has no density against
it.
The nondegenerate case comes from the isotropic product density
(TauCeti.Probability.pi_gaussianReal_eq_withDensity) by an affine change of variables along the
square root
of the covariance, which contributes the Jacobian √(det S) and turns the isotropic quadratic
form into the one of S⁻¹.
Main definitions #
TauCeti.Probability.multivariateGaussianPDFReal— the real-valued density;TauCeti.Probability.multivariateGaussianPDF— itsℝ≥0∞-valued companion.
Main results #
TauCeti.Probability.stdGaussian_eq_withDensity— the standard Gaussian onEuclideanSpace ℝ ιis Lebesgue measure weighted by(2π)^(-d/2) * exp (-‖x‖² / 2);TauCeti.Probability.stdGaussian_eq_withDensity_norm— the same density on any finite-dimensional real inner product space;TauCeti.Probability.support_multivariateGaussian— the support at a positive-semidefinite covariance is the affine rangem + range S;TauCeti.Probability.ae_mem_affineRange_multivariateGaussian— the law is almost surely in this affine range;TauCeti.Probability.multivariateGaussian_eq_withDensity— the density presentation of the law;TauCeti.Probability.hasPDF_of_hasLaw_multivariateGaussianandTauCeti.Probability.pdf_eq_multivariateGaussianPDF_of_hasLaw_multivariateGaussian— theHasPDFbridge and the identification ofMeasureTheory.pdf;TauCeti.Probability.rnDeriv_multivariateGaussian— the Radon–Nikodym derivative;TauCeti.Probability.mutuallySingular_multivariateGaussian_volume— singularity at every covariance parameter that is not positive definite.
References #
- M. L. Eaton, Multivariate Statistics: A Vector Space Approach.
The density of the multivariate Gaussian law with mean m and covariance S, as a real
number. It is the density of multivariateGaussian m S when S is positive definite
(TauCeti.Probability.multivariateGaussian_eq_withDensity); at every other S that law has no
density with
respect to Lebesgue measure (TauCeti.Probability.mutuallySingular_multivariateGaussian_volume).
Instances For
The ℝ≥0∞-valued companion to TauCeti.Probability.multivariateGaussianPDFReal.
Instances For
The defining formula of the real-valued density.
The ℝ≥0∞-valued density is the ENNReal.ofReal lift of the real-valued one.
The density is positive wherever the determinant is, in particular at a positive-definite
covariance, where Matrix.PosDef.det_pos supplies the hypothesis.
The real-valued density is nonnegative at every covariance parameter. At a negative
determinant the real power S.det ^ (-1/2) vanishes, so the density is 0 there.
The ℝ≥0∞-valued density is positive wherever the determinant is.
The ℝ≥0∞-valued density is finite at every covariance parameter.
The ℝ≥0∞-valued density is finite at every covariance parameter.
The ℝ≥0∞-valued density carries the real-valued one back through ENNReal.toReal.
The real-valued density is measurable.
The ℝ≥0∞-valued density is measurable.
The standard Gaussian on EuclideanSpace ℝ ι has the isotropic Gaussian density.
The standard Gaussian on a finite-dimensional real inner product space has the isotropic
Gaussian density (2π)^(-d/2) * exp (-‖x‖² / 2), where d is the dimension.
The standard Gaussian measure on a finite-dimensional real inner product space has full support.
The support of a multivariate Gaussian measure with positive-semidefinite covariance is the affine range of its covariance.
A multivariate Gaussian measure with positive-semidefinite covariance is almost surely in the affine range of its covariance.
A nondegenerate multivariate Gaussian law is Lebesgue measure with the Gaussian density.
A random vector with a nondegenerate multivariate Gaussian law has a density.
The density of a nondegenerate multivariate Gaussian law is multivariateGaussianPDF.
The Radon–Nikodym derivative of a nondegenerate multivariate Gaussian law.
Every degenerate multivariate Gaussian law is singular. A positive-semidefinite but
singular covariance carries the law on the proper affine subspace m + range (CFC.sqrt S); any
other covariance makes the law a point mass.
A degenerate multivariate Gaussian law has vanishing Radon–Nikodym derivative.