Dear Statalist users,
Hi.
I am PhD student and trying to estimate the policy impact by using the DID model.
1. Here is my situation
- Treatment is happend one time.
1) So I think my model should use DID model, that is, using interaction term between treatment variable and time variable.
2) But to test parellel assumption, I employed the generalized TWFE DID model--xtdidregress--which stata 17.0 provided.
Howerver, I found that the two model provided different results.
1) xtreg y i.treatment##i.time , fe robust cluster(id)
here, treatment is assigned 1 for the area of treated, before and after the treatment, 0 for the other area untreated.
2) xtdidregress
xtdidregress (y)(Tr), group(id) time(time)
here, Tr is assigned 1 for the area of treated, after the treatment , 0 for otherwise
2. Here is my question.
1) in this situation, must I use 1-1) simple tratditional DID model? (when treatment is happend one time, not the staggered situation)
2) why those two results of 1-1) and 1-2) provide different estimates?
3) if I picked 1-2) generalized TWFE DID, is there any problem or consideration I should take care of ?
Thank you a lot in advance.
Your answer would be very helpful for me.
Best regards,
Hi.
I am PhD student and trying to estimate the policy impact by using the DID model.
1. Here is my situation
- Treatment is happend one time.
1) So I think my model should use DID model, that is, using interaction term between treatment variable and time variable.
2) But to test parellel assumption, I employed the generalized TWFE DID model--xtdidregress--which stata 17.0 provided.
Howerver, I found that the two model provided different results.
1) xtreg y i.treatment##i.time , fe robust cluster(id)
here, treatment is assigned 1 for the area of treated, before and after the treatment, 0 for the other area untreated.
2) xtdidregress
xtdidregress (y)(Tr), group(id) time(time)
here, Tr is assigned 1 for the area of treated, after the treatment , 0 for otherwise
2. Here is my question.
1) in this situation, must I use 1-1) simple tratditional DID model? (when treatment is happend one time, not the staggered situation)
2) why those two results of 1-1) and 1-2) provide different estimates?
3) if I picked 1-2) generalized TWFE DID, is there any problem or consideration I should take care of ?
Thank you a lot in advance.
Your answer would be very helpful for me.
Best regards,
Comment