﻿
***********************************************************************************
* Antras Chor Supplementary Material                                              *
* "On the Measurement of Upstreamness and Downstreamness in Global Value Chains"  *
* ERIA Book Chapter                                                               *
***********************************************************************************

by

Pol Antras, Harvard
Davin Chor, National University of Singapore


(Enquiries? Email: davinchor@gmail.com)


This readme file describes the supplementary material that accompanies the article "On the Measurement of Upstreamness and Downstreamness in Global Value Chains", prepared as a contributed chapter to the ERIA book on "World Trade Evolution". 

For the Regression-based analysis:
Do files were written in Stata 14.
The do files named "TableX_Dec2017" (where X runs from 1 to 7) and "TableA1_Dec2017", generate the corresponding Tables in the paper and appendix.
The "FiguresforPaper_Dec2017" generates the Figures that appear in the paper. 
One Stata dta files has not been included, due to its size: WIOD_HeadReistau_Dec2017.dta. This contains the input-use trade flows for each country-industry pair.
If you are interested in the file, please email: davinchor@gmail.com 

For the model-based counterfactuals:
Matlab files are contained in the "Counterfactuals" subfolder; these were written in Matlab R2015.
To generate the statistics that appear in Tables 8 and 9, one would need to execute the following m files:
Table 8:
Estimation_DC_95baseline.m             (1995 baseline)
Estimation_DC_11baseline.m             (2011 baseline)
Estimation_DC_9511_taudropGS.m         (drop trade costs for both goods and services)
Estimation_DC_9511_alpha.m             (change expenditure shares)
Estimation_DC_9511_taudropGS_alpha.m   (drop trade costs for both goods and services AND change expenditure shares)
WIOD2013_GVCcorrelations_cf_Dec2017.do (Computes the correlations between the country-industry GVC measures from counterfactual scenarios)
Table 9: Initialize to 2011 and...
Estimation_DC_11forward_taudropGS.m       (Reduce trade costs for both goods and services)
Estimation_DC_11forward_taudropG.m        (Reduce trade costs for goods only)
Estimation_DC_11forward_taudropS.m        (Reduce trade costs for services only)
Estimation_DC_11forward_alpha.m           (Change expenditure shares)
Estimation_DC_11forward_taudropGS_alpha.m (Reduce trade costs for both goods and services AND change expenditure shares)

