Teenage Pregnancy in BDHS 2017-18 [message #29995] |
Sun, 08 September 2024 05:43 |
toukir86
Messages: 10 Registered: November 2023
|
Member |
|
|
Dear Experts,
I want to determine the factors associated with teenage pregnancy and motherhood. From a previous topic discussion I found the following code.
**
gen teenmom=0 if v013==1
replace teenmom=1 if (v201>=1 | v213==1) & v013==1
gen wt = v005/1000000
svyset [pw=wt], psu(v021) strata(v023) singleunit(centered)
gen awfact = awfactt/100
svy: ratio teenmom/awfact, over(v012)
svy: ratio teenmom/awfact
**
It provides me the value of proportion, which aligns with the report. However, I want to generate n=4782 of Table 5.11 Teenage pregnancy and motherhood. Please let me know how I can do this.
Thank you in advance.
[Updated on: Sun, 08 September 2024 06:38] Report message to a moderator
|
|
|