Statalist


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

st: How to convert scalars, vectors, matrices created in Mata to Stata scalars or variables?


From   "mujde erten" <[email protected]>
To   [email protected]
Subject   st: How to convert scalars, vectors, matrices created in Mata to Stata scalars or variables?
Date   Thu, 20 Nov 2008 14:51:53 -0500

Hi all,

I have been looking for a way to convert Mata scalars, vectors and
matrices into Stata scalars or variables. I found

st_store(., st_addvar("float","max"),b)

command, however for the case of converting scalars it gives
"conformability error" when I have other variables in the Stata
memory.

My question is if there is a simple way to do that. Thanks in advance.

MZE
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index