NLAlib.measureReal_abs_norm_sq_sub_integral_ge_le
Library · theorem
The two-sided tail of \|\mathbf{x}\|^2 about its mean for a real vector with independent coordinates, each sub-Gaussian with proxy c: for t \ge 0, \mu\bigl(\bigl\lvert \|\mathbf{x}\|^2 - \mathbb{E}\|\mathbf{x}\|^2 \bigr\rvert \ge t\bigr) \le 2 \exp\Bigl(-\min\Bigl(\frac{t^2}{2 \lvert n\rvert \cdot 32 c^2}, \frac{t}{2 \cdot 4c}\Bigr) \Bigr)\,, Bernstein's inequality for the centred squares, whose variance proxy and scale are 32 c^2 and 4 c.
NLAlib.measureReal_abs_norm_sq_sub_integral_ge_le.{u_1, u_2} {Ω : Type u_1} {mΩ : MeasurableSpace Ω}
{μ : Measure Ω} {n : Type u_2} [Fintype n] {x : Ω → n → ℝ} {c : ℝ≥0}
(hind : iIndepFun (fun i ω ↦ x ω i) μ) (h : ∀ (i : n), HasSubgaussianMGF (fun ω ↦ x ω i) c μ)
{t : ℝ} (ht : 0 ≤ t) :
μ.real {ω | t ≤ |‖WithLp.toLp 2 (x ω)‖ ^ 2 - ∫ (ω' : Ω), ‖WithLp.toLp 2 (x ω')‖ ^ 2 ∂μ|} ≤
2 * rexp (-min (t ^ 2 / (2 * (↑(Fintype.card n) * (32 * ↑c ^ 2)))) (t / (2 * (4 * ↑c))))Import NLAlib.Probability.SubGaussianVector.Norm.