The variance of a sum of independent random matrices
Library · Source module
The variance of a sum of independent random matrices
For independent random matrices the cross terms of the second moment of a sum vanish once one factor is centred: \mathbb{E}\bigl[(\sum_k f(X_k)) (\sum_k g(X_k))\bigr] = \sum_k \mathbb{E}[f(X_k)\, g(X_k)] when \mathbb{E} f(X_k) = \mathbf{0}. In particular the matrix variance is additive, \mathbb{E}(\sum_k \mathbf{X}_k)^2 = \sum_k \mathbb{E}\mathbf{X}_k^2 for independent centred square-integrable \mathbf{X}_k (Tropp 2015, (2.2.5)), the identity that makes the variance statistic \|\sum_k \mathbb{E}\mathbf{X}_k^2\|_2 of the matrix Bernstein inequality the variance of the sum. Expectations are Bochner integrals under open scoped Matrix.Norms.L2Operator (NLAlib/ForMathlib/MeasureTheory/SpecificCodomains/Matrix.lean); square integrability is MemLp _ 2 μ, which does not depend on the norm chosen.
Main results
* NLAlib.integral_sum_mul_sum_of_iIndepFun: the cross terms vanish. * NLAlib.integral_sum_sq_of_iIndepFun: \mathbb{E}(\sum_k \mathbf{X}_k)^2 = \sum_k \mathbb{E}\mathbf{X}_k^2 for centred summands. * NLAlib.integral_sum_sub_integral_sq_of_iIndepFun: the variance of the sum is the sum of the variances.
References
* [J. A. Tropp, An Introduction to Matrix Concentration Inequalities][Tropp2015], §2.2.