[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Principal component analysis by several decomposition
From: |
onewayenzyme |
Subject: |
Re: Principal component analysis by several decomposition |
Date: |
Wed, 12 May 2021 00:03:40 -0500 (CDT) |
Thank you for your reply.
My major issue now is:
by eigendecomposition of the covariance matrix, says Xm in my example, I
obtain PCs from
W=V'*Xm' (ordering the eigenvectors in V according to eigenvalues);
however according to svd
[U S T]=svd(Xm);
PC=T';
but W does not match with the PCs obtained after SVD.
Which are the relationships among the matrices obatined by
eigendecomposition and SVD? In particular how can I get the same PCs and
coefficients from the two decomposition in such a way thay are equal?
--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html