This repository hosts the data and R codes for the paper "Price Transmission in Conflict--Affected States: Evidence from Cereal Markets of Somalia," which is a joint work with Justin Hastings, Sarah Phillips, and Andrey Vasnev. The working paper of this study is available at https://ideas.repec.org/p/syd/wpaper/2020-16.html.
The codes should run with no issue and replicate the results of the study as long as all the supplied material (i.e., the data file as well as the R codes) are stored in the same folder.
dataset.RData contains all the data needed to replicate the results of the study. These data were obtained from multiple sources, and in most instances, have been manipulated from their original form to their present one. The original data sources are as follows:
- Conflict: Armed Conflict Location & Event Data (ACLED) Project of Raleigh, et al. (2010). Introducing ACLED: An Armed Conflict Location and Event Dataset: Special Data Feature. Journal of Peace Research 47(5): 651–660. Data available at https://acleddata.com
- Prices: Food and Agriculture Organization of the United Nation's (FAO) Food Price Monitoring and Analysis (FPMA) Tool database of Global Information and Early Warning System on Food and Agriculture (GIEWS). Data available at http://www.fao.org/giews/data-tools
- Roads: OpenStreetMap project via Geofabrik, available at: http://download.geofabrik.de/africa/somalia.html
- Distances and Travel Time: Google maps. Accessed on 4 October 2020.
conflict_map.rgenerates Figure 1.
descriptive.rgenerates Tables 1 and 2, Figure 2, and Appendix Figure 1.
regressions_pstr.rgenerates the main results of the study, Tables 3 and 4, and Appendix Figure 2.
regressions_pstr_omit.rgenerates Figure 3.
mysript.ris an auxiliary file that contains a function to estimate the PSTR model, used in
This work is licensed under a Creative Commons Attribution 4.0 International License.