Couples and HIV merge in STATA [message #3271] |
Sat, 15 November 2014 19:47 |
DaniD
Messages: 13 Registered: November 2014
|
Member |
|
|
Hi, does anyone happen to have the code or can help with merging the couples dataset with the HIV dataset in STATA? Thank you! ---Dani
|
|
|
|
|
|
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!
|
|
|