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/