Gaussian forms and threshold crossings #
The sample space of the Gaussian layout is ι → ℝ with independent standard Gaussian
coordinates (gaussPi ι). A coefficient vector α gives the score
form α ω = ∑ i, α i * ω i, and Between t x y says that the threshold t separates the
scores x and y, the lower one strictly below t. In the Gaussian layout of
Frontier.Layouts.Gaussian, a vertex straddles t exactly when t separates two of the scores
of its edges.
Under gaussPi ι the vector ω is a standard Gaussian vector of EuclideanSpace ℝ ι and
form α ω is its inner product with α. Hence form α is a centered Gaussian of variance
‖α‖ ^ 2 (gaussPi_map_form), and two forms with orthogonal coefficients are jointly Gaussian
and uncorrelated, so independent (gaussPi_map_form_pair).
Main results #
gaussPi_window_le: a unit form lands in a window of widthδwith probability at mostδ / √(2π), the peak density times the width.gaussPi_tail_le: Chebyshev's bound1 / T ^ 2on the tail of a unit form.gaussPi_between_le_arccos: Sheppard's bound. A threshold separates two unit forms with correlationρwith probability at mostarccos ρ / π. At threshold0this is Sheppard's formula for the probability that two correlated Gaussians differ in sign.
The proof of Sheppard's bound has four steps.
- Change of variables. For coefficients of equal norm,
U = form (α + β)andV = form (β - α)are independent, and a crossing attforces|U - 2t| ≤ |V|. - Anderson's inequality on the line (
gaussianReal_Icc_le). A centered Gaussian gives the interval[c - w, c + w]at most the mass of[-w, w]. Conditioning onVremoves the shift2t. - Planar angle law (
gaussPi_abs_le_mul_abs). RescalingUandVto standard GaussiansZ_1,Z_2turns|U| ≤ |V|into|Z_1| ≤ k |Z_2|withk = ‖β - α‖ / ‖α + β‖. In polar coordinates this event constrains only the angle, to two arcs of total length4 arctan k, so it has probability(2/π) arctan k. - Half-angle identity (
two_mul_arctan_tanHalf). For unit vectors at angleθ, withρ = cos θ, the ratiokistanHalf ρ = tan (θ/2), and2 arctan (tan (θ/2)) = θ.
The standard Gaussian product measure on ι → ℝ.
Equations
- Complexity.Frontier.Gaussian.gaussPi ι = MeasureTheory.Measure.pi fun (x : ι) => ProbabilityTheory.gaussianReal 0 1
Instances For
The linear form ω ↦ ∑ i, α i * ω i: the score of a vertex with coefficient vector α.
Equations
- Complexity.Frontier.Gaussian.form α ω = ∑ i : ι, α i * ω i
Instances For
Real Gaussians #
Laws of Gaussian forms #
A Gaussian form is a measurable function of the sample.
The law of a Gaussian form: form a is a centered Gaussian of variance ‖a‖ ^ 2.
Windows and tails #
The planar angle law #
Anderson's inequality on the line #
Anderson's inequality on the line. A centered Gaussian gives an interval of radius w
the most mass when it is centered at the mean.
Sheppard's bound #
Sheppard's bound for equal norms. For coefficient vectors of equal norm with nonzero
sum, a threshold separates the two Gaussian forms with probability at most
(2/π) arctan (‖β - α‖ / ‖α + β‖).
Half-angle identity. 2 arctan (tan (θ/2)) = θ, in the form
2 arctan (tanHalf x) = arccos x.
Sheppard's bound. A threshold separates two unit Gaussian forms with probability at
most arccos ρ / π, where ρ = ∑ i, α i * β i is their correlation.