Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
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 14:12:06 -0200 (BRST) |
I would like to thank Tirthankar and Fernando for their extremely helpful comments on how to solve the matrix equation AX = B for X. The best solution will be to use mata, (requiring a more recent version of Stata). Thanks again. Tiago ------------------------------------------ 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/