Statistics.PCAResiduals Method

procedure PCAResiduals(const Data: TMtx; const NumPC: Integer; const Residuals: TMtx);

PC residuals.

#NameTypeDescription
1DataTMtx
2NumPCInteger
3ResidualsTMtx

Result: stored in self (calling object)

Remarks:

Constructs the residuals, copied from NumPC principal components of Data, where Data columns are variables and rows are the observables. An exception is raised if NumPC is more or equal than the number of Data columns (number of variables). The Rows, Cols and Complex properties of the Residuals matrix are adjusted automatically.

See Also: Statistics.PCA