Announcement

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

  • Extract values from esttab

    Dear Stata Users,

    I have run 6 different regressions and displayed the results on esttab, and I would like to know how can I extract a beta value based on position [row, column] . I am currently using Stata 17.

    Code:
    esttab without_V1 with_V1 without_F1 with_F1 without_R1 with_R1, keep(b1:_cons b2:_cons b3:_cons) ///
           se(3) b(3) star(* 0.1 ** 0.05 *** 0.01) stats(r2_a)
    Click image for larger version

Name:	stata_esttab.jpg
Views:	1
Size:	58.7 KB
ID:	1733129



    But when I try to extract the b values, I end up with a syntax error

    Code:
    scalar beta_V_without = r(coefs)[1,1]
    scalar beta_V_with = r(coefs)[1,2]
    Any help, I will appreciate.

    Thank you all,

    Max

  • #2
    I got it!!! Something happened with estout. I Re-install it and all good now. I was able to extract the values from the table.

    Comment

    Working...
    X