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!
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!