Squares of Gaussian variables #
This file identifies the square of a standard real Gaussian variable with the chi-squared law
of one degree of freedom. It then combines this identification with independence to prove that
the sum of the squares of a finite independent standard Gaussian family has the chi-squared law
whose degrees of freedom are the cardinality of the family. The empty family is included: both
the empty sum and chiSquaredMeasure 0 are the point mass at zero.
It also computes the exponential-integrability domain and the moment-generating function of a
weighted square w * x ^ 2 of a standard Gaussian variable, and of a weighted sum of squares
∑ j, w j * c j ^ 2 of finitely many independent ones, which is the form a Gaussian quadratic
statistic takes in eigen-coordinates.
These laws identify Gaussian quadratic statistics with chi-squared distributions. In particular, they provide the scalar foundation for distributional results about Gaussian norms and Gaussian Gram matrices.
For a unit-variance Gaussian with arbitrary mean m, the squared variable has mgf
(1 - 2 * t) ^ (-1 / 2) * exp (m ^ 2 * t / (1 - 2 * t)) for t < 1 / 2.
This also supplies the exponential moments used to identify noncentral Gaussian-square laws.
Main results #
TauCeti.Probability.gaussianReal_map_sq— the square of the standard Gaussian measure ischiSquaredMeasure 1;TauCeti.Probability.iIndepFun.hasLaw_sum_sq_gaussian— a finite sum of independent squared standard Gaussian variables has the corresponding chi-squared law;TauCeti.Probability.map_sum_sq_pi_gaussianReal— the same statement at the level of measures and for an arbitrary common variancev: the sum of squares of the coordinates of a product ofgaussianReal 0 vlaws is the chi-squared law scaled byv;TauCeti.Probability.mem_integrableExpSet_mul_sq_gaussianReal_iffandTauCeti.Probability.mgf_mul_sq_gaussianReal— the exponential moments ofw * x ^ 2are finite exactly when2 * t * w < 1, where the moment-generating function is(1 - 2 * t * w) ^ (-1 / 2);TauCeti.Probability.mem_integrableExpSet_sum_mul_sq_pi_gaussianReal_iffandTauCeti.Probability.mgf_sum_mul_sq_pi_gaussianReal— the same for a weighted sum of squares of independent standard Gaussian coordinates, with the product of the one-dimensional values.
References #
- N. L. Johnson, S. Kotz, N. Balakrishnan, Continuous Univariate Distributions, vol. 1, 2nd ed., Wiley (1994), ch. 18; vol. 2, 2nd ed., Wiley (1995), ch. 29.
The image of the standard Gaussian law under squaring is the chi-squared law with one degree of freedom.
The moment-generating function of the square of a unit-variance Gaussian, allowing an arbitrary mean.
The exponential moment of order t of w * x ^ 2 under the standard Gaussian is finite
exactly when 2 * t * w < 1.
The moment-generating function of w * x ^ 2 under the standard Gaussian is
(1 - 2 * t * w) ^ (-1 / 2) on its domain 2 * t * w < 1.
The exponential moment of order t of the weighted sum of squares ∑ j, w j * c j ^ 2 of
independent standard Gaussian coordinates is finite exactly when 2 * t * w j < 1 for every
j.
The moment-generating function of the weighted sum of squares ∑ j, w j * c j ^ 2 of
independent standard Gaussian coordinates is ∏ j, (1 - 2 * t * w j) ^ (-1 / 2) on its
domain.
A finite sum of squares of independent standard Gaussian variables has the chi-squared law with one degree of freedom per variable. This includes an empty index type, when both sides are the point mass at zero.
The law of a sum of squared centred Gaussian coordinates of common variance. Pushing a
finite product of gaussianReal 0 v laws forward by the sum of the squared coordinates gives the
chi-squared law with one degree of freedom per coordinate, scaled by v. For an empty index type
both sides are the point mass at zero.