The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » Multilevel analysis (Multilevel analysis on NDHS data)
Multilevel analysis [message #23563] Thu, 07 October 2021 23:51 Go to previous message
Ugonna is currently offline  Ugonna
Messages: 26
Registered: June 2020
Member
Hello everyone,

I am doing a multilevel analysis in stata and I have some challenges I would like to be cleared on.

To find out the proportion of women in the community with at least secondary education, I did this:
gen sec_edu=0
replace sec_edu=1 if mat_edu>=4 & mat_edu<=5

So, to obtain the proportion at the cluster level, please what is the most appropriate option amongst these...

egen sec_edu_prop = pc(sec_edu), prop by(v021)
OR
egen sec_edu_prop = mean(sec_edu), by(v021)
OR
egen sec_edu_prop = rowmean(sec_edu), by(v021)



Then while running the analysis, do I need to apply a different kind of weight other than this?
svyset[pw=wt],psu(v021)strata(v022) singleunit(center)


Thank you for your anticipated response.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Cluster level population density data (Geospatial Covariate Datasets)
Next Topic: SUEST
Goto Forum:
  


Current Time: Wed Dec 18 05:33:07 Coordinated Universal Time 2024