I would greatly appreciate if you could let me know how to do PSM with panel data. In fact, I should do difference in difference (DID) followed by PSM.
If I reshape my data into wide format, I would encounter the issues discussed here. Therefore, I decided to implement a year-by-year PSM as suggested here.
However, since the exact structure of dataset is not provided, I couldn’t understand how the related codes work. For example, what is “matched” ?
Please find some part of my dataset here.
Thanks in advance.
Best regards,
- PSM (probit one-for-one match without replacement):
Code:
. probit switch big4 lnasset leverage loss
- DID:
Code:
. reg decost switch post_switch switch*post_switch lnaudten big4 altmanz lnasset lnage markettobook leverage profit tangible cashvol
If I reshape my data into wide format, I would encounter the issues discussed here. Therefore, I decided to implement a year-by-year PSM as suggested here.
However, since the exact structure of dataset is not provided, I couldn’t understand how the related codes work. For example, what is “matched” ?
Please find some part of my dataset here.
Thanks in advance.
Best regards,
Comment