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

st: mata vector to stata variable


From   Oleksandr Shepotylo <[email protected]>
To   [email protected]
Subject   st: mata vector to stata variable
Date   Fri, 16 Dec 2005 16:31:55 -0500

Hi,

I need to take all N values of existing vector A(Nx1) out of mata and generate a new stata variable B with values taken from A.

I figured out that the relevant mata command is st_store(), but I can't understand how to use it.

Should it be

mata st_store (.,"A","B")

???

Thank you,

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