Navigation

Operators and Keywords

Function List:

C++ API

Function File: [pc, z, w, Tsq] = princomp (X)

Compute principal components of X.

The first output argument pc is the principal components of X. The second z is the transformed data, and w is the eigenvalues of the covariance matrix of X. Tsq is the Hotelling's T^2 statistic for the transformed data.

Package: statistics