How extract rotated PCs' eigenvalue and explained variance?
17 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi, I used pca function in matlab and then I rotated first 4 PCs with rotatedfactors function. now I want to derive explained variance and eigenvalue of rotated PCs. Whta should I do?
0 commentaires
Réponses (1)
arushi
le 1 Août 2024
Hi Farshad,
When you rotate the principal components (PCs) using the `rotatefactors` function in MATLAB, the explained variance and eigenvalues of the rotated PCs are not directly provided.You can compute them from the rotated loadings -
- Use the `pca` function to obtain the principal components and the explained variance.
- Use the `rotatefactors` function to rotate the loadings (principal components).
- The explained variance of the rotated PCs can be derived from the sum of the squared loadings for each component.
- The eigenvalues can be computed from the explained variance.The eigenvalues can be derived from the explained variance by multiplying by the number of observations minus one (degrees of freedom).
Hope this helps.
0 commentaires
Voir également
Catégories
En savoir plus sur Dimensionality Reduction and Feature Extraction dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!