The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » Measles vaccination NFHS 5 India (data not matching with report of NFHS 5 India )
Measles vaccination NFHS 5 India [message #28752] Mon, 04 March 2024 07:31 Go to next message
ashishdwivedi721 is currently offline  ashishdwivedi721
Messages: 1
Registered: December 2023
Location: Mumbai

Git hub code of DHS for Children age 12-23 months who have received the first dose of measles-containing
vaccine (MCV) (%)
gen agegroup=0
replace agegroup=1 if age>=12 & age<=23
keep if agegroup==1
keep if b5==1

*** Measles ***
//measles either source
recode h9 (1 2 3=1) (else=0), gen(ch_meas_either)

but output is not matching with India NFHS 5 report , there is difference of about 17 %
Re: Measles vaccination NFHS 5 India [message #28781 is a reply to message #28752] Thu, 07 March 2024 10:57 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3114
Registered: February 2013
Senior Member
Following is a response from Senior DHS Specialist, Tom Pullum:

You have to include h9=4. Here is Stata code to produce C (reported by card), M (reported by mother), and CM (reported by either);

gen C=0
replace C=1 if h1==1 & (h9==1 | h9==2 | h9==3 | h9==4) 

gen M=0
replace M=1 if C==0 & h9==2 

gen CM=C+M

summarize C M CM [iweight=v005/1000000]

It is helpful to enter "tab h1 h9 [iweight=v005/1000000], m cell" in the KR file. That table has many logically empty cells. The recodes above show how the non-empty cells count toward C or M.

Previous Topic: STATA code for food insecurity access scale(FIES), Anxiety(GAD-7) and Depression(PHQ-9)
Next Topic: Merging Birth's / Chidren's with Household Member Recode
Goto Forum:

Current Time: Wed Jul 17 15:03:45 Coordinated Universal Time 2024