Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • -esttab- and -varlabel- on the dependent variable?

    Hi Statalist,

    -esttab- gives me an output table that looks something like the example below. I'm trying to relabel the top left table entry "yvar1", which is the dependent variable. I've tried using varlabel(), and while it works for the explanatory variables, it is not relabelling "yvar1" in the table.
    1. Can anyone help me to relabel the dependent variable?
    2. Which is the option that causes the dependent variable to show up on the top left of the table, below the header (as in my example table)?
    Thank you!

    Code:
    esttab ... varlabel (yvar1 "Dependent Variable")


    Code:
    --------------------------------------------------
                                  (1)            (2)  
                           full model       restrict  
                                 b/se           b/se  
    --------------------------------------------------
    yvar1
    Gross National PPC          0.001*         0.001* 
                               (0.00)         (0.00)  
    Safety dummy=1              4.878**        4.878**
                               (1.58)         (1.58)  
    Safety dummy=1 # G~a       -0.001*        -0.001* 
                               (0.00)         (0.00)  
    _cons                      65.808**       65.808**
                               (1.21)         (1.21)  
    --------------------------------------------------
    N                              37             37  
    --------------------------------------------------
    * p<0.05, ** p<0.01
Working...
X