The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » How to use cluster and strata variables in ever married surveys?
How to use cluster and strata variables in ever married surveys? [message #21782] Fri, 18 December 2020 10:24 Go to previous message
Han is currently offline  Han
Messages: 4
Registered: December 2020
Member
Hi, I have a problem regarding all women factors in STATA. From the Page 1.43 of Guide to DHS Statistics DHS-7, the example shows that the mean number of children ever born for all women can be calculated by the following code:

gen awf = awfactt/100
ratio v201 / awf [iw=wt]

However, I am puzzled why the cluster and strata variables were not considered in the above code? If I would like to calculate the weighted prevalence of Y for example for women from an ever married survey, then what should I do to take cluster, strata, and awfactt variables into consideration together?

Thank you!
 
Read Message
Read Message
Read Message
Previous Topic: how to reproduce Ghana DHS 2014 published sampling errors and deft values
Next Topic: DHS Sample Weights & Fixed Effects Controls
Goto Forum:
  


Current Time: Mon Jun 17 06:34:19 Coordinated Universal Time 2024