Re: Couples and HIV merge in STATA [message #9536 is a reply to message #3271] |
Mon, 11 April 2016 01:01 |
lberes
Messages: 4 Registered: April 2016
|
Member |
|
|
Thank you for this helpful code. I am wondering why drop if _merge==2 allows us to 'keep only women'. I thought that any combination of v001, v002 and v003 that came from either the couples or the HIV data could only be a woman. How does dropping that combination if it only came from the HIV dataset - and was not in the couples data set - exclude men? In other words, what does drop if _merge==2 do for us in this code? Thank you!
|
|
|