Skip to main content
Log in

Loading, merging and analysing demographic and health surveys using R

  • Hints & Kinks
  • Published:
International Journal of Public Health

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Fig. 1

Notes

  1. Database of DHS based publications: http://www.measuredhs.com/publications/index.cfm.

  2. One very well-written hands-on tutorial can be found at http://personality-project.org/r/.

  3. List of books on R: http://www.r-project.org/doc/bib/R-books.html.

  4. The listing of all available DHS surveys: http://www.measuredhs.com/data/available-datasets.cfm.

  5. DHS instructions on acessing the data http://www.measuredhs.com/data/Using-Datasets-for-Analysis.cfm.

  6. DHS Recode Manuals: http://www.measuredhs.com/publications/publication-dhsg4-dhs-questionnaires-and-manuals.cfm.

  7. Normally, one would use family=binomial to specify a logistic regression in R. However, as we are using weighted data, we need to use family=quasibinomial . Please refer to the survey package help on the svyglm() function for more details.

  8. The coefficient denotes the log of the increase in odds ratio associtated with increasing the predictor by one unit. Hence, \(\Updelta \frac{p}{1-p} = {\rm e}^{0.158} = 1.172. \) Hence, odds ratio is predicted to increase by 1.17 for each increase in wealth index.

References

  • Konings P, Harper S, Lynch J, Hosseinpoor AR, Berkvens D, Lorant V, Geckova A, Speybroeck N (2010) Analysis of socioeconomic health inequalities using the concentration index. Int J Public Health 55(1):71–74

    Article  PubMed  Google Scholar 

  • Lumley T (2004) Analysis of complex survey samples. J Stat Softw 9(1):1–19

    Google Scholar 

  • Lumley T (2013) Survey: analysis of complex survey samples, R package version 3.29-4

  • Lumley T (2011) Complex surveys: a guide to analysis using R, vol 565. John Wiley, London

  • Masanja H, de Savigny D, Smithson P, Schellenberg J, John T, Mbuya C, Upunda G, Boerma T, Victora C, Smith T et al (2008) Child survival gains in Tanzania: analysis of data from demographic and health surveys. Lancet 371(9620):1276–1283

    Google Scholar 

  • Speybroeck N, Harper S, de Savigny D, Victora C (2012) Inequalities of health indicators for policy makers: six hints. Int J Public Health 57:859–860

    Article  Google Scholar 

  • Speybroeck N, Konings P, Lynch J, Harper S, Berkvens D, Lorant V, Geckova A, Hosseinpoor AR (2010) Decomposing socioeconomic health inequalities. Int J Public Health 55(4):347–351

    Article  PubMed  Google Scholar 

  • Van de Poel E, Speybroeck N (2009) Decomposing malnutrition inequalities between scheduled castes and tribes and the remaining Indian population. Ethn Health 14(3):271–287

    Article  Google Scholar 

  • Van Malderen C, Van Oyen H, Speybroeck N (2013) Contributing determinants of overall and wealth-related inequality in under-5 mortality in 13 African countries. J Epidemiol Commun Health 67:667–67

    Article  Google Scholar 

Download references

Acknowledgments

We thank the anonymous reviewers for their insightful comments on an earlier version of the manuscript.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Dieter Vanderelst.

Electronic supplementary material

Below is the link to the electronic supplementary material.

PDF (335 KB)

Rights and permissions

Reprints and permissions

About this article

Cite this article

Vanderelst, D., Speybroeck, N. Loading, merging and analysing demographic and health surveys using R. Int J Public Health 59, 415–422 (2014). https://doi.org/10.1007/s00038-013-0538-2

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00038-013-0538-2

Keywords

Navigation