Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

Re: st: matrix to dta

From   Nick Cox <>
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.


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:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index