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
Looping replace functionHello all, I am new to STATA and trying to loop replace function. Is there a way to improve my code?…
Sorting CIs in a ciplot commandHi, I want to plot the CIs for a proportion by country. It would be useful if I could display the C…
Retrieve the "at legend" on top of margins tableHi, I'm using margins to calculate about 3600 predicted values in a loop, using the option at() wit…
Append one variable after another in the same datasetHello, This is part of my dataset. What I want to do is to append contri_dia2 contri_dia3 contri_d…
Loop for generating new variablesHi all, I am a new user to STATA--can you help me loop the generate new variable command? Is there a…
Subscribe to:
Post Comments (Atom)
0 Response to Questions about how to combine PSM and DID
Post a Comment