Home » Countries » India » Regression analysis based on 'Couples' Recode' (interpretation 'Couples' Recode' datafile )
Re: Regression analysis based on 'Couples' Recode' [message #22587 is a reply to message #22569] |
Wed, 07 April 2021 14:20 |
Bridgette-DHS
Messages: 3199 Registered: February 2013
|
Senior Member |
|
|
Following is a response from DHS Research & Data Analysis Director, Tom Pullum:
To get variables in the IR and MR files that are not already included in the CR file, you can easily merge the CR file with the IR file and then merge the CR file with the MR file. For the CR/IR merge, you sort and match on v001 v002 v003 v024 and keep if _merge==3. For the CR/MR merge, you sort and match on mv001 mv002 mv003 mv024 and keep if _merge==3. In the IR file, only keep the variables needed for the merge and the new variables you want, such as v171b. Similarly, in the MR file, only keep the variables needed for the merge and the new variables you want, such as mv171b. No need to re-copy the variables you already have in the CR file.
|
|
|
Goto Forum:
Current Time: Fri Nov 22 16:58:58 Coordinated Universal Time 2024
|