Statalist


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

Re: st: odd behavior with esttab


From   Ben Jann <ben.jann@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: odd behavior with esttab
Date   Tue, 14 Apr 2009 10:46:44 +0200

Pierre, the label should disappear once you add -eqlabels(none)- to
your command. -xtpoisson- uses the name of the dependent variable to
name the main equation. The default in -esttab- is to print equation
names. Furthermore, an equation name is substituted by a variable
label if -label- is specified and the equation name corresponds to a
variable in the dataset. See -help estout, mark(eqlabels)-
ben

On Sun, Apr 12, 2009 at 5:36 PM, Pierre Azoulay
<pierre.azoulay@gmail.com> wrote:
> Dear Sata listers:
>
> I have been experimenting with esttab with some success. It does
> everything I need, with one exception. I was wondering if any of you
> had come across this problem:
> Somehow, the dependent variable label always appears at the top of the
> variables list (see : "weighted number of pubs" below). I am not
> really sure why.
> The command being used to produce the estimates is not part of
> official stata -- it's a modification of xtpoisson, fe. Yet, I am not
> quite sure why this should happen.
>
> If you know how to get rid of this, drop me a line.
>
> Regards,
>
> Pierre
>
> esttab *, keep(treat_it treat_young_it treat_recent_it) varwidth(25)
> noobs nogaps nodep label b(%5.3f) se(%5.2f) star(† 0.10 * 0.05 **
> 0.01) compress
> scalars("prop % of Collabs. Affected" "ll Log Likl." "N Nb. of Obs."
> "N_g Nb. of Collabs." "N_clust Nb. of Superstars") sfmt(%10.2f
> %10.0fc) mtitles("Collaboration Age" " " "Recent Coauthorship" " ");
>
>
> -------------------------------------------------------------------------
>                                (1)         (2)         (3)         (4)
>                          Collabo~e               Recent ~p
> -------------------------------------------------------------------------
> weighted number of pubs
> After Death                  -0.065*     -0.071**    -0.076**    -0.087**
>                             (0.03)      (0.02)      (0.02)      (0.02)
> After Death × Firs.. in~e    -0.106**    -0.061
>                             (0.04)      (0.04)
> After Death × At least ~o                            -0.073*     -0.022
>                                                     (0.04)      (0.04)
> -------------------------------------------------------------------------
> % of Collabs. Affected        29.98       29.92       29.17       29.17
> Log Likl.                  -968,854   -1,824,284    -967,839   -1,822,664
> Nb. of Obs.                 153,508     294,943     153,508     294,943
> Nb. of Collabs.               5,267      10,128       5,267      10,128
> Nb. of Superstars               112       3,384         112       3,384
> -------------------------------------------------------------------------
> Standard errors in parentheses
> † p<0.10, * p<0.05, ** p<0.01
>

*
*   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   |   What's new   |   Site index