Re: Ghana DHS 2022 [message #30521 is a reply to message #30501] |
Fri, 13 December 2024 13:19 |
Janet-DHS
Messages: 911 Registered: April 2022
|
Senior Member |
|
|
Following is a response from DHS staff member, Tom Pullum:
The line "gen b5=0 if...." Specifies the cases for which the indicator is to be calculated. "b5==1" requires that the children are alive at the time of the survey. (Children who have died are included in the KR file but the indicator does not include them.) Then the further condition "b19>11 & b19<24" requires that the age of the child is 12 to 23 months. That requirement is specified in the title of the table.
I do not use SPSS and cannot translate into it. The first few lines in Stata just construct a set of variables such as h2r, which is a revised version of h2 that is coded h2r=1 if h2 is in the range 2 to 3; similarly for the other "h" variables. Your program did much the same thing, but with more descriptive variable names and it did not include BCG and Measles. You can figure out the rest.
|
|
|