Re: Merging mother's data with children's data in SAS [message #11620 is a reply to message #11596] |
Tue, 17 January 2017 16:08 |
Bridgette-DHS
Messages: 3214 Registered: February 2013
|
Senior Member |
|
|
Following is a response from Senior DHS Stata Specialist, Tom Pullum:
Yes, caseid is always the id for the woman. It is a character string that includes v001 v002 v003. It is the same in the IR, KR, and BR files.
The child's record in the KR file (or the BR file) includes almost all the information about the mother that is in the IR file. There is no need to merge the KR and IR files.
A child in the KR file is uniquely identified by v001 v002 v003 bidx, where v001 v002 v003 identify the woman in the IR file and bidx identifies the child's order in the birth history (bidx=1 for the most recent birth).
Please ask again if this does not answer your question.
|
|
|