Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Determining the eigenvectors from a matrix


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Determining the eigenvectors from a matrix
Date   Thu, 27 Mar 2003 19:49:38 -0000

Kaleb Michaud
> 
> First, it was a pleasure to see so many of you in person at 
> last week's NA 
> User's meeting in Boston!

Yes indeed. 
 
> Second, this problem.
> 
> I have a matrix, I can get the eigenvalues from the matrix 
> eigenvalue 
> command, but I am unsure how to get the eigenvectors.  Now, 
> from what I 
> remember of linear algebra, I can always do this by hand 
> and solve for the 
> n values of each eigenvector per eigenvalue, I just didn't 
> want to have to 
> create a laborious Stata program that did the same thing 
> (solving for 
> multiple unknowns with multiple equations).  The only 
> mention of the word 
> eigenvectors in Stata are with pca and factor and that is 
> for variables 
> only (and these are not correlation/covariate matrices so I 
> can't imagine 
> corr2data plus pca would work).
> 
> If there's an easy solution that I've missed, please 
> forgive me, but I do 
> appreciate your attention and help.

For the symmetric matrix case, see 

whelp matsym 

Nick 
[email protected] 

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index