Re: Double burden of malnutrition [message #18175 is a reply to message #18159] |
Fri, 04 October 2019 11:56 |
Liz-DHS
Messages: 1516 Registered: February 2013
|
Senior Member |
|
|
Dear User, a response from Dr. Tom Pullum:
"Except for a very small number of women who were in the household survey and were eligible for the survey of women (hv117=1) but were not interviewed, all pairs of mothers and children in the same household can be identified in the IR and KR files. There are many ways to construct the file you want, for example by merging the IR and KR files. However, the easiest way is as follows, using ONLY the IR file and "reshape long":
use v0* v1* v4* hw70* hw71* hw72* using "... PKIR71FL.DTA" , clear
reshape long hw70_ hw71_ hw72_, i(v001 v002 v003) j(hidx)
rename hw7*_ hw7*
drop if hw70==.
You have to modify the path to the data file. You can add more variables for the mother or for the child.
The reshaped file gives you one record per child (age 0-4), with the mother's data (including her anthropometry variables, such as v437 and v444) attached to the child's data. You can then construct the stunting (etc.) variables for the mother and the child and then construct a variable to describe the joint status of the mother and the child."
To get help with STATA click here:
[Updated on: Mon, 07 October 2019 10:04] Report message to a moderator
|
|
|