Squares of sub-Gaussian random variables
Library · Source module
Squares of sub-Gaussian random variables
The exponential square moment \mathbb{E} e^{\theta X^2} of a sub-Gaussian variable, and the fact that its centred square X^2 - \mathbb{E}[X^2] is sub-exponential, which is what Bernstein's inequality and the diagonal part of the Hanson–Wright inequality consume.
The constants of the centred square are written in the statement (CONTRIBUTING.md §5.2, "Numerical bounds"): every pair (\mathbf{v}, \mathbf{b}) with 2c \le \mathbf{b} and 16 c^2 \mathbf{b} \le (\mathbf{b} - 2c) \mathbf{v}, among them the literature's (32 c^2, 4 c) and the pair (18 c^2, 18 c) that the JL constant uses.
For k independent real Y_i, each sub-Gaussian with proxy 1, with \mathbb{E}[Y_i^2] = 1 and \mathbb{E}[Y_i^4] \le 3 (the moments of a standard Gaussian), the relative deviation of k^{-1} \sum_i Y_i^2 from 1 has the tail 2 e^{-k(\varepsilon^2/4 - \varepsilon^3/6)} of \chi^2_k, Dasgupta and Gupta's exponent. The upper half is Chernoff's bound with \mathbb{E}[e^{\theta Y^2}] \le (1 - 2\theta)^{-1/2} and Real.log_one_add_le_cubic; the lower half is Chernoff's bound with \mathbb{E}[e^{-\theta Y^2}] \le 1 - \theta + 3\theta^2/2 at \theta = \varepsilon/(2(1 + \varepsilon)), through Real.log_one_add_le_cubic_of_nonpos. A standard Gaussian and a Rademacher combination \langle \boldsymbol{\xi}, \mathbf{x} \rangle with \|\mathbf{x}\| = 1 (\mathbb{E} \langle \boldsymbol{\xi}, \mathbf{x} \rangle^4 = 3 - 2 \sum_j \mathbf{x}_j^4) satisfy the hypotheses; the latter gives the sign-sketch Johnson–Lindenstrauss tail with Gaussian constants (Achlioptas).
Main results
* ProbabilityTheory.HasSubgaussianMGF.integral_exp_mul_sq_le: \mathbb{E} e^{\theta X^2} \le (1 - 2\theta c)^{-1/2}. * ProbabilityTheory.HasSubgaussianMGF.hasSubexponentialMGF_sq_sub_integral_of_le: the centred square is sub-exponential with variance proxy \mathbf{v} and scale \mathbf{b} whenever 2c \le \mathbf{b} and 16 c^2 \mathbf{b} \le (\mathbf{b} - 2c) \mathbf{v}; ProbabilityTheory.HasSubgaussianMGF.hasSubexponentialMGF_sq_sub_integral, the case (32 c^2, 4 c). * NLAlib.measureReal_abs_sum_sq_div_card_sub_one_ge_le_of_iIndepFun: the relative deviation of a sum of squares with Gaussian moments.
Declarations
- NLAlib.measureReal_abs_sum_sq_div_card_sub_one_ge_le_of_iIndepFun
- ProbabilityTheory.HasSubgaussianMGF.hasSubexponentialMGF_sq_sub_integral
- ProbabilityTheory.HasSubgaussianMGF.hasSubexponentialMGF_sq_sub_integral_of_le
- ProbabilityTheory.HasSubgaussianMGF.integrable_exp_mul_sq
- ProbabilityTheory.HasSubgaussianMGF.integral_exp_mul_sq_le