Projection matrix: Difference between revisions

Content deleted Content added
AnomieBOT (talk | contribs)
m Dating maintenance tags: {{Cn}}
Weighted and generalized least squares: harmonize notation with rest of article
Line 59:
=== Weighted and generalized least squares ===
{{further|Weighted least squares|Generalized least squares}}
The above may be generalized to the cases where the weights are not identical and/or the errors are correlated. Suppose that the [[covariance matrix]] of the errors is Ψ'''Σ'''. Then since
 
: <math>
\hat{\mathbf\beta}_{\text{GLS}}= \left( \mathbf{X}^\textsf{T} \mathbf{\PsiSigma}^{-1} \mathbf{X} \right)^{-1} \mathbf{X}^\textsf{T} \mathbf{\PsiSigma}^{-1}\mathbf{y}
</math>.
 
Line 68:
 
: <math>
\mathbf{H} = \mathbf{X}\left( \mathbf{X}^\textsf{T} \mathbf{\PsiSigma}^{-1} \mathbf{X} \right)^{-1} \mathbf{X}^\textsf{T} \mathbf{\PsiSigma}^{-1}
</math>