Projection matrix
Appearance
The hat matrix, H, is used in statistics to relate errors in residuals to experimental errors. Suppose that a linear least squares problem is being addressed. The model can be written as
where J is a matrix of cefficients and p is a vector of parameters. The solution to the un-weighted least-squares equations is given by
The vector of un-wieghted residuals, r, is given by
The matrix is known as the hat matrix. Thus the residuals can be expressed simply as
The hat matrix is idempotent, that is, . Using this property it can easily be shown by error propagation that the variance-covariance matrix of the residuals is equal to .Some other useful properties of the hat matrix are summarized in [1].
References
- ^ P. Gans, Data Fitting in the Chemical Sciences,, Wiley, 1992