Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: matrix to dta
From
Nick Cox <[email protected]>
To
[email protected]
Subject
Re: st: matrix to dta
Date
Mon, 3 Dec 2012 22:13:25 +0000
Changing it to what you want looks like a problem solved by few lines
of code. Unfortunately the problem doesn't interest me right now, but
you could try it, or wait hopefully for someone to bite.
Nick
On Mon, Dec 3, 2012 at 10:05 PM, Pablo Bonilla
<[email protected]> wrote:
> Thank you Nick, but unfortunately it is not what I am looking for.
>
> Thank you anyways.
>
> On Mon, Dec 3, 2012 at 4:18 PM, Nick Cox <[email protected]> wrote:
>> -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/