Hi, So I have a set of data that I want to run PCA on. In SPSS this is very simple, and it spits out a clean component matrix. My question is how does one take the output of PrincipalComponents[data,Method->"Correlation"] and get the component matrix?
I do believe it works! Thank you Jim Baldwin. Sorry for the delay in confirmation. I was running something that took a long time on all of my kernels
Good. I assume you must have access to SPSS and I also assume you'll be trying the same dataset on both SPSS and Mathematica as there are many times subtle but definite differences in algorithms, settings, assumptions, jargon, etc.
Ok, I greatly appreciate your assistance Jim. I will try this and see if everything works and still makes sense to me
-0.60157 is what SPSS calls the component loading: the correlation of the first principal component and the first variable.
I haven't added in the "sanitizing" that SPSS does (like only giving the "most important" principal components and putting in blanks where the absolute value of the correlations are less than some threshold. On can add in those features but I'd argue you should only do that (if you're going to do that at all) after looking at all of the output.
so just to make sure I understand, -0.60157 is the component loading of the first variable for the 1st principal component?