The DHS Program User Forum - RDF feed
https://userforum.dhsprogram.com/index.php
FGC and daughter's line number
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=26404&th=12544#msg_26404
I cannot find the age of each of the last circumcised daughters in the Benin 2001 IR survey, which contains information on daughter's FGC. I know I would need to use the variable fg111 "line number of last circumcised daughter" but I don't understand how could I find that, or what's it exactly. My goal is to know the age of every (last) circumcised daughter.
* The highest value of fg111 (line number of last circumcised daughter) is 11.
* You can use 11 in the loop below or just use 20, the maximum possible value of bidx.
* Remove leading zeroes in subscripts for b8
rename b8_0* b8_*
gen age_fg111=.
forvalues li=1/20 {
replace age_fg111=b8_`li' if fg111==`li'
}