Hello everyone,
I need to conduct a DiD test for my research. I am using panel data with 150,000 monthly observations over 4 years. I have assigned a dummy treated = 1 for the treated group and zero otherwise. There are around 1,000 companies in the treatment sample, and around 2,000 in the control sample. I have also created a dummy during for the period after the change for the treated group took place.
I have several dependent variables that I will be testing. Some are dummy variables, and the rest are other variables dependent on the dummies, and therefore not represented in the whole dataset. I also have around 10 control variables for each company that I will be using in the regression.
For the Difference-in-Differerences analysis I will be using the following equation:
Dependent Var = L0 + L1TreatedDuring + L2Treated + L3During + Controls + E
I think I should include firm (and perhaps month/year) fixed effects in the regression. Also, what about the standard errors? Should I cluster them by firmID (and perhaps by year)? Is xtreg the right command in this case? Furthermore, is there a right / wrong way on how to present the results? I've seen many papers on DiD and they all seem to have different opinions on that.
Also, how useful is the Chow test on the TreatedDuring coefficient in this type of setting?
Lastly, any advice on how to winsorize some of my control variables?
I would really appreciate any help!
Cheers!
I need to conduct a DiD test for my research. I am using panel data with 150,000 monthly observations over 4 years. I have assigned a dummy treated = 1 for the treated group and zero otherwise. There are around 1,000 companies in the treatment sample, and around 2,000 in the control sample. I have also created a dummy during for the period after the change for the treated group took place.
I have several dependent variables that I will be testing. Some are dummy variables, and the rest are other variables dependent on the dummies, and therefore not represented in the whole dataset. I also have around 10 control variables for each company that I will be using in the regression.
For the Difference-in-Differerences analysis I will be using the following equation:
Dependent Var = L0 + L1TreatedDuring + L2Treated + L3During + Controls + E
I think I should include firm (and perhaps month/year) fixed effects in the regression. Also, what about the standard errors? Should I cluster them by firmID (and perhaps by year)? Is xtreg the right command in this case? Furthermore, is there a right / wrong way on how to present the results? I've seen many papers on DiD and they all seem to have different opinions on that.
Also, how useful is the Chow test on the TreatedDuring coefficient in this type of setting?
Lastly, any advice on how to winsorize some of my control variables?
I would really appreciate any help!
Cheers!
Comment