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 at the end of May, and its replacement, statalist.org is already up and running.


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

st: esttab does not produce the correct output, but estout does


From   Ángel Rodríguez Laso <angelrlaso@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: esttab does not produce the correct output, but estout does
Date   Wed, 6 Jun 2012 10:35:46 +0200

Dear Statalisters,

Working with Stata 9.2 and estout version	3.13	06aug2009	Ben	Jann


I do not get the correct output from esttab after svy:intreg. This is
what I typed:

xi: svy, subpop (if rclab40<.): intreg lrclab40 urclab40 sexo edad_c
i.estudios prov2
eststo
esttab est1 using table3.csv, rep scsv plain wide eform cells (
(b(fmt(2)) ci(fmt(2) par(( - ))  ) p(fmt(3)) ) )  /// scalars(p)
sfmt(3)

The Excel output I get does not correspond to the svy:intreg one, but
to an old logistic regression.

When I type:

estout est1 using example.txt, cells ( (b(fmt(2)) ci(fmt(2) par(( - ))
 ) p(fmt(3)) ) )  stats(p N)

I get the expected last model (svy:intreg). Nevertheless, it is
cumbersome to open example.txt from Excel each time.

Any clues on how to get the proper results from esttab?

Thank you very much.

Angel Rodriguez-Laso
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index