Re: Measuring postnatal care for baby (M70) [message #15058 is a reply to message #15047] |
Tue, 29 May 2018 09:28 |
Bridgette-DHS
Messages: 3215 Registered: February 2013
|
Senior Member |
|
|
Following is a response from Senior DHS Stata Specialist, Tom Pullum:
Usually, v008-b3 will be the same as hw1, and you can use hw1. However, I see that in this file there are 15 cases in which v008-b3=hw1+1. Why, I don't know (I will look into that), so go ahead and use v008-b3.
Your method for selecting the youngest child living with the mother is not quite correct. After "keep if age<25 & b9==0" you could enter these lines, which will sort each woman's children who are living with her by age, and then select the youngest one:
sort age
egen sequence=seq(),by(caseid)
tab sequence
drop if sequence==1
drop sequence
I don't understand what you are trying to do with your recode of m71. Why are you recoding it into 1000 and 1001?
|
|
|