The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » Antenatal care from medically trained provider
Re: Antenatal care from medically trained provider [message #12243 is a reply to message #12229] Fri, 14 April 2017 15:13 Go to previous messageGo to previous message
sumonrupop is currently offline  sumonrupop
Messages: 23
Registered: August 2015
Location: Rajshahi
Member

I used following stata command to calculate antenatal care from trained providers. But I did not get actual result reported in BDHS 2014 report.

*Sought antenatal care from trained providers: OK
gen anc_sba=0 if bidx_01==1
foreach (x in a b c d e) & (i in 1 2 3 4 5 6) {
replace anc_sba=1 if bidx_01==1 & m2`x'_i==1
replace anc_sba=0 if bidx_01==1 & anc_sba==.
}

tab anc_sba if age3_==1 [iw=wgt]

Your suggestion to solve this problem much appreciated.

Thanks in advance.


Md. Nuruzzaman Khan
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Reshaping data using Stata
Next Topic: Which recode file to choose IR-KR-BR
Goto Forum:
  


Current Time: Mon Nov 25 02:43:20 Coordinated Universal Time 2024