Re: [R] computing scores from a factor analysis

2012-02-09 Thread francesca
William, I had a problem similar to Wolfgang and I solved it through your help. Many thanks! Just an observation which sounded strange to me ( I am not a statistician, just a wildlife biologist) I have noticed that running the pca using principal with raw data (and therefore using scores=TRUE i

Re: [R] computing scores from a factor analysis

2012-01-19 Thread William Revelle
Wolfgang, Since you seem to be doing this in the psych package, it would have been faster to directly ask the author (me). Luckily, I saw the question on R-Help. The principal components step is being done on the correlation matrix, not on the raw data matrix, thus, it is not able to find s

[R] computing scores from a factor analysis

2012-01-18 Thread wolfgang
Haj i try to perform a principal component analysis by using a tetrachoric correlation matrix as data input tetra <- tetrachoric (image_na, correct=TRUE) t_matrix <- tetra$rho pca.tetra <- principal(t_matrix, nfactors = 10, n.obs = nrow(image_na), rotate="varimax", scores=TRUE) the problem i hav