The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » Multi-level mixed effect Poisson regression in Stata
Re: Multi-level mixed effect Poisson regression in Stata [message #23284 is a reply to message #23236] Mon, 16 August 2021 10:44 Go to previous message
Shireen-DHS is currently offline  Shireen-DHS
Messages: 140
Registered: August 2020
Location: USA
Senior Member
Hello,

Multilevel models require a weight for each level.

The generic code for instance for two levels would be the following:

svyset v001, weight(wt) strata(v023) , singleunit(centered) || _n, weight(wt2)

v001 is the psu and v023 is the strata if using DHS data. To check the strata for older surveys please refer to the Survey_strata.do file here: https://github.com/DHSProgram/DHS-Analysis-Code

We only supply one weight in the DHS data (v005). However, recently we have published a report to estimate the second level weight. Please refer to this report for more detail. It also contains examples and Stata code: https://www.dhsprogram.com/publications/publication-mr27-met hodological-reports.cfm

Good luck with your research.

Best,
Shireen Assaf
The DHS Program
 
Read Message
Read Message
Previous Topic: Community level Poverty
Next Topic: How to carry out Individual Meta-analysis of DH surveys in sub-Saharan Africa using Stata
Goto Forum:
  


Current Time: Wed Dec 18 18:11:43 Coordinated Universal Time 2024