Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Maarten Buis <maartenlbuis@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: Question on esttab |
Date | Thu, 23 Feb 2012 12:21:06 +0100 |
On Thu, Feb 23, 2012 at 12:04 PM, Alberto R Osella wrote: > Dear All, > I'm using -esttab- from ssc to built a table after performing a sequential > logit (-seqlogit- from ssc) but Stata 12.1 on W7 gives me > an error when I use the eq_merge option: <snip> > Is it possible that esttab doesn't work with seqlogit? Works for me: *------- begin example ------------- sysuse nlsw88, clear gen ed = cond(grade< 12, 1, /// cond(grade==12, 2, /// cond(grade<16,3,4))) if grade < . gen byr = (1988-age-1950)/10 gen white = race == 1 if race < . seqlogit ed byr south, /// ofinterest(white) over(byr) /// tree(1 : 2 3 4, 2 : 3 4, 3 : 4) /// or outreg, eq_merge *------- end example ------------- I haven't used -outreg- a lot, but I noticed that with keep you just specified the variables. Often this means in Stata "the variables in the first equation", and than you would have dropped all the other equations. This would be consistent with the error message you report. 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/