Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: PCA


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: PCA
Date   Fri, 17 Jan 2014 20:39:51 +0000

With some guesses on what Muhammad is asking here:

Consider this code example and its results:

sysuse auto
pca  trunk weight length headroom displacement
mat eigenv = e(Ev)
mat li eigenv
mat eigenv = e(Ev)'
mat li eigenv
svmat eigenv
l eigenv1 in 1/5

Nick
[email protected]

Muhammad Ramzan

> how to sun flowwing commands after PCA command.
>
> e(Ev)               1 x p matrix of eigenvalues (sorted)
>       e(L)                p x f matrix of eigenvectors = components

Muhammad Ramzan

>> is there any way to save the eigenvector obtained form pca command.
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index