How extract rotated PCs' eigenvalue and explained variance?
12 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
arushi
el 1 de Ag. de 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 comentarios
Ver también
Categorías
Más información sobre Dimensionality Reduction and Feature Extraction en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!