Content deleted Content added
→Overview: MOS:ORDINAL: The suffixes are not superscripted |
^\top → ^\mathsf{T}; other minor formatting |
||
Line 44:
: <math>
\hat{\mathbf\beta}_{\text{GLS}}= \left( \mathbf{X}^
</math>.
Line 50:
: <math>
H = \mathbf{X}\left( \mathbf{X}^
</math>
Line 60:
* <math>\mathbf{P}</math> is symmetric, and so is <math>\mathbf{M} \equiv \left( \mathbf{I} - \mathbf{P} \right)</math>.
* <math>\mathbf{P}</math> is idempotent: <math>\mathbf{P}^2 = \mathbf{P}</math>, and so is <math>\mathbf{M}</math>.
* If <math>\mathbf{X}</math> is an
* The [[eigenvalue]]s of <math>\mathbf{P}</math> consist of ''r'' ones and {{nowrap|''
* <math>\mathbf{X}</math> is invariant under <math>\mathbf{P}</math> : <math>\mathbf{P X} = \mathbf{X},</math> hence <math>\left( \mathbf{I} - \mathbf{P} \right) \mathbf{X} = \mathbf{0}</math>.
* <math>\left( \mathbf{I} - \mathbf{P} \right) \mathbf{P} = \mathbf{P} \left( \mathbf{I} - \mathbf{P} \right) = \mathbf{0}.</math>
Line 74:
Suppose the design matrix <math>X</math> can be decomposed by columns as <math>X= [A~~~B]</math>.
Define the hat or projection operator as <math>P\{X\} = X \left(X^\
Then the projection matrix can be decomposed as follows:<ref>{{cite book|last1=Rao|first1=C. Radhakrishna|last2=Toutenburg|first2=Helge|author3=Shalabh|first4=Christian|last4=Heumann|title=Linear Models and Generalizations|year=2008|publisher=Springer|___location=Berlin|isbn=978-3-540-74226-5|pages=323|edition=3rd}}</ref>
:<math>
P\{X\} = P\{A\} + P\{M\{A\} B\},
</math>
where, e.g., <math>P\{A\} = A \left(A^\
There are a number of applications of such a decomposition. In the classical application <math>A</math> is a column of all ones, which allows one to analyze the effects of adding an intercept term to a regression. Another use is in the [[fixed effects model]], where <math>A</math> is a large [[sparse matrix]] of the dummy variables for the fixed effect terms. One can use this partition to compute the hat matrix of <math>X </math> without explicitly forming the matrix <math>X</math>, which might be too large to fit into computer memory.
|