Problem: The recorded date of actual merger is not the same as firm year.
As such, if I use the following code:
Code:
gen Post1=Firm_Year[_n+1] if !missing(Merger)
For example: If I use the above code, then Firm 111 will write "Merger+1yr in Firm_Year 2001 (right beside Merger==1, 3F) instead of in the row for 2002 (4F).
Can someone please help me out with this?
0 Response to How to*create a POST variable to be used for Difference-in-Differences for panel data
Post a Comment