The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Reproductive Health » Vitamin A dose received by children (Vitamin A dose received by children aged 9 - 59 months in last 6 months)
Vitamin A dose received by children [message #18923] Thu, 19 March 2020 12:59 Go to next message
mona
Messages: 5
Registered: January 2020
Member
Hello,

I am trying to calculate % Children age 9-59 months who received a vitamin A dose in last 6 months (%) using NFHS- 4 KR data as given in the factsheet.

On using the code given below, I get 60.07% however in the factsheet it is 60.2% (Link to factseet: http://rchiips.org/NFHS/pdf/NFHS4/India.pdf ; Indicator No. 56). Can someone please review the code and suggest where I am going wrong. I checked the Guide to DHS document as well. It suggested to use cdc date, but in NFHS-4 there is no variable v008a.

Thank you so much in advance!

gen age = v008 - b3

gen month = h33m if h33m < 13
gen year = h33y if h33y <= 2016
gen vitAdosedatecmc = ((year-1900)*12) + month
gen durvitA = v008 - vitAdosedatecmc

gen vitA = 0 if inrange(age,9,59) & b5== 1
replace vitA = 1 if inrange(age,9,59) & b5== 1 & h34 == 1
replace vitA = 1 if inrange(age,9,59) & b5== 1 & durvitA < 7

tab vitA [iw= v005/1000000]

[Updated on: Fri, 20 March 2020 06:30]

Report message to a moderator

Re: Vitamin A dose received by children [message #19048 is a reply to message #18923] Wed, 08 April 2020 11:04 Go to previous message
mona
Messages: 5
Registered: January 2020
Member
Hello,

I would appreciate if someone can take a look at the query posted above and guide with the missing step.

Thank you
Previous Topic: Condom education to 12-14 years old children
Next Topic: What are these missing values of skilled ANC providers indicating?
Goto Forum:
  


Current Time: Thu Dec 26 18:25:21 Coordinated Universal Time 2024