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: esttab does not produce the correct output, but estout does


From   Ángel Rodríguez Laso <[email protected]>
To   [email protected]
Subject   Re: st: esttab does not produce the correct output, but estout does
Date   Wed, 6 Jun 2012 11:32:27 +0200

Thanks to Nick and Carsten for their answers.

eststo

on its own stores the estimates as est1, so typing

eststo est1

didn't do the trick.

Angel

2012/6/6 carsten sauer <[email protected]>:
> Hi,
>
> you did not store the estimates as est1. Try the following code:
>
>
> xi: svy, subpop (if rclab40<.): intreg lrclab40 urclab40 sexo edad_c
> i.estudios prov2
> eststo est1
>
> 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)
>
>
> Carsten
>
> Am 06.06.2012 10:35, schrieb Ángel Rodríguez Laso:
>
>> 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/
>
>
> --
>
> Carsten Sauer
> SFB 882 "Von Heterogenitäten zu Ungleichheiten"
> Teilprojekt A6 "Die Legitimation von Ungleichheiten - Strukturelle
> Bedingungen von Gerechtigkeitseinstellungen"
> Fakultät für Soziologie
> Universität Bielefeld
> Postfach 10 01 31
> 33501 Bielefeld
> Tel.: 0521 106-70056/-6948 (Sekr. Frau Fischer)
> Fax: 0521 106-6479
>
>
> *
> *   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