Sheppard's bound for threshold crossings of correlated Gaussians #
Let X be a standard Gaussian vector of a finite-dimensional real inner product space, and let
u, v be vectors of equal norm at angle θ. When the common norm is positive, ⟪u, X⟫ and
⟪v, X⟫ are Gaussians of equal variance with correlation cos θ. Sheppard's bound
(measureReal_stdGaussian_mem_uIoc_le_angle): a threshold t lies between ⟪u, X⟫ and
⟪v, X⟫ with probability at most θ / π. For vectors of positive norm the bound is attained at
t = 0: that is Sheppard's formula [She99] for the probability that two correlated
Gaussians differ in sign. For u = v = 0 the crossing event is empty while Mathlib's
angle 0 0 is π / 2, so the bound is then strict. Only the bound is proved here.
The proof has four steps.
- Change of variables. The vectors
u + vandv - uare orthogonal, soU = ⟪u + v, X⟫andV = ⟪v - u, X⟫are independent centered Gaussians, and a crossing attforces|U - 2 t| ≤ |V|. - Anderson's inequality on the line (
ProbabilityTheory.gaussianReal_Icc_le). Conditioning onV, the shift2 tonly decreases the probability. - The planar angle law (
gaussianReal_prod_setOf_abs_le_mul_abs). For independent standard GaussiansZ₁,Z₂, the event|Z₁| ≤ k |Z₂|constrains only the angle of(Z₁, Z₂)in polar coordinates, to two arcs of total length4 arctan k, so it has probability(2 / π) arctan k. Rescaling,|U| ≤ |V|has probability(2 / π) arctan (‖v - u‖ / ‖u + v‖)(measureReal_stdGaussian_mem_uIoc_le_arctan). - The half-angle formula (
InnerProductGeometry.angle_eq_two_mul_arctan). For vectors of equal norm at angleθ < π, the ratio‖v - u‖ / ‖u + v‖istan (θ / 2).
The event that t lies between x and y, the lower one strictly below t, is
t ∈ Set.uIoc x y.
Main results #
ProbabilityTheory.gaussianReal_prod_setOf_abs_le_mul_abs: the planar angle law.ProbabilityTheory.gaussianReal_prod_setOf_abs_le_mul_abs_of_ne_zero: the planar angle law for centered Gaussians of any variances.InnerProductGeometry.angle_eq_two_mul_arctan: the half-angle formula for vectors of equal norm.ProbabilityTheory.measureReal_stdGaussian_mem_uIoc_le_arctan,ProbabilityTheory.measureReal_stdGaussian_mem_uIoc_le_angle: Sheppard's bound.measurableSet_setOf_mem_uIoc: the event that a threshold lies between two measurable functions is measurable.
References #
The event that a threshold lies between two measurable real functions is measurable.
The half-angle formula. Two vectors of equal norm whose sum is nonzero make the angle
2 arctan (‖v - u‖ / ‖u + v‖).
The planar angle law #
The planar angle law. For independent standard Gaussians Z₁ and Z₂, the event
|Z₁| ≤ k |Z₂| has probability (2 / π) arctan k.
The planar angle law for any variances. For independent centered Gaussians X and Y
of variances s ≠ 0 and r, the event |X| ≤ k |Y| has probability
(2 / π) arctan (k √r / √s).
Sheppard's bound #
Sheppard's bound, arctan form. If u and v have equal norms and nonzero sum, a
threshold lies between ⟪u, X⟫ and ⟪v, X⟫, for a standard Gaussian vector X, with
probability at most (2 / π) arctan (‖v - u‖ / ‖u + v‖).
Sheppard's bound. If u and v have equal norms, a threshold lies between ⟪u, X⟫ and
⟪v, X⟫, for a standard Gaussian vector X, with probability at most angle u v / π.