STAT 350: Lecture 9
Here is an example of some of the matrix algebra I was doing in class. Consider the weighing design where two objects of weights and are weighed individually and together. The resulting design matrix is
So
and
The hat matrix is
which is
Notice that the trace of H is 2 which is the number of parameters in .
You can also check that H is idempotent.