Announcement

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

  • #16
    You can create some constant variable and name it "lag0". Naturally, as it is collinear with the fixed effects, it will be omitted. However, as far as the graph is concerned, it will get you exactly what you want. I illustrate this here.

    Code:
    webuse grunfeld, clear
    gen lag0=0
    reghdfe invest L(1/10).mvalue lag0 F(0/1).mvalue, absorb(company year)
    local xlab xlab(1 "Jan" 2 "Feb" 3 "Mar" 4 "Apr" 5 "May" 6 "June" 7 "July" 8 "Aug" 9 "Sep" 10 "Oct" 11 "Nov" 12 "Dec" 13 "Jan")
    coefplot, keep(L*.mvalue lag0 mvalue F*.mvalue) omitted baselevels vert `xlab'
    Click image for larger version

Name:	Graph.png
Views:	1
Size:	16.7 KB
ID:	1785143


    Last edited by Andrew Musau; 02 Mar 2026, 14:54.

    Comment


    • #17
      Andrew Musau This was helpful! Thanks a lot!

      Comment

      Working...
      X