Absorb the fixed effects into a matrix and return the residuals from a regression of each column of the matrix on the fixed effects.
This function assumes that all of your data have already been cleaned. For example, it will not drop observations with null values.
Residuals from a regression of each column of
matrixon the fixed effects. This matrix has the same number of columns as
matrix. If any singleton observations were dropped when initializing the
Algorithm(this is the default behavior of
create()), the residualized matrix will have correspondingly fewer rows.
- Return type