|
Re: Cesarean section trends and associated factors [message #18511 is a reply to message #18496] |
Wed, 11 December 2019 09:59 |
lmallick
Messages: 22 Registered: June 2019
|
Member |
|
|
Dear user,
Please do see our newly released, freely and publicly available Stata code on Github.com (https://github.com/DHSProgram/DHS-Indicators-Stata). Chapter 9 contains code for ANC and other reproductive health indicators.
For number of ANC visits, since this is about women's care and refers only to the most recent birth, we typically use the IR file. However, you can use the KR file but you need to specify the last live birth, see code below for KR file:
recode m14 (0=0 "none") (1/3=1 "1-3") (4/90=3 "4+") (else=9 "don't know/missing") if bidx==1, gen(rh_anc_numvs)
label var rh_anc_numvs "Number of ANC visits"
tab rh_anc_numvs [iw=v005/1000000]
Thank you,
Lindsay
|
|
|