Re: Vaccination coverage using 2013 ndhs data set: Nigerian & dhs [message #9705 is a reply to message #9143] |
Mon, 09 May 2016 09:56 |
kjacob
Messages: 7 Registered: May 2016 Location: Kilifi
|
Member |
|
|
First generate the vaccinated and not vaccinated group by each vaccine, e.g for BCG
gen bcg_vac=.
replace bcg_vac=0 if (h2==.|h2==0 | h2==3 |h2==8 |h2==9)
replace bcg_vac=1 if (h2==1|h2==2)
label define bcg_vac 0 "not vaccinated" 1 "vaccinated",modify
label values bcg_vac bcg_vac
for measles
gen measles_vac=.
replace measles_vac=0 if (h9==.|h9==0|h9==3|h9==8|h9==9)
replace measles_vac=1 if (h9==1|h9==2)
label define measles_vac 0 "not vaccinated" 1 "vaccinated",modify
label values measles_vac measles_vac
do the same for all vaccines (dpt1-3, opv1-3 e.t.c.)
Combine the vaccinated (all that are vaccinated either by vaccination date on card or reported by mother)
For example in the case above (bcg and measles)
gen vaccination_status=.
replace vaccination_status=0 if (bcg_vac==0 & measles_vac==0)*****add the other vaccines and separate them using &
replace vaccination_status=1 if (bcg_vac==1 | measles_vac==1)*****add the other vaccines and separate them using |
replace vaccination_status=1 if (bcg_vac==1 & measles_vac==1)*****add the other vaccines and separate them using &
label define vaccination_status 0 "not vaccination" 1 "partial vaccination" 2 "full vaccination", modify
label values vaccination_status vaccination_status
JK
|
|
|