Announcement

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

  • Graph two slopes from grouped xtregression

    Hello,

    I would like to graph the two coefficient slopes I obtained from my xtreg command. This is my code:
    Code:
    foreach status_codes of numlist 0/1{
        disp `status_codes'
        xtreg _roe _sp500 if status_codes == `status_codes', fe vce(robust)  
    }
    Now I get a coefficient for each status_codes group (profit and nonprofit). I would like to show both slopes in a graph.

    Help is much appreaciated.

    Kind regards,
    Rafael
Working...
X