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, is already up and running.

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

Re: st: Re: Equivalent to matcell in table

From   Maarten buis <>
Subject   Re: st: Re: Equivalent to matcell in table
Date   Wed, 14 Jul 2010 11:27:25 +0000 (GMT)

--- On Wed, 14/7/10, Tobias Friedli wrote:
> 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.

That worries me. Regardless of its strenghts and weaknesses,
Excel just is not made to do this kind of stuff. You really 
really really want to use purpose written software, like Stata, 
to this kind of maximization of the likelihood, it is just
too easy to get it wrong.

If you want to implement your model in Stata (and I repeat,
I strongly recommend that you do), than you will want to 
have this book on your desk:

In addition, if you can wait a while, during the next Italian
Stata Users' meeting there will be a course on programming
in Stata: <>

> 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?

You will need to use -reshape- to get your data in the right

Hope this helps,

Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen


*   For searches and help try:

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