[R] Principal component analysis with EQUAMAX rotation
William Revelle
lists at revelle.net
Fri Jun 20 18:36:27 CEST 2014
Dear Wagner,
I added the equamax rotation option to the psych package in version 1.4.6. This was requested by Sagnik Chakravarty, with a solution by Gunter Nickel.
Unfortunately, the version on CRAN is 1.4.5, but you can get the working prerelease of 1.4.6 (1.4.6.20) from the alternate repository http://personality-project.org/r/ (if using a Mac) or http://personality-project.org/r/src/contrib/ if using a PC.
Thus,
p3e <- principal(Thurstone,3,rotate="equamax") #will extract the first three components and rotate them using equamax.
p3n <- principal(Thurstone,3,rotate="none") #will give you the unrotated 3 component solution
p3v <- principal(Thurstone,3,rotate="varimax") #for the varimax solution
factor.congruence(list(p3e,p3n,p3v)) #compares the Burt/Tucker congruence coefficients for these three solutions
Let me know if this does what you want.
Bill
On Jun 19, 2014, at 2:07 AM, Wagner <wagner.fab at gmx.de> wrote:
> Hello,
> I need to do a principal component analysis with EQUAMAX-rotation.
> Unfortunately the function principal() I use normally for PCA does not offer
> this rotation specification. I could find out that this might be possible
> somehow with the package GPArotation but until now I could not figure out
> how to use this in the principal component analysis.
> Maybe someone can give an example on how to do an equamax-rotation PCA?
> Or is there a function in another package that offers the use of
> equamax-rotation directly?
> Thank you for your help!
>
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Principal-component-analysis-with-EQUAMAX-rotation-tp4692337.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
William Revelle http://personality-project.org/revelle.html
Professor http://personality-project.org
Department of Psychology http://www.wcas.northwestern.edu/psych/
Northwestern University http://www.northwestern.edu/
Use R for psychology http://personality-project.org/r
It is 5 minutes to midnight http://www.thebulletin.org
More information about the R-help
mailing list