Example. Coordinate covariance and its Gaussian density [fdip-00JU]
Example. Coordinate covariance and its Gaussian density [fdip-00JU]
Let \(Q\) be a positive precision parameter on a finite real inner-product space \((E,h)\), with inverse-precision covariance given by Theorem [fdip-000B]. For a chosen nonorthonormal basis \(b_i\), coordinates are the functionals \(h(b^i,\cdot )\). The dual basis satisfies \(h(b^i,b_j)=\delta _{ij}\), so the covariance array has entries \(h(b^i,Q^{-1}b^j)\); this is not the unqualified array of the inverse operator in that basis. The orthonormal counting basis gives the coordinate formula in Theorem [fdip-000B], evaluated on the alternating cycle in Example [fdip-0037].
For formal Gaussian providers, put \(n=\dim E\), choose an
orthonormal chart \(C:E\to \mathbb R^n\), and write \(y=Cx\).
The inverse and its chart array \(S=CQ^{-1}C^{-1}\) are positive definite,
with \(S^{-1}=CQC^{-1}\) and \(\det S=(\det Q)^{-1}\).
The provider density is
\[\begin {aligned}
&(2\pi )^{-n/2}(\det S)^{-1/2}
\mathrm {e}^{-y^TS^{-1}y/2}\\
&\qquad =Z_Q^{-1}\mathrm {e}^{-h(x,Qx)/2}.
\end {aligned}\]
By the canonical-volume characterization and
Corollary [fdip-002L] for isometries between counting coordinate spaces,
\(C\) preserves volume. The Euclidean-space coordinate wrapper preserves
volume by OrthonormalBasis.measurePreserving_repr and
PiLp.volume_preserving_toLp. After this wrapper, the chart
pushforward of \(\mu _Q\) is \(\mathrm {multivariateGaussian}(0,S)\) by
TauCeti.Probability.multivariateGaussian_eq_withDensity.
Mathlib's
ProbabilityTheory.covariance_eval_multivariateGaussian
gives coordinate covariance \(S\); its positive semidefinite hypothesis
follows from positive definiteness. The parameter is the covariance array
\(S\) of \(Q^{-1}\), not the precision array \(CQC^{-1}\).
The comparison also needs these density, determinant and volume
identifications; the integral proof in Theorem [fdip-000B] is independent of them.
The density comparison uses [friedli2017statistical, Proposition B.55, p. 505, and Theorem 8.4, p. 385], with zero mean and covariance \(S\) in the specified orthonormal chart. The nonorthonormal coordinate entries follow from Theorem [fdip-000B] on the displayed dual-basis functionals.