The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use (other programs) » Complex sample in R(Weight DHS Data in R) (Demonstration of How to Weight DHS Data in R)
Complex sample in R(Weight DHS Data in R) [message #19062] Sun, 12 April 2020 03:06 Go to next message
Sajhama is currently offline  Sajhama
Messages: 28
Registered: July 2017
Member
Hi,

I am trying to use R for DHS data analysis but struggle to weight data for advanced analysis, since this has to undertake complex sample analysis method. DHS have video for SAS, SPSS but not for R. May, I please request admin or anybody who could provide me solution to this step.

Thank you
Sajama
Re: Complex sample in R(Weight DHS Data in R) [message #25218 is a reply to message #19062] Sun, 18 September 2022 08:27 Go to previous messageGo to next message
jessy is currently offline  jessy
Messages: 8
Registered: August 2022
Member
hello,
were you able to get some code for this;
if you were able,kindly share
Re: Complex sample in R(Weight DHS Data in R) [message #25219 is a reply to message #25218] Sun, 18 September 2022 08:33 Go to previous messageGo to next message
Sajhama is currently offline  Sajhama
Messages: 28
Registered: July 2017
Member
Hi Dear,

You could find the R code in DHS Github. Look there.

I used R commander for this, (commander version), that doesn't need code.

Regards
Sajama
Re: Complex sample in R(Weight DHS Data in R) [message #25220 is a reply to message #25219] Sun, 18 September 2022 08:35 Go to previous messageGo to next message
jessy is currently offline  jessy
Messages: 8
Registered: August 2022
Member
let me check it out then, thanks
Re: Complex sample in R(Weight DHS Data in R) [message #25221 is a reply to message #25219] Sun, 18 September 2022 09:04 Go to previous messageGo to next message
jessy is currently offline  jessy
Messages: 8
Registered: August 2022
Member
iam seemingly not getting help from where you have referred.
Iam doing multilevel analysis i want to use R. trying to look for help on how to calculate level weights using R.
any help will be highly appreciated
thanks

Re: Complex sample in R(Weight DHS Data in R) [message #25222 is a reply to message #25221] Sun, 18 September 2022 09:35 Go to previous message
Sajhama is currently offline  Sajhama
Messages: 28
Registered: July 2017
Member
Hi Jessy,

Please find the link for Github, where you would find the R code for all DHS chapters, which are same for all countries. If not, could ask DHS for help (most probably is same for all countries).
https://github.com/DHSProgram/DHS-Indicators-R

If this also doesn't work, let me know, if I have codes, will share with you (been long, so kinda lost). Good Luck

Regards
Sajama Nepali
Previous Topic: Issue with importing Individual Recode datasets for India for the years 2015-2016 on R
Next Topic: multilevel log-binomial regression
Goto Forum:
  


Current Time: Thu Apr 18 00:48:13 Coordinated Universal Time 2024