NLA-lib Explorer

NLAlib.integral_exp_mul_norm_sq_of_hasLaw_gaussianVector

Library · theorem

The Laplace transform of \chi^2: for a standard Gaussian vector \mathbf{g} and \theta < 1/2, \mathbb{E}\, e^{\theta \|\mathbf{g}\|^2} = (1 - 2\theta)^{-d/2}, where d = \lvert n \rvert.

NLAlib.integral_exp_mul_norm_sq_of_hasLaw_gaussianVector.{u_1, u_2} {Ω : Type u_1}
  {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {n : Type u_2} [Fintype n] {g : Ω → n → ℝ}
  (hg : HasLaw g (gaussianVector n) μ) {θ : ℝ} (hθ : 2 * θ < 1) :
  ∫ (ω : Ω), rexp (θ * ‖WithLp.toLp 2 (g ω)‖ ^ 2) ∂μ = (1 - 2 * θ) ^ (-(↑(Fintype.card n) / 2))

Full source on GitHub

Import NLAlib.Probability.Distributions.ChiSquare.