Statalist The Stata Listserver


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

st: Mata - what comes after -st_addvar-?


From   dferry <[email protected]>
To   [email protected]
Subject   st: Mata - what comes after -st_addvar-?
Date   Thu, 31 Aug 2006 16:02:02 -0400

Dear Statalisters,
Suppose I have a columnvector in Mata. I know I can use -st_addvar- to add a variable to the Stata dataset. But how do I fill in the values of that variable with the values of the Mata columnvector? (By now, I have pored through the manual, and I cannot find a reference to this!)
Thanks,
Danielle


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