Hi. I am studying the impact of law on employment rates. In order to remove the selection bias, I am trying to implement DID after setting a comparison group in the PSM.
I assume that the law was enforced in 2010.
Please check if the following procedure is correct.
Stage 1. The 2009 dependent variable (employment status) is merged horizontally into the 2010 data using the 'merge' command (via the id variable).
Step 2. Get a matched sample using the 'psmatch2' command.
Step 3. I create an interaction variable and perform DID or DDD.
To be honest, I'm not sure how to merge two years(2009 and 2010) data for DID.
Can you provide me with a STATA DO file that combines PSM and DID? (Although I know the 'diff' command for kernel PSM, I want to use various types of matched DIDs).
Related Posts with Questions about how to combine PSM and DID
Out of sample prediction for a logit model with dummy for time effectI have a panel data which I would like to fit a logit/xtlogit for it. I added i.year as time dummies…
Count variables without missings in rowHi, I have a panel data set and would like to count the number of "id"s that do not have any missin…
How to change year in wrong date due to data errorHello Is there anybody that can help me with a replace syntx for changing wrong years in a date var…
Recoding variables with a loop - 2020 challengeHi, My panel data set has three different variables and I must do a similar treatment on them, they…
Graph of event study with interaction termDear Clyde and All, I would like to graph an event study with an interaction term. I am performing …
Subscribe to:
Post Comments (Atom)
0 Response to Questions about how to combine PSM and DID
Post a Comment