Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: matrix to dta


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: matrix to dta
Date   Mon, 3 Dec 2012 21:18:45 +0000

-mat2txt- (SSC) is not what you ask for, but might be useful.

Nick

On Mon, Dec 3, 2012 at 9:14 PM, Pablo Bonilla

> yes you are right, but my data base is super heavy and I have to do
> this a lot of times in a loop. The matrices that I get need to be
> merged with other big data base later.

On Mon, Dec 3, 2012 at 4:07 PM, William Buchanan

>> You could preserve your dataset, clear it from memory and use -svmat-, and then restore the data.  That is one way to do what it sounds like you want to do.

On Dec 3, 2012, at 1:02 PM, Pablo Bonilla

>>> Do you know any command that creates dta from matrix and not changing
>>> my data set? The -svmat- command allows me to create variables from
>>> matrices but I have to modify my current data base. On the other hand,
>>> the -xml_tab- (on ssc) does what I need but it does not export on .dta
>>> format.
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index