[R] RE:

Good, Norman Norman.Good at dpi.qld.gov.au
Tue Sep 3 05:03:57 CEST 2002


It may depend on which decomposition method you are using, princomp uses
eigen whereas prcomp use svd. What does Statistica use?

-----Original Message-----
From: Williams, Allyson 
Sent: Tuesday, 3 September 2002 10:20 AM
To: r-help at stat.math.ethz.ch
Subject: 


Hello,

I'm doing a pca analysis and get unrotated PCA results (using "pca").

I then used "varimax" to rotate the PCs, 

vload <- varimax(cproj,normalize=TRUE,eps=1e-5)  #cproj is the
"loadings" from "pca"


and calculate the score coefficients with:
coef <- solve(correlation matrix of original data) %*% (vload$loadings)


Then calculate the scores with:
scores <- (standardised original data) %*% coef 



My problem: I am not producing correct rotated results. (as shown by a
comparison of my rotated scores from those produced by the software
"Statistica").

The unrotated loadings and scores are correct.


What have I done wrong with "varimax"?


Many thanks.

Regards,
Allyson Williams

********************************DISCLAIMER****************************
The information contained in the above e-mail message or messages 
(which includes any attachments) is confidential and may be legally 
privileged.  It is intended only for the use of the person or entity 
to which it is addressed.  If you are not the addressee any form of 
disclosure, copying, modification, distribution or any action taken 
or omitted in reliance on the information is unauthorised.  Opinions 
contained in the message(s) do not necessarily reflect the opinions 
of the Queensland Government and its authorities.  If you received 
this communication in error, please notify the sender immediately and 
delete it from your computer system network.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
-.-.-.-
r-help mailing list -- Read
http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._._._

********************************DISCLAIMER****************************
The information contained in the above e-mail message or messages 
(which includes any attachments) is confidential and may be legally 
privileged.  It is intended only for the use of the person or entity 
to which it is addressed.  If you are not the addressee any form of 
disclosure, copying, modification, distribution or any action taken 
or omitted in reliance on the information is unauthorised.  Opinions 
contained in the message(s) do not necessarily reflect the opinions 
of the Queensland Government and its authorities.  If you received 
this communication in error, please notify the sender immediately and 
delete it from your computer system network.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list