The Gaussian-Gram Wishart family #
The Gaussian-Gram Wishart law TauCeti.Probability.wishartGramMeasure ν S is the law of the Gram
sum
∑ r, X r * (X r)ᵀ of ν independent centred multivariate Gaussian vectors with covariance
matrix S, carried by the symmetric-matrix subspace of
TauCeti.MeasureTheory.Measure.SymmetricMatrix.Basic.
It is defined for every natural degree ν and every square matrix S, with no branch on S:
Mathlib totalizes multivariateGaussian 0 S to
Measure.dirac 0 when S is not positive semidefinite, and the Gram law inherits that
totalization. That is what lets this family carry the legitimately singular Wishart laws, which
a density definition cannot.
Main definitions #
TauCeti.Probability.wishartGram— the Gram sum of a finite family of Euclidean vectors, bundled into the symmetric-matrix subspace.TauCeti.Probability.wishartGramMeasure— the Gaussian-Gram Wishart law.
Main results #
TauCeti.Probability.trace_mul_coe_wishartGram— the trace statistic of a Gram sum is the sum of the quadratic forms of its vectors.TauCeti.Probability.isProbabilityMeasure_wishartGramMeasure— it is a probability measure, at every degree and every scale matrix.TauCeti.Probability.hasLaw_wishartGram_gaussian— the Gram sum of an independent centred Gaussian family has this law.TauCeti.Probability.wishartGramMeasure_of_not_posSemidef— outside the positive-semidefinite cone the law is the Dirac mass at zero.TauCeti.Probability.map_symmetricCongruenceLinearMap_wishartGramMeasure— a rectangular congruence carries the law of scaleSto the law of scaleM * S * Mᵀ, andTauCeti.Probability.wishartGramMeasure_eq_map_sqrtspecializes it to the square root of the scale.TauCeti.Probability.wishartGramMeasure_conv_wishartGramMeasure— the degrees add under convolution.TauCeti.Probability.wishartGramMeasure_setOf_posSemidef— the law is carried by the positive-semidefinite cone.TauCeti.Probability.ae_posSemidef_wishartGramMeasure— the sampled matrix is positive semidefinite almost everywhere.TauCeti.Probability.wishartGramMeasure_setOf_rank_le— the rank is at mostmin ν S.rank.TauCeti.Probability.ae_rank_le_wishartGramMeasure— the same rank bound holds almost everywhere.TauCeti.Probability.mutuallySingular_wishartGramMeasure_symmetricLebesgue— below that rank threshold the law has no density againstTauCeti.symmetricLebesgue.
References #
- R. J. Muirhead, Aspects of Multivariate Statistical Theory, Wiley, 1982, chapter 3.
The Gram sum of a family of Euclidean vectors #
The Gram sum ∑ r, X r * (X r)ᵀ of a finite family of Euclidean vectors, as an element of
the symmetric-matrix subspace. It is the Gram matrix Matrix.gram of the p coordinate columns
i ↦ (r ↦ X r i) of the family, and it is the statistic whose law is the Gaussian-Gram Wishart
family.
Instances For
The Gram sum is the Gram matrix of the coordinate columns of the family.
The trace statistic of a Gram sum is the sum of the quadratic forms of Θ at the vectors.
This is what turns a Wishart trace statistic into a sum of Gaussian quadratic forms, one per
sampled vector. No symmetry of Θ is needed.
The Gram sum of a family of Euclidean vectors is positive semidefinite.
The Gram sum of a family of vectors has rank at most the size of the family.
A linear image of the vectors congruates their Gram sum.
The Gram sum is continuous in the family of vectors.
The Gram sum is measurable in the family of vectors.
The Gaussian-Gram Wishart law #
The Gaussian-Gram Wishart law of degree ν and scale S: the law of the Gram sum of ν
independent centred multivariate Gaussian vectors with covariance S. When S is not positive
semidefinite Mathlib's multivariateGaussian 0 S is Measure.dirac 0, and this law is then
Measure.dirac 0 too.
Instances For
The Gaussian-Gram law is the image under the Gram sum of the product of its ν independent
Gaussian factors. Transporting a statistic of the law along this identity rewrites it as a
statistic of that product measure, where the ν factors are handled one at a time.
With a scale matrix outside the positive-semidefinite cone, Mathlib totalizes the Gaussian factor to a Dirac mass, and the Gaussian-Gram law is then the Dirac mass at the zero matrix.
The Gram sum of an independent centred Gaussian family is Gaussian-Gram Wishart.
Congruence #
Congruence by a rectangular matrix carries the Gaussian-Gram law of scale S to the one of
scale M * S * Mᵀ. No rank hypothesis on M is needed.
The Gaussian-Gram law of a positive-semidefinite scale S is the standard Gaussian-Gram law
pushed forward by the congruence with CFC.sqrt S.
Support, rank and singularity #
A Gaussian-Gram Wishart matrix is positive semidefinite almost everywhere.
Below the rank threshold the Gaussian-Gram law has no density. It is then carried by the
singular symmetric matrices, which are TauCeti.symmetricLebesgue-null.