Linear Algebra and Its Applications · Problem 3.3.29
Orthogonality — Gilbert Strang
Mathematics · statistics-covariance-matrix
Problem
Second assumption behind least squares: The m errors ei are independent with variance σ2, so the average of (b−Ax)(b−Ax)T is σ2I. Multiply on the left by (ATA)−1AT and on the right by A(ATA)−1 to show that the average of (x^−x)(x^−x)T is σ2(ATA)−1. This is the all-important covariance matrix for the error in x^.