Announcement

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

  • Adding two tables together vertically

    Hi! I am doing two regressions - they're both looking at the same things but one is at a country level and one is looking at a specific state. I am using the commands eststo and esttab to store the estimates and generate tables which I can then use to put into my paper. I am wondering if there's a way to combine the two tables together on stata, with a row specifying if the regression estimates below are for country or state level? or will I have to do this manually?

  • #2
    you can use estadd to add information about level,
    Code:
    sysuse auto, clear
    eststo: reg price weight mpg
    estadd local l "country"
    eststo: reg price weight mpg
    estadd local l "state"
    esttab, s(l, label("level"))

    Comment

    Working...
    X