Hi all,
I have a panel data (firm and year). I create Post indicator for states that adopt certain laws. Specifically, I create Post, which is a dummy that takes a value of one in all observations in which the law is in effect, and zero otherwise. This is a staggered adoption (states adopt the laws in different year).
What is the best way to create this difference in difference regression?
DepVar= Post + controls
or
DepVar = Post + Treatment*Post + Treatment + control variables, Treatment indicates states adopting the laws.
Related Posts with Difference -in-difference research design
Using "lincom" after "margins"Hello. I have a question with respect to using the lincom command after the margins command. Specif…
How to create a percentage variableHello, I have a categorical variable for ethnicity. When I tabulate it I can see that there are pe…
Deflate wages with deflator from different fileHello, I need to deflate my wages with a consumer price index which I have in a different file. How…
Panel Data - treatment*for group data based on within group characteristicsHello, I am interested in assigning a treatment to a firm if it was domestic (foreign=0) in year 20…
-domin- (SSC): computing time /max. number of independent variablesHi everybody, I am using Stata 16.0 and I am trying to perform dominance analysis using the -domin-…
Subscribe to:
Post Comments (Atom)
0 Response to Difference -in-difference research design
Post a Comment