The DHS Program User Forum - RDF feed https://userforum.dhsprogram.com/index.php Sexwise total number of living children of mothers https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=15961&th=7419#msg_15961
Can you provide how to calculate the total parity, total number and gender of the living children of the mothers? We are using Stata software.

I tried to identify the total number of female children of women using the following command, but it did not work
recode b4_01 1=0 2=1, gen(b4_01f)
recode b4_02 1=0 2=1 , gen(b4_02f)
recode b4_03 1=0 2=1 , gen(b4_03f)
recode b4_04 1=0 2=1 , gen(b4_04f)
recode b4_05 1=0 2=1 , gen(b4_05f)
recode b4_06 1=0 2=1 , gen(b4_06f)
recode b4_07 1=0 2=1 , gen(b4_07f)
recode b4_08 1=0 2=1, gen(b4_08f)
recode b4_09 1=0 2=1 , gen(b4_09f)
recode b4_10 1=0 2=1 , gen(b4_10f)

gen b4totf=b4_01f +b4_02f+ b4_03f+ b4_04f+ b4_05f +b4_06f+ b4_07f +b4_08f+ b4_09f+ b4_10f

Regards,
RK]]>
rkchettri 2018-10-11T04:35:31-00:00
Re: Sexwise total number of living children of mothers https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=16056&th=7419#msg_16056 Trevor-DHS 2018-10-31T13:41:09-00:00 Re: Sexwise total number of living children of mothers https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=16060&th=7419#msg_16060 Thank you again.]]> rkchettri 2018-10-31T15:18:55-00:00 Re: Sexwise total number of living children of mothers https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=16061&th=7419#msg_16061 Trevor-DHS 2018-10-31T15:51:40-00:00