Re: Breastfeeding status [message #30630 is a reply to message #30626] |
Sat, 11 January 2025 16:31 |
Varsha
Messages: 51 Registered: November 2020
|
Senior Member |
|
|
Hello,
I'm trying to create a variable indicating whether a child was ever breastfed as follows:
gen bf_ever= (m4!=94 & m4!=99)
replace bf_ever = . if m4==.
replace bf_ever = . if midx>1
As the information on the duration of breastfeeding in the NFHS was collected for the last birth, why do we have some responses for midx>1 categorized as never breastfed in the KR file? Shouldn't it be missing as the question does not pertain to them (that is why I'm replacing the above created variable with a missing when midx>1)?
Please help me with this and my previously posted doubts.
[Updated on: Sat, 11 January 2025 16:32] Report message to a moderator
|
|
|