MathFin
Map / Probability · Dependence / MathFin.Probability.Dependence.CorrelationFallacies

Normal margins and zero correlation determine neither independence nor normality

MathFin.Probability.Dependence.CorrelationFallaciesMSC 62H05MSC 60E05MSC 91G70 source

Embrechts, McNeil and Straumann (2002) list the fallacies that come from reading linear correlation as a complete description of dependence. The standard counterexample (QRM Exercise Book Ex. 6.1 and 6.18; McNeil–Frey–Embrechts (2015), Fallacy 1) is a standard normal Z and an independent random sign V, P(V = 1) = P(V = −1) = 1/2, combined as Y = V Z. Then:

  • Y is standard normal (hasLaw_mul_gaussianReal), because a random sign times a symmetric variable keeps its law (rademacher_mconv_of_map_neg);
  • cov(Z, Y) = 0 (covariance_mul_eq_zero);
  • Z and Y are not independent (not_indepFun_mul), since |Y| = |Z|;
  • Z + Y is not Gaussian (not_hasLaw_add_mul_gaussianReal). It vanishes exactly when V = −1, which has probability 1/2, whereas a Gaussian law gives the point 0 mass 0 or 1;
  • hence (Z, Y) is not jointly Gaussian (not_hasGaussianLaw_prod), although both margins are: for a jointly Gaussian pair, zero covariance would force independence (Mathlib's HasGaussianLaw.indepFun_of_covariance_eq_zero).

So margins together with the correlation do not determine the joint law. Two variables can be standard normal and uncorrelated without being independent, and without their sum being normal. Such a pair exists (exists_gaussian_uncorrelated_not_indepFun).

Main definitions

  • rademacher: the law of a fair random sign, ±1 each with probability 1/2.

Main results

  • rademacher_mconv_of_map_neg: a random sign times an independent symmetric variable has the same law as the variable.
  • hasLaw_mul_gaussianReal, covariance_mul_eq_zero, not_indepFun_mul, not_hasLaw_add_mul_gaussianReal, not_hasGaussianLaw_prod: the counterexample.
  • exists_gaussian_uncorrelated_not_indepFun: the counterexample is realized.

References

Tags

correlation fallacy, uncorrelated not independent, joint normality, dependence, Embrechts–McNeil–Straumann, random sign, MSC 62H05, MSC 60E05, MSC 91G70

Import neighbourhood

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

Corpus entries

qrm-correlation-fallacy · quantitative_risk_management.json · full statement
Normal Margins, Zero Correlation, Not Independent

There exist random variables Z, Y, both N(0, 1), with cov(Z, Y) = 0 that are not independent, not jointly Gaussian, and whose sum is not Gaussian (Y = V·Z with an independent random sign V).

Declarations 14

defMathFin.rademachersource
Measure ℝ

The Rademacher law of a fair random sign: ±1, each with probability 1/2.

theoremMathFin.isProbabilityMeasure_rademacher @[instance]source
IsProbabilityMeasure rademacher
theoremMathFin.integral_id_rademachersource
∫ (x : ℝ), x ∂rademacher = 0

A random sign has mean zero.

theoremMathFin.ae_rademachersource
∀ᵐ (x : ℝ) ∂rademacher, x = 1 ∨ x = -1

A random sign is almost surely ±1.

theoremMathFin.rademacher_singleton_neg_onesource
rademacher {-1} = 2⁻¹

A random sign takes the value -1 with probability 1/2.

theoremMathFin.rademacher_mconv_of_map_negsource
∀ {μ : Measure ℝ} [SFinite μ], Measure.map (fun x => -x) μ = μ → rademacher.mconv μ = μ

A random sign times an independent symmetric variable keeps its law: if μ is symmetric, μ.map (−·) = μ, then the multiplicative convolution of the Rademacher law with μ is μ.

theoremMathFin.measureReal_preimage_of_hasLawsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : Ω → ℝ} {μ : Measure ℝ}, HasLaw X μ P → ∀ {s : Set ℝ}, MeasurableSet s → P.real (X ⁻¹' s) = μ.real s

HasLaw transfers the mass of a preimage; Mathlib's HasLaw.measureReal_eq is stated for set-builder events, and the proofs below work with preimages.

theoremMathFin.hasLaw_mul_gaussianRealsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {Z V : Ω → ℝ}, HasLaw Z (gaussianReal 0 1) P → HasLaw V rademacher P → IndepFun V Z P → HasLaw (fun ω => V ω * Z ω) (gaussianReal 0 1) P

Y = V Z is standard normal: a random sign times an independent standard normal variable.

theoremMathFin.covariance_mul_eq_zerosource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} [IsProbabilityMeasure P] {Z V : Ω → ℝ}, HasLaw Z (gaussianReal 0 1) P → HasLaw V rademacher P → IndepFun V Z P → covariance Z (fun ω => V ω * Z ω) P = 0

Zero correlation: cov(Z, V Z) = 0, since E[Z · V Z] = E[V] E[Z²] = 0.

theoremMathFin.gaussianReal_Icc_mem_Ioosource
(gaussianReal 0 1).real (Set.Icc (-1) 1) ∈ Set.Ioo 0 1

The standard normal law puts mass strictly between 0 and 1 on [-1, 1].

used by 1: not_indepFun_mul
theoremMathFin.not_indepFun_mulsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {Z V : Ω → ℝ}, HasLaw Z (gaussianReal 0 1) P → HasLaw V rademacher P → ¬IndepFun Z (fun ω => V ω * Z ω) P

Z and V Z are not independent, though uncorrelated: they share the absolute value, so P(|Z| ≤ 1, |V Z| ≤ 1) = P(|Z| ≤ 1) ≠ P(|Z| ≤ 1)².

theoremMathFin.not_hasLaw_add_mul_gaussianRealsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} [IsProbabilityMeasure P] {Z V : Ω → ℝ}, HasLaw Z (gaussianReal 0 1) P → HasLaw V rademacher P → ¬∃ m v, HasLaw (fun ω => Z ω + V ω * Z ω) (gaussianReal m v) P

Z + V Z is not Gaussian: it has an atom of mass 1/2 at 0, while a Gaussian law gives the point 0 mass 0 (positive variance) or 0 or 1 (a point mass).

theoremMathFin.not_hasGaussianLaw_prodsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} [IsProbabilityMeasure P] {Z V : Ω → ℝ}, HasLaw Z (gaussianReal 0 1) P → HasLaw V rademacher P → IndepFun V Z P → ¬HasGaussianLaw (fun ω => (Z ω, V ω * Z ω)) P

(Z, V Z) is not jointly Gaussian, although both margins are standard normal: a jointly Gaussian pair with zero covariance is independent (HasGaussianLaw.indepFun_of_covariance_eq_zero), and Z, V Z are uncorrelated but dependent.

theoremMathFin.exists_gaussian_uncorrelated_not_indepFunsource
∃ Ω x P Z Y, IsProbabilityMeasure P ∧ HasLaw Z (gaussianReal 0 1) P ∧ HasLaw Y (gaussianReal 0 1) P ∧ covariance Z Y P = 0 ∧ ¬IndepFun Z Y P ∧ ¬HasGaussianLaw (fun ω => (Z ω, Y ω)) P ∧ ¬∃ m v, HasLaw (fun ω => Z ω + Y ω) (gaussianReal m v) P

The correlation fallacy is realized: there are two standard normal random variables that are uncorrelated, not independent, not jointly Gaussian, and whose sum is not Gaussian.