Code for the manuscript "Combining BART and Principal Stratification to estimate the effect of intermediate on primary outcomes with application to estimating the effect of family planning on employment in sub-Saharan Africa". The main code is on the "analysis" folder, with steps in separate R Markdown files numbered sequentially. The data and data documentation is available at
doi.org (a copy of the file is included here for convenience). If you use this software, please cite it using the metadata from this file.