Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: matrix to Mata


From   Kit Baum <[email protected]>
To   [email protected]
Subject   st: matrix to Mata
Date   Fri, 29 Sep 2006 16:30:18 -0400

Dan said

Any advice on how to read a matrix from a previously fit model in to mata?

I want to do something with the coefficient vector, like

matrix b = e(b)

Then pass this to mata for further work. I can see how to do this with
variables, but not matrices.


help mata, list of functions, Stata interface functions -> st_matrix will do the job.



Kit Baum, Boston College Economics
http://ideas.repec.org/e/pba1.html
An Introduction to Modern Econometrics Using Stata:
http://www.stata-press.com/books/imeus.html


*
* 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