Announcement

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

  • Rounding off the coefficients estimates, SE, R-square measures decimals to 3 points

    Dear Stata Members
    I use the following outreg2 (user written command) command

    Code:
    outreg2 using myresults.doc, title(Baseline Full years) ctitle(firm_value) replace addtext(Firm Fixed Effects, YES, Year Fixed Effects, YES, Industry-Year Interaction,YES) addstat(Adj R-squared,  e(r2_a), R-square within, e(r2_within), No:of firms, e(N_clust), F-Stat, e(F))
    How can I tell Stata to consider decimals to 3 points with respect to beta estimates, SE, R square measures and so on.

  • #2
    Dear Stata members
    I think I have some commands that are very close to what I want
    I can use
    Code:
    -dec(3)-
    which applies to all including R-Square but not for Adjusted/Within-R-sq

    Code:
     outreg2 using myresults.doc, title(Baseline Full years) ctitle(delcash) dec(3)  replace addtext(Firm Fixed Effects, YES, Year Fixed Effects, YES, Industry-Year Interaction,YES) addstat(Adj R-squared,  e(r2_a), R-square within, e(r2_within), No:of firms, e(N_clust), F-Stat, e(F))


    References
    https://journals.sagepub.com/doi/pdf...867X1201200102
    https://www.statalist.org/forums/for...g2#post1433120

    Comment

    Working...
    X