Announcement

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

  • Visualizing parallel trends

    Hi,
    I am trying to visualize parallel trends in my dif in dif regressions:

    regress ERRatio i.Year i.Year#i.Dnew i.Dnew if Year<2020

    as the ERRatio is the output, and Dnew is the treatment also the cutoff year is 2020 as it's evident in my command. can anyone provide me with commands to visualize parallel trends for the treated and controlled group?

    thanks

  • #2
    See

    Code:
    help estat trendplots
    and

    Code:
    help estat ptrends
    after didregress in Stata17+.
    Last edited by Andrew Musau; 29 Apr 2023, 05:58.

    Comment

    Working...
    X