MathFin
Map / Probability · Gaussian analysis / MathFin.Probability.Gaussian.GaussianPartialMoments

Partial moments of the standard normal

MathFin.Probability.Gaussian.GaussianPartialMomentsMSC 60E05MSC 91G70JEL G13 source

The integrals of the standard normal density ϕ over a right tail (a, ∞) that the closed forms of the library are built from:

  • integrable_id_mul_gaussianPDFReal_volume: z ↦ z·ϕ(z) is integrable.
  • integral_id_mul_gaussianPDFReal_Ioi: the truncated first moment ∫_(a,∞) z·ϕ(z) dz = ϕ(a), by the fundamental theorem of calculus, since (−ϕ)' = z·ϕ.
  • integral_gaussianPDFReal_Ioi: the tail mass ∫_(a,∞) ϕ = 1 − Φ(a).
  • integral_max_sub_mul_gaussianPDFReal: the stop-loss transform E[(Z − z)⁺] = ϕ(z) − z·(1 − Φ(z)) for Z ~ N(0,1).
  • gaussian_call_formula, gaussian_put_formula: the stop-loss transform of an arbitrary Gaussian law N(m, v), v ≠ 0, at a strike of either sign.

The Bachelier call (Models/Bachelier/Bachelier), the Rockafellar–Uryasev characterisation of Gaussian CVaR (Risk/RockafellarUryasev) and the normal tail bounds (Probability/Gaussian/NormalTail) are all read off these facts.

Main results

  • integrable_id_mul_gaussianPDFReal_volume: z ↦ z·ϕ(z) is integrable.
  • integral_id_mul_gaussianPDFReal_Ioi: ∫_(a,∞) z·ϕ(z) dz = ϕ(a).
  • integral_gaussianPDFReal_Ioi: ∫_(a,∞) ϕ = 1 − Φ(a).
  • integral_max_sub_mul_gaussianPDFReal: ∫ max (x − z) 0 · ϕ(x) dx = ϕ(z) − z·(1 − Φ(z)), the stop-loss transform of N(0, 1).
  • gaussian_call_formula: for W ~ N(m, v) with v ≠ 0, E[(W − K)⁺] = (m − K)·Φ(d) + √v·ϕ(d), d = (m − K)/√v; gaussian_put_formula is the put mirror.

Tags

truncated normal moment, stop-loss transform, normal tail, Bachelier model, Gaussian CVaR, expected shortfall, MSC 60E05, MSC 91G70, JEL G13

Import neighbourhood

Above: what it imports. Below: what imports it.

Declarations 6

theoremMathFin.integrable_id_mul_gaussianPDFReal_volumesource
Integrable (fun z => z * gaussianPDFReal 0 1 z) volume

The function z ↦ z · ϕ(0, 1, z) is integrable on ℝ (against Lebesgue). Derived by transferring Integrable id (gaussianReal 0 1) (the existence of the first moment of N(0, 1)) through the withDensity identification of gaussianReal.

theoremMathFin.integral_id_mul_gaussianPDFReal_Ioisource
∀ (a : ℝ), ∫ (z : ℝ) in Set.Ioi a, z * gaussianPDFReal 0 1 z = gaussianPDFReal 0 1 a

Truncated mean of N(0, 1) on (a, ∞): ∫ z in Ioi a, z · ϕ(z) dz = ϕ(a).

Proved via FTC for improper integrals (integral_Ioi_of_hasDerivAt_of_tendsto) using the antiderivative z ↦ -ϕ(z) of z ↦ z · ϕ(z), and the fact that ϕ(z) → 0 as z → ∞.

theoremMathFin.integral_gaussianPDFReal_Ioisource
∀ (a : ℝ), ∫ (x : ℝ) in Set.Ioi a, gaussianPDFReal 0 1 x = 1 - Phi a

Gaussian tail mass in pdf form: ∫_{Ioi a} ϕ(x) dx = 1 − Φ(a).

theoremMathFin.integral_max_sub_mul_gaussianPDFRealsource
∀ (z : ℝ), ∫ (x : ℝ), max (x - z) 0 * gaussianPDFReal 0 1 x = gaussianPDFReal 0 1 z - z * (1 - Phi z)

Standard-normal expected shortfall: E[(Z − z)⁺] = ϕ(z) − z·(1 − Φ(z)). The positive part localizes the integral to the tail Ioi z, where it splits into the truncated first moment (= ϕ(z)) minus z times the tail mass.

theoremMathFin.gaussian_call_formulasource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {W : Ω → ℝ} {m : ℝ} {v : NNReal}, HasLaw W (gaussianReal m v) P → v ≠ 0 → ∀ (K : ℝ), ∫ (ω : Ω), max (W ω - K) 0 ∂P = (m - K) * Phi ((m - K) / √↑v) + √↑v * gaussianPDFReal 0 1 ((m - K) / √↑v)

Call payoff under a Gaussian law: if W ~ N(m, v) with v ≠ 0, then for any strike K (of either sign),

E[(W − K)⁺] = (m − K)·Φ(d) + √v·ϕ(d), d = (m − K)/√v.

Standardize W to Z = (W − m)/√v ~ N(0, 1) (hasLaw_sub_div_of_gaussianReal), where the payoff is √v·(Z + d)⁺, and read the integral off the standard-normal stop-loss transform integral_max_sub_mul_gaussianPDFReal at −d. The Bachelier call (Models/Bachelier/Bachelier) is the instance W = S_0 + σ√T·Z.

theoremMathFin.gaussian_put_formulasource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {W : Ω → ℝ} {m : ℝ} {v : NNReal}, HasLaw W (gaussianReal m v) P → v ≠ 0 → ∀ (K : ℝ), ∫ (ω : Ω), max (K - W ω) 0 ∂P = (K - m) * Phi ((K - m) / √↑v) + √↑v * gaussianPDFReal 0 1 ((K - m) / √↑v)

Put payoff under a Gaussian law: if W ~ N(m, v) with v ≠ 0, then for any strike K,

E[(K − W)⁺] = (K − m)·Φ((K − m)/√v) + √v·ϕ((K − m)/√v),

the put mirror of gaussian_call_formula: (K − W)⁺ is the call (-W − (-K))⁺ on the negated Gaussian −W ~ N(−m, v), so the call formula applies verbatim (the normal-model put-call parity put = call − forward in disguise).