Age at first birth [message #12955] |
Mon, 21 August 2017 13:31 |
kbietsch_avenir
Messages: 2 Registered: August 2017
|
Member |
|
|
Hello,
I am trying to reproduce a number from the final report/stat compiler:
The percent of women 20-24 who gave birth before the age of 18. The report says 35.7%
I keep getting a higher number, and wonder if I am not taking into account unmarried women.
* Set up svy paramaters
gen wt=v005/1000000
svyset v021 [pw=wt], strata(v023)
gen agefb= (v211-v011)/12
gen fbu18 = 1 if agefb<18
replace fbu18=0 if agefb>=18
* All women factor
gen aw = awfactt/100
* Check the denominator
tab fbu18 [iw=aw*wt]
Alternatively, I tried bringing nonmarried women in from the household roster, but still found a percentage over 40%. Can you help point me in the right direction?
Cheers,
Kristin
[Updated on: Mon, 21 August 2017 13:56] Report message to a moderator
|
|
|