Skip to content
Prev 168719 / 398502 Next

princomp - varimax - factanal

At 3:00 PM +0100 1/30/09, Alberto Maceda Veiga wrote:
Unfortunately, SPSS labels principal components as a factor model. 
It is not.   So, extracting the first n factors by using factanal 
will give you a very different solution than the first n principal 
components.
To duplicate the SPSS analysis try using the psych package.

The principal function in the psych package will extract the first n 
components (defaults to 1) and then by default rotate using varimax.

library(psych)
pc <- principal(my.data,n)  #where n is the number components you 
want to extract

Let me know if this matches the SPSS output.

Bill