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 #23231 is a reply to message #23224] Tue, 03 August 2021 08:11 Go to previous messageGo to previous message
Shireen-DHS is currently offline  Shireen-DHS
Messages: 140
Registered: August 2020
Location: USA
Senior Member
Hello,

You're very welcome. Glad I could help.

For working in R, what I know is that you would need to use the survey package and supply the weight (v005), PSU(v021), and strata (usually v023) to the survey command in R to produce the correct estimates if you are producing confidence intervals. If you only are producing the percentages then you only need to use the weight. In that case you can still use the survey package but only supply the weight or use some other packages for weighted tables. You can check how we do this in the R code available on GitHub and check the main file for the packages needed that are listed at the top, then the table file for how we tabulate the variables.
https://github.com/DHSProgram/DHS-Indicators-R

Good luck with your research.

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: Fri Dec 6 11:41:32 Coordinated Universal Time 2024