Re: Staff trained for ANC [message #22589 is a reply to message #22549] |
Wed, 07 April 2021 15:09 |
SaraDHS
Messages: 46 Registered: December 2020
|
Member |
|
|
Hello,
In Stata, if you use the below code after merging the provider data with the facility inventory data, you should be able to recreate the final report values for number of providers with ANC in-service training.
gen ancfacil =0
replace ancfacil=1 if (q102_05==1 & inrange(q1401,0,31)) | q102_05==3
gen anc_staff=0
replace anc_staff=1 if (p500==1 | p500==2 | p500==3)
gen trained_staff=0 if ancfacil==1 & anc_staff==1
replace trained_staff =1 if ancfacil==1 & anc_staff==1 & (p502_1==1 | p502_2==1 | p502_3==1 | p502_4==1 | p502_5==1 | p505_1==1 | p505_5==1 | p206_5==1 | p206_6==1)
Hope that's helpful!
Best,
Sara
Sara Riese, PhD
Senior Demographic and Health Researcher, DHS Program
|
|
|