meancentered
Mean-centered, or mean-centering, is a data preprocessing technique in statistics and data analysis. It involves subtracting the mean value of a data feature from each observation so that the feature’s mean becomes zero. This can be done per feature (column) in a data matrix, though centering can also be applied across rows in other contexts.
The typical procedure for a data matrix X with n observations and p variables is to compute
Mean-centering differs from standardization, which scales features to have unit variance in addition to zero mean.