Skip to content
Prev 313059 / 398506 Next

In factor analysis in the psych package, how can I work out which factors the columns in $scores relate to? How do I know what each of the scores is scoring?

Dear Prof Carlson
Thank you very much.  As far as I can tell, factor.scores requires an object from class grm, itm, rason, or tpm; which I think are part of the irt package with which I am unfamiliar.
I had used the psych package to do the following factor analysis:
fa.11factors.rawdata <- fa(WISDMrawdataframe,nfactors=11)
# WISDMrawdataframe has 37 columns and 2408 rows, and contain 1051 rows that are NA (having NA in this dataframe allows the raw data to have the same length as my vector of ID numbers so I can work out which participants the data belong to)
fa.11factors.rawdata$loadings #on the computer screen this gives me the loadings with column names    MR4    MR3    MR2    MR6    MR7    MR5    MR1    MR8    MR10   MR9    MR11
fa.11factors.rawdata$scores # on the computer screen this gives me the scores with column names              [,1]       [,2]        [,3]       [,4]        [,5]       [,6]       [,7]       [,8]         [,9]      [,10]       [,11]
Am I safe in assuming that the scores in the first column relate to the loadings in the column called MR4?  
If this is a safe assumption, then I can work out which factor the scores relate to, by looking at which items load onto MR4    MR3    MR2    MR6    MR7    MR5    MR1    MR8    MR10   MR9    MR11
Thank you, I've taken your advice and cc'd this to Prof William Revelle
Thank you
Best wishes
Brent

-----Original Message-----
From: David L Carlson [mailto:dcarlson at tamu.edu] 
Sent: Thursday, 6 December 2012 10:33 a.m.
To: Brent Caldwell; 'r-help at R-project.org'
Subject: RE: [R] In factor analysis in the psych package, how can I work out which factors the columns in $scores relate to? How do I know what each of the scores is scoring?

Without seeing what options you have specified in your call to fa(), it is not possible to answer the question. There are detailed discussions in ?fa and ?factor.scores in the psych package, but for the final word you should probably contact the package maintainer: 

Package: psych
Version: 1.2.8
Date: 2012-08-08
Title: Procedures for Psychological, Psychometric, and Personality
        Research
Author: William Revelle <revelle at northwestern.edu>
Maintainer: William Revelle <revelle at northwestern.edu>

----------------------------------------------
David L Carlson
Associate Professor of Anthropology
Texas A&M University
College Station, TX 77843-4352