Replication files for Daniels B, Dolinger A, Bedoya G, Rogo K, Goicoechea A, Coarasa J, Wafula F, Mwaura N, Kimeu R, Das J. Use of standardised patients to assess quality of healthcare in Nairobi, Kenya: a pilot, cross-sectional study with international comparisons. BMJ Global Health. 2017 Jun 1;2(2):e000333.
# Replication code: Daniels et al. (2017), *BMJ Global Health*
Daniels B, Dolinger A, Bedoya G, Rogo K, Goicoechea A, Coarasa J, Wafula F, Mwaura N, Kimeu R, Das J.
"Use of standardised patients to assess quality of healthcare in Nairobi, Kenya: a pilot, cross-sectional study with international comparisons."
*BMJ Global Health* 2017;2(2):e000333.
DOI: 10.1136/bmjgh-2017-000333
Archived code release (v1.0.0):
doi.org
## What this repository contains
Code and documentation only: the two analysis do-files, the author-written Stata
commands they call, the published tables and figures they produce, and the paper
and supplement PDFs.
```
tables_figures.do Analysis code: main text tables and figures
appendix.do Analysis code: appendix tables and figures
adofiles/ Author-written Stata commands used by the analysis
outputs/ Published tables (aggregate) and figures
Daniels et al.pdf Published article
Supplement_Final.pdf Published supplement
LICENSE CC BY 4.0
```
## Run order
The two do-files are independent and can be run in either order. Start Stata in
the repository root, set `DATA_DIR` at the top of each file, and run.
`tables_figures.do` produces:
| Output | Exhibit |
| --- | --- |
| `outputs/Table_1.xls` | Table 2, facility summary statistics |
| `outputs/Table_2.xls` | Table 3, primary SP outcomes |
| `outputs/Table_3_1.xls`, `Table_3_2.xls` | Table 4, outcomes by sector, linear and logit |
| `outputs/Figure_1.png` | Figure 1, effect of sector |
| `outputs/Figure_2.png` | Figure 2, outcomes by setting |
`appendix.do` produces:
| Output | Exhibit |
| --- | --- |
| `outputs/Table_A1.xls` | Table A1, essential history items |
| `outputs/Table_A2.xls` | Table A2, private facilities |
| `outputs/Table_A3.xls` | Table A3, SP characteristic validation |
| `outputs/Table_A4.xls` | Table A4, diagnoses by case |
| `outputs/Table_A5.xls` | Table A5, cross-country results …