The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Weighting data » DHS weights and random effects in a GLMM (Can both be used in the same model?)
DHS weights and random effects in a GLMM [message #30160] Mon, 07 October 2024 13:06 Go to next message
Mark_H_22 is currently offline  Mark_H_22
Messages: 2
Registered: September 2024
Member
I am part of a group working with DHS data from Senegal, Mauritania and Gambia to investigate the influence of household and women's characteristics (e.g. wealth, women's education) on food consumption and child stunting and wasting.

We have some questions regarding how to model this in R:

1) Is it appropriate to use DHS weights and random effects in the same GLMM? Both appear to be important, however the "survey" package in R does not allow random effects could we use another package that allows weights and random effects? For instance, we can specify weights in "glmmTMB" and "brms", but is it appropriate to use DHS weights in this way?

2) Alternatively, would it be correct to use a mixed effects model without DHS weights to assess these relationships?

3) In a hierarchical model structure (e.g. with a level for country in the hierarchy), can weights from multiple countries can be included in the same model?

Thank you.
Re: DHS weights and random effects in a GLMM [message #30167 is a reply to message #30160] Tue, 08 October 2024 10:07 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3172
Registered: February 2013
Senior Member

Following is a response from Senior DHS staff member, Tom Pullum:

This question goes beyond the range of forum questions, but I will make some suggestions.

In general, DHS weights should be included in every analysis. Otherwise, the results are weighted toward the over-sampled subpopulations, which, with the usual DHS sampling design, are the strata with small populations. The estimates will be biased if you omit weights.

Sometimes, with all software, you come up to the edge of what the current version allows. Certain components of a model, such as weights or random effects, may not be available in the current version. You have to make a judgment call about whether to proceed. The write-up should acknowledge the difference between what you wanted to do and what was feasible.

I suggest doing three separate analyses before deciding whether to pool the three countries. If you pool, the effects for just three countries would have to be fixed rather than random. And if you pool you have to decide whether to weight the countries equally or weight them proportional to size. There have been many postings on this issue.

Previous Topic: Query on Cluster-Level Modeling with DHS Data and Sampling Weights
Goto Forum:
  


Current Time: Sat Oct 19 17:28:58 Coordinated Universal Time 2024