The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Bangladesh » BDHS2011 - Tab. 5.4 Children ever born and living
Re: BDHS2011 - Tab. 5.4 Children ever born and living [message #4429 is a reply to message #4418] Tue, 26 May 2015 07:32 Go to previous messageGo to previous message
geoK is currently offline  geoK
Messages: 44
Registered: May 2014
Member
Dear Trevor, thanks a lot, this is really helpful. Can I please double check with you if I have understood it correctly, when calculating other indicators with different subpopulations:
For example,
If I want to calculate women's literacy (taking variable V155 and creating an indicator variable where LITERATE=1 and NOT-LITERATE=0, following tab. 3.3.1 definition of literate women) by Religion (V130):
1- should I create a new women factor specific for variable Religion (V130)? Given that the dataset lists 5 factors which look sub-pop specific: awfactt; awfactu; awfactr; awfacte; awfactw
2- assuming that the correct factor to use is called awfactt, and following your script, would the following be correct? (IN RED MY CHANGES)


* Set up svy paramaters
gen wt=v005/1000000
svyset v021 [pw=wt], strata(v023)

* All women factor
gen aw = awfactt/100
* Check the denominator
tab v130 [iw=aw*wt]

* Children ever born
gen Literacyw = (derived from V155 where 1=literate; 0=illiterate)
* Use the ratio of children ever born and all women
svy: ratio Literacyw/aw, over(v155)
svy: ratio Literacyw/aw




#################################################
RESULTS --> please see attached!

Thanks a lot,
regards


  • Attachment: RESULTS.pdf
    (Size: 135.70KB, Downloaded 560 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: All men factor - Literacy rate
Next Topic: No of pregnant mother and U5 child
Goto Forum:
  


Current Time: Thu Apr 25 23:46:56 Coordinated Universal Time 2024