Blockwise Formula
Suppose the design matrix can be decomposed by columns as . Define the Hat operator as . Similarly, define the residual operator as . Then the Hat matrix of can be decomposed as follows:
There are a number of applications of such a partitioning. The classical application has 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 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 without explicitly forming the matrix, which might be too large to fit into computer memory.
Read more about this topic: Hat Matrix
Famous quotes containing the word formula:
“Its hard enough to adjust [to the lack of control] in the beginning, says a corporate vice president and single mother. But then you realize that everything keeps changing, so you never regain control. I was just learning to take care of the belly-button stump, when it fell off. I had just learned to make formula really efficiently, when Sarah stopped using it.”
—Anne C. Weisberg (20th century)