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

st: RE: solving equation AX=0


From   "FEIVESON, ALAN H. (AL) (JSC-SK) (NASA)" <alan.h.feiveson@nasa.gov>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: solving equation AX=0
Date   Fri, 11 Feb 2005 08:05:05 -0600

Samir - One obvious solution is X = c(1,1,..,1)' where c is any constant.
Other solutions are also in the null space of A'A. You can use Stata
(-matrix symeigen-) to find the eigenvalues and eigenvectors of A'A. Then
any linear combination of eigenvectors correspinding to zero eigenvalues of
A'A will solve Ax = 0.

Al Feiveson


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu]On Behalf Of samirkc
Sent: Friday, February 11, 2005 5:49 AM
To: statalist@hsphsun2.harvard.edu
Subject: st: solving equation AX=0


Dear statalisters,
How can I solve for matrix X in a matrix equations AX=0?, where A = a 
non-symmetric matrix with row sum equals zero and X consists of unknowns 
and 0 is zero matrix..
Best regards
Samir

*
*   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/
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index