Statalist


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

st: Re: moving from Stata to Mata


From   "Daniel Waxman" <[email protected]>
To   [email protected]
Subject   st: Re: moving from Stata to Mata
Date   Tue, 16 Oct 2007 23:50:00 -0400

That Stata matrices also occupy a different memory space is (i.e. persist after memory is cleared) is another endearing feature... Useful for collecting results from different data sets into one place (among other things, I'm sure)

Daniel

-----Original Message-----

From:  "Nick Cox" <[email protected]>
Subj:  st: RE: Re: moving from Stata to Mata
Date:  Tue Oct 16, 2007 5:52 pm
Size:  626 bytes
To:  <[email protected]>

Yes indeed, but the difference between a Stata variable
and a Stata vector is larger in practice than in principle. 

There are ways of getting matrices into variables 
and vice versa (including, but not only, -svmat- and -mkmat-) 
but a crucial difference is that Stata variables and Stata 
matrices (vectors being a special case) are in different 
namespaces. 

Nick 
[email protected] 

Daniel

> Is a stata variable not a lot like a vector?
> 

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


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