The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Mortality » Checking The Skill of ANC Provider
Re: Checking The Skill of ANC Provider [message #20360 is a reply to message #20356] Mon, 26 October 2020 09:25 Go to previous messageGo to previous message
shujaat.smc@gmail.com is currently offline  shujaat.smc@gmail.com
Messages: 75
Registered: July 2020
Senior Member
Dear DHS Representative,

For this question I found the following Stata Commands From Git Hub but stata showing error. I am using the BR file of PDHS 2017-18.

/ANC by type of provider

gen rh_anc_pv = 5 if m2a_1! = .
gen rh_anc_pv = 6 if m2a_1! = .
replace rh_anc_pv = 4 if m2f_1 == 1 | m2g_1 == 1 | m2h_1 == 1 | m2i_1 == 1 | m2j_1 == 1 | m2k_1 == 1 | m2l_1 == 1 | m2m_1 == 1
replace rh_anc_pv = 3 if m2c_1 == 1 | m2d_1 == 1 | m2e_1 == 1
replace rh_anc_pv = 2 if m2b_1 == 1
replace rh_anc_pv = 1 if m2a_1 == 1
replace rh_anc_pv = 5 if m2a_1 == 9
replace rh_anc_pv = . if age>=period

label define rh_anc_pv ///
1 "Doctor" ///
2 "Nurse/midwife" ///
3 "Other health worker" ///
4 "TBA/other/relative" ///
5 "No ANC"
5 "Missing" ///
6 "No ANC"
label val rh_anc_pv rh_anc_pv
label var rh_anc_pv "Person providing assistance during ANC"

//ANC by skilled provider
recode rh_anc_pv (1/3 = 1 "Skilled provider") (4/5 = 0 "Unskilled provider") , gen(rh_anc_pvskill)
recode rh_anc_pv (1/3 = 1 "Skilled provider") (4/6 = 0 "Unskilled provider") , gen(rh_anc_pvskill)
replace rh_anc_pvskill = . if age>=period
label var rh_anc_pvskill "Skilled assistance during ANC"


Waiting for your reply

Best Regards

Dr. Hussain
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Directing to Git-Hub
Next Topic: Who Provide the Delivery Care
Goto Forum:
  


Current Time: Sun Jun 16 04:40:46 Coordinated Universal Time 2024