Skip to content

pca analysis: extract rotated scores?

2 messages · He Zhang, Mark Difford

#
Hi,

I am also doing PCA.
Is the following right for extracting the scores?

library(psych)
pca<-principal(data,nfactors=,rotate="varimax",scores=T)
pca$loadings
pca$score

Best regards,
He
On Tue, Nov 30, 2010 at 10:22 AM, Liviu Andronic <landronimirc at gmail.com> wrote:
#
Hi He Zhang,
Yes.

But you should be aware that the function principal() in package psych is
standardizing your data internally, which you might not want. That is, the
analysis is being based on the correlation matrix rather than on the
covariance matrix. The two analyses (and the "default" biplots that issue
from them) have somewhat different properties. You should know about these.

Regards, Mark.