Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: How to solve the matrix equation AX = B for X without using Mata


From   "Tiago V. Pereira" <tiago.pereira@mbe.bio.br>
To   statalist@hsphsun2.harvard.edu
Subject   st: How to solve the matrix equation AX = B for X without using Mata
Date   Thu, 15 Dec 2011 10:46:39 -0200 (BRST)

Dear statalisters,

I need to perform the division of matrices A/B, and need to solve the
matrix equation AX = B for X.

Is there a quick way to solve for X without using Mata?

For example, I have the following matrices:

matrix A = (0.5, 0.25)
matrix B =  (10, 0.5 \ 0.5, 15)

and the results should be something like:

matrix C = (0.05, 0)


Thanks for your time.

Tiago


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index