The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Child Health » Child immunization (Child immunization for Nigeria)
Re: Child immunization [message #20378 is a reply to message #20346] Mon, 26 October 2020 13:34 Go to previous messageGo to previous message
Shireen-DHS is currently offline  Shireen-DHS
Messages: 140
Registered: August 2020
Location: USA
Senior Member
Hello Ugonna,

We found the issue with our code. Thank you for bringing this to our attention.

Instead of coding the vaccination is this way:
recode h2 (0 8=0) (else=1), gen(ch_bcg_either)
we should have used:
recode h2 (1 2 3=1) (else=0), gen(ch_bcg_either)

The difference is minimal since it's just the missing (value 9) that would have been incorrectly coded. This change should apply to all the vaccinations. I've corrected the code on GitHub so you will see the updated version.

I checked this new code with the 2008 Nigeria survey and matched the table exactly, 22.7%.

Also your work around to not drop children is correct. Another way to to replace your indicator as missing for children outside the age group.

Thank you.

Best,

Shireen Assaf
The DHS Program
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Child Discipline - Myanmar DHS 2015-2016
Next Topic: do files for cleaning the children's birth month and year
Goto Forum:
  


Current Time: Thu Apr 25 03:24:56 Coordinated Universal Time 2024