Announcement

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

  • Test Parallel Trends Assumption Using Leads and Lags

    Dear Statalists,
    I run a Difference in differences regression to explore treatment effect happened in 2016.
    I generate leads and lags to test the parallel trends assumption.
    This is a graph of the treatment coefficents by year:
    Click image for larger version

Name:	Graph.png
Views:	1
Size:	34.1 KB
ID:	1675703



    Does the parallel trends assumption hold in this case?
    If not, how can I interpret this graph?

    Many Thanks!
    Last edited by Asaf Yancu; 29 Jul 2022, 10:00.

  • #2
    Could you show us the regression equation that generated this graph? Do you have panel data? In this case, you would regress the outcome on unit and time fixed effects, and an interaction between the treated dummy and the post indicator, rescaled to be the number of periods relative to treatment. Is that the coefficient you're showing?

    On a side note, you should take a look at the community contributed command
    Code:
    xtevent
    if you have panel data.

    Comment

    Working...
    X