The DHS Program User Forum - RDF feed
https://userforum.dhsprogram.com/index.php
Reproduction of marriage data in report
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=12777&th=6214#msg_12777
I am trying to reproduce the age at first marriage table (marriage by exact age) for Nepal DHS 1996 2001 2006 2011, and following the steps above I do not get the results of the DHS reports (for example DHS Nepal 2011 Table 6.4). Could it be that the proportions are calculated differently for waves with all women included?
I took the following steps to calculate the proportion of women married by 18:
g CM18=(v511<18)
gen wt=v005/1000000
svyset v021 [pw=wt], strata(v023)
gen aw = awfactt/100
svy: ratio CM18/aw if (v501==1|v501==2), over(v013)
Thank you so much.
Best,
Inez]]>Inez Roosen2017-07-12T13:19:24-00:00Re: Reproduction of marriage data in report
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=13081&th=6214#msg_13081
To match table 4.3, you just need to correct your svy: ratio command. In your current command, you are calculating the table just for married women, but this table includes all women. You also need to restrict it to women age 20+. You can use the following svy: ratio commands:
svy: ratio CM18/aw if v013 >= 2
svy: ratio CM18/aw if v013 >= 2, over(v013)