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   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: esttab does not produce the correct output, but estout does
Date   Wed, 6 Jun 2012 09:43:19 +0100

I don't know the answers to this question, but want to emphasise that
nothing makes .txt or .csv files intrinsically Excel files (presumably
you allude to Microsoft Excel). I guess you may intend to look at them
or modify them in Excel but that's your call. Many applications, not
least Stata itself, allow you to examine those files directly, e.g.
with -type-, -view- or -doedit-.

Nick

On Wed, Jun 6, 2012 at 9:35 AM, Ángel Rodríguez Laso
<[email protected]> wrote:

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

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