rotated scores after varimax rotation

11 visualizaciones (últimos 30 días)
Hans van der Horn
Hans van der Horn el 2 de Sept. de 2022
Respondida: Hans van der Horn el 5 de Nov. de 2024 a las 8:32
Dear all,
I'd like to verify if my approach is right. I'd like to obtain rotated subject scores after varimax rotation.
I have matrix M and perform pca:
[coeff, scores, latent, tsquared explained] = pca(M);
Then I rotate the first two PCs:
[RotatedCoeff,RotMatrix] = rotatefactors(coeff(:,1:2));
And compute rotated subject scores:
RotatedScores = scores(:,1:2)*RotMatrix;
Is this the right way to obtain rotated scores?
Thanks,
Best
Hans

Respuesta aceptada

Umang Pandey
Umang Pandey el 5 de Nov. de 2024 a las 7:49
Hi Hans.
Your approach is correct. By rotating the coefficients and then applying the rotation matrix to the scores, you are effectively obtaining the rotated subject scores. This allows you to interpret the components in the context of the rotated factor loadings.
You can refer to the following MATLAB documentation on "rotatefactors" for more information on parameters involved:
Best,
Umang

Más respuestas (1)

Hans van der Horn
Hans van der Horn el 5 de Nov. de 2024 a las 8:32
Thanks Umang!

Categorías

Más información sobre Geometric Transformation and Image Registration 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!

Translated by