The nonsingular Wishart family #
The nonsingular Wishart law TauCeti.Probability.nonsingularWishartMeasure n S is the law on the
symmetric-matrix subspace whose density against TauCeti.symmetricLebesgue is
(det A) ^ ((n - p - 1) / 2) * exp (-trace (S⁻¹ * A) / 2), normalized by
2 ^ (n p / 2) * (det S) ^ (n / 2) * Γ_p(n / 2) and supported on the positive-definite cone.
Its degree n is a real parameter, restricted to p - 1 < n, which in positive dimension is the
range where the density is integrable; its scale S is positive definite, since a singular
positive-semidefinite scale concentrates the law on a proper subspace, where it has no density at
all. Outside those two parameter conditions the definition sets the measure to zero.
The normalization is the one attached to TauCeti.symmetricLebesgue, whose coordinate unit cube
has measure one; no other Haar normalization of the symmetric matrices produces the classical
Wishart constants.
Dimension zero needs no separate definition: the symmetric space is then a single point,
TauCeti.symmetricLebesgue 0 is a Dirac mass, and the empty determinants, trace and normalizing
constant leave the density equal to 1, so for -1 < n the law is that Dirac mass.
Main definitions #
TauCeti.Probability.nonsingularWishartPDFRealandTauCeti.Probability.nonsingularWishartPDF— the Wishart density, real- andℝ≥0∞-valued.TauCeti.Probability.nonsingularWishartMeasure— the nonsingular Wishart law.
Main results #
TauCeti.Probability.nonsingularWishartPDFReal_pos_iff— at a valid degree and scale the density is positive exactly on the positive-definite cone.TauCeti.Probability.nonsingularWishartMeasure_of_posDef— at a valid degree and scale the law is the density againstTauCeti.symmetricLebesgue, whileTauCeti.Probability.nonsingularWishartMeasure_of_not_posDefandTauCeti.Probability.nonsingularWishartMeasure_of_ledescribe the two invalid branches.TauCeti.Probability.ae_posDef_nonsingularWishartMeasure— the sampled matrix is positive definite almost everywhere, so byTauCeti.Probability.map_subtype_val_comap_nonsingularWishartMeasurethe law is recovered from its lift to the cone.TauCeti.Probability.hasPDF_of_hasLaw_nonsingularWishartMeasureandTauCeti.Probability.rnDeriv_nonsingularWishartMeasure— a Wishart random matrix has a density againstTauCeti.symmetricLebesgue, and at a valid degree and scale the law's Radon–Nikodym derivative isTauCeti.Probability.nonsingularWishartPDF.TauCeti.Probability.nonsingularWishartMeasure_zero— in dimension zero the law is the Dirac mass at the unique symmetric matrix, hence a probability measure.TauCeti.Probability.measurable_nonsingularWishartMeasure— the law is measurable jointly in its real degree and every coordinate of its scale matrix, andTauCeti.Probability.measurable_nonsingularWishartMeasure_selfAdjointis the form with the scale ranging over the symmetric-matrix carrier.
References #
- R. J. Muirhead, Aspects of Multivariate Statistical Theory, Wiley, 1982, chapter 3.
- M. L. Eaton, Multivariate Statistics: A Vector Space Approach, IMS Lecture Notes 53, chapter 8.
The density #
The nonsingular Wishart density of degree n and scale S, as a real-valued function of
a symmetric matrix: on the positive-definite cone it is
(det A) ^ ((n - p - 1) / 2) * exp (-trace (S⁻¹ * A) / 2) divided by the Wishart constant
2 ^ (n p / 2) * (det S) ^ (n / 2) * Γ_p(n / 2), and it vanishes off the cone.
Instances For
At a valid degree and scale the Wishart density is positive exactly on the positive-definite cone.
The ℝ≥0∞-valued Wishart density is ENNReal.ofReal of the real-valued one.
At a valid degree and scale the ℝ≥0∞-valued Wishart density is positive exactly on the
positive-definite cone.
The real-valued Wishart density is measurable jointly in its degree, its scale matrix and the point.
The Wishart density is measurable jointly in its degree, its scale matrix and the point.
The measure #
The nonsingular Wishart law of real degree n and positive-definite scale S: the
density TauCeti.Probability.nonsingularWishartPDF against TauCeti.symmetricLebesgue. Outside the
classical parameter range — a scale that is not positive definite, or a degree at most p - 1,
which in positive dimension is where the density stops being integrable — the definition sets the
measure to zero.
Instances For
The defining branch expression of the Wishart law.
The Wishart law read on the positive-definite cone. Mapping the lift
(nonsingularWishartMeasure n S).comap Subtype.val back along the inclusion of the cone returns
the law itself, because the cone carries all of its mass. This is the form in which the Cholesky
equivalence, which is defined on the cone, acts on a Wishart matrix.
The density of a Wishart random matrix #
A random symmetric matrix with a nonsingular Wishart law has a density against
TauCeti.symmetricLebesgue, at every degree and scale: outside the classical parameter range the
law is zero, which trivially has one.
The density against TauCeti.symmetricLebesgue of a random symmetric matrix with a
nonsingular Wishart law is TauCeti.Probability.nonsingularWishartPDF.
The Radon–Nikodym derivative of the nonsingular Wishart law against
TauCeti.symmetricLebesgue is the Wishart density.
Dimension zero #
In dimension zero every valid Wishart law is the Dirac mass at the unique symmetric matrix.
The general definition already gives this: TauCeti.symmetricLebesgue 0 is that Dirac mass and
the density is identically 1.
Parameter measurability #
Parameter measurability of the nonsingular Wishart law. The law is measurable jointly in its real degree and every coordinate of its scale matrix, which is what a Wishart kernel with a random degree and scale needs.
The nonsingular Wishart law is measurable jointly in its real degree and a scale ranging over the symmetric-matrix carrier. This is the form used to build a kernel with a random symmetric scale.