Recently, I am working on coding in SAS for a set of regularized regressions and need to compute trace of the projection matrix:
S=X(X'X + \lambda I)^{-1}X'.
Trace of the project matrix S is a key concept in modern regression analysis. For example, ...

Read more »