BDHS2011 - Tab. 5.4 Children ever born and living [message #4405] |
Thu, 21 May 2015 10:26 |
geoK
Messages: 56 Registered: May 2014
|
Senior Member |
|
|
Hello,
I am trying to replicate percentages and mean number of children ever born as in Tab. 5.4 for ALL WOMEN but I get different numbers. I can get the total number of women 20,797 using the ALL WOMEN FACTOR but all % by age and total come different. I am sure it is something to do with the all women factor which I am struggling to understand how it is used...
Can anyone help, please? Maybe suggesting a script or explaining step by step? Thanks.
Also, on the same topic (ALL WF), I'd like to further disaggregate mean number of children ever born for all women by e.g. Region. I am aware that the specific factor for regional disaggregation is created, but just wondering how to use it in the case of mean number of children ever born.
Thanks again,
Best regards!
|
|
|
|
Re: BDHS2011 - Tab. 5.4 Children ever born and living [message #4429 is a reply to message #4418] |
Tue, 26 May 2015 07:32 |
geoK
Messages: 56 Registered: May 2014
|
Senior 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 615 times)
|
|
|
|
|
|
|
|