Weighting using complex survey in R2MLwiN

Welcome to the forum for R2MLwiN users. Feel free to post your question about R2MLwiN here. The Centre for Multilevel Modelling take no responsibility for the accuracy of these posts, we are unable to monitor them closely. Do go ahead and post your question and thank you in advance if you find the time to post any answers!

Go to R2MLwiN: Running MLwiN from within R >> http://www.bris.ac.uk/cmm/software/r2mlwin/
Post Reply
rittsmailbox1999
Posts: 1
Joined: Wed Nov 26, 2025 7:54 am

Weighting using complex survey in R2MLwiN

Post by rittsmailbox1999 »

I’m working with complex survey data from the Demographic and Health Surveys (DHS), where individuals are nested within clusters, which are in turn nested within countries. I’d like to estimate a multilevel model that includes country fixed effects (multi country analyses) and random intercepts at the cluster level, but I also want to account for survey weights. I have individual-level survey weights, and I understand that I need to derive approximate weights at the cluster level and then standardize them.

My main question is: how do I specify these weights in the R2MLwiN package in R? In particular, what command or syntax should I use to incorporate the weights properly

Reeth
Post Reply