Bookmark and Share

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: Re: Equivalent to matcell in table


From   Tobias Friedli <[email protected]>
To   [email protected]
Subject   Re: st: Re: Equivalent to matcell in table
Date   Wed, 14 Jul 2010 13:03:45 +0200

I already have a excel file with all the Solver stuff set up to do some optimization on a log likelihood function derived from the matrix. I would like to do it in Stata, but i am just do not have the skills  to programm it in stata, this is why i use excel for the optimization.

If i use the -outfile-  i get a .txt with some tousend rows and 3 colums. But what i want is to have the matrix (as displayed for -table- , i.e 700 rows and 700 colums). how can i do that?


On 14.07.2010, at 12:52, Maarten buis wrote:

> --- On 13.07.2010, at 00:04, Martin Weiss wrote:
>>> -table- has a -replace- option that gives you access
>>> to almost unlimited space to save the result. Combine
>>> it with -preserve-/-restore-: 
> 
> --- On Wed, 14/7/10, Hobst wrote:
>> how can i access the created table with for example 
>> xml_tab? My goal is to save the crated matrix (which
>> is about 700x700) to a .txt or .xml file, so i can
>> use it in Excel later..
> 
> -table- with the -replace- option stores your results in
> the current Stata data set, so you can just use -outfile-
> to export that as a txt file. Now the real question is 
> what do you want to use Excel for: this is almost 
> certainly a mistake, if only because that will prevent 
> you from getting reproducable results.
> 
> Hope this helps,
> Maarten
> 
> --------------------------
> Maarten L. Buis
> Institut fuer Soziologie
> Universitaet Tuebingen
> Wilhelmstrasse 36
> 72074 Tuebingen
> Germany
> 
> http://www.maartenbuis.nl
> --------------------------
> 
> 
> 
> 
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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