Hi,
I working with a panel data, 6 years of data. I am trying to use propensity score matching to match individuals who have had the treatment to those in the control. When I use the following command:
"global treatment "t"
global ylist "hn"
global xlist "age female married urban educ_primary educ_lsecondary educ_usecondary "
xtset nmergeid t
** Common Support
xtreg $ylist $tretment $xlist if country==11
psmatch2 $treatment $xlist if country==11, out(hn) common
//psgraph
pstest $xlist"
I am able to get propensity scores, however, I am getting multiple scores for one given individual, which does not seem correct. Data is in long-form so for id1 there are 3 different _pscores (Individual 1 only took part in the survey for 3 years). Shouldn't id1 have one pscore? Can someone help? Thank you!
Related Posts with Propensity Score Matching in a Panel setting
xline and text on top of twoway area plotI use Code: twoway (area y1 y2 year) to create a plot and want to include a dashed vertical line on…
How to generate i*j by forvalues?If year=1,2,3,4; and prov=1,2,3,4,5,6,7. So how to calculate i*j, thanks a lot! I run this,but it is…
collapse variable in more than 1 way in one collapse commandIs it possible to collapse the same variable in more than 1 way in 1 collapse command (e.g., to get …
Place date year on a second line on x-axisMy x-axis data is currently in date (week) format, so my current code as part of a twoway graph is a…
collapse variable in more than 1 way in one collapse commandIs it possible to collapse the same variable in more than 1 way in 1 collapse command (e.g., to get …
Subscribe to:
Post Comments (Atom)
0 Response to Propensity Score Matching in a Panel setting
Post a Comment