NLA-lib Explorer

NLAlib.mgf_of_hasLaw_rademacherMeasure

Library · theorem

The moment generating function of a random sign is \cosh: \mathbb{E}[e^{tX}] = \cosh t.

NLAlib.mgf_of_hasLaw_rademacherMeasure.{u_1} {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω}
  {X : Ω → ℝ} (hX : HasLaw X rademacherMeasure μ) (t : ℝ) : mgf X μ t = Real.cosh t

Full source on GitHub

Import NLAlib.Probability.Distributions.Rademacher.