I am trying to match two groups of treatments using  Kernal and the nearest neighbor propensity score method  . I used the following command in STATA.

psmatch2 RX_cat AGE ERStatus_cat, kernel k(biweight)

psmatch2 RX_cat AGE ERStatus_cat, nn(5)

Where RX_cat stand for treatments, and ERStatus stand for estrogen receptors. 

This command gave me the propensity score for each treatment . However, I could not separate the new matched group  in a separate variable so I can analyse them separately,i.e. identifying the matched pairs with specific ID.Therefore my question is what the command the I can use to create another column or variable for the matched pairs after assigning a propensity score for them

Similar questions and discussions