The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



MeanCenterColumns


Unit: SDL_matrix
Class: TMatrix
Declaration: procedure MeanCenterColumns (means: TVector);

The method MeanCenterColumns subtracts the mean of each column of the matrix from the elements in that column. This means that the elements of the data matrix are shifted in a way that each column of the matrix has a zero mean. The means of all columns are returned in the parameters means.

Please note that size of the vector parameter means has to be equal to NrOfColumns. The parameter means may be set to NIL, if these results are not needed.

Hint: Background information on mean-centering of data can be found in Fundamentals of Statistics.

 



Last Update: 2008-Oct-29