TMtx::ZScore Method

TMtx *ZScore(TMtx *Src);

Transforms matrix into matrix of standardized data.

#NameTypeDescription
1SrcTMtx *
Remarks:

The routine uses Data matrix and transforms it into ZScore matrix of standardized data (the so called Z Scores). The standardization of each column (variable) is made by subtracting its mean and dividing by its standard deviation:

Z(Column) = (Column - Mean(Column))/StdDev(Column)

Declared in Dew::Math::TMtx · Dew.Math/MtxVec.h · Cross-compiler