Re: How to replicate Table 7.6 Signal functions for emergency obstetric care [message #28129 is a reply to message #28026] |
Thu, 16 November 2023 12:29 |
SaraDHS
Messages: 46 Registered: December 2020
|
Member |
|
|
Hello,
As described in the title of the table, the facilities are limited to those offering normal delivery services, so where q102_07==1. You then need to use the svy command to take into account the survey design and facility selection. I have included code below for the first column "Antibiotics". You can recreate the same code for the remaining columns using the information from the table.
egen strata = group(factype region)
svyset [pw=fwt], psu(facil) strata(strata) singleunit(centered)
svy: ta q102_07
keep if q102_07==1
recode q1604b_1 (.=2)
svy: tab q1604b_1
*To limit to non community center facilities, drop those facilities where factype==8
Sara Riese, PhD
Senior Demographic and Health Researcher, DHS Program
|
|
|