Announcement

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

  • Stata regression table

    Dear all,
    I have one inquiry with respect to the regression output from Stata. That is, I would like to report coefficients, standard errros and adjusted R-Square of regressions. Also, for the starlevel, I would like to adjust as *0.1 **0.05 and ***0.01 rather than the default P-value as *0.05, **0.01 and ***0.001. My code is:

    quietly reg Y X1 X2.....
    estimates store regression1
    esttab regression1, se star ar2 b(%7.3f) starlevels (*0.10 **0.05 ***0.01) parentheses

    However, stata reports as "unmatched list of significance symbols and levels".

    Is there anything wrong with my code?

    Many thanks in advance.

    Best wishes,
    Cong

  • #2
    According to the help files of the user-written program esttab, we have

    Significance stars +------------------------------------------------

    [no]star[(symbol level [...])] causes stars denoting the significance of
    the coefficients to be printed next to the point estimates. This is
    the default. Type nostar to suppress the stars. The default symbols
    and thresholds are: * for p<.05, ** for p<.01, and *** for p<.001.
    Alternatively, for example, type star(+ 0.10 * 0.05) to set the
    following thresholds: + for p<.10 and * for p<.05.
    Note that the
    thresholds must lie in the (0,1] interval and must be specified in
    descending order.
    Hopefully that helps.
    Best regards,

    Marcos

    Comment


    • #3
      You have to watch out for the space between *** and 0.01, that's where the error comes from.

      Comment

      Working...
      X