Global Rebalancing with Gravity: Measuring the Burden of Adjustment

Gauss program and associated data files 
Data:

The text file trade_04c contains the bilateral trade data used as an input in the program. Columns represent importers and rows represent exporters. The last row and column is the rest of the world (ROW).
trade_04c

The text file catb contains current account and trade balance data used to run the program. The first column has current account data and the second column has trade in goods and services balance data. 
catb

The file undata contain data on share of value added in manufacturing gross output (beta),  value added in manufacturing and GDP.
undata

Program:

File deficit16 contains the program that generates the equilibrium variables and counterfactual excercises for the factor mobility case.
deficit16

File deficit16mob contains the program that generates the equilibrium variables and counterfactual excercises for the factor immobility case.
deficit16mob


                                                                                   
Matlab program and associated data files

Data:

The matlab file trade04c contains data on bilateral trade used as an input in the program. Columns represent importers and rows represent exporters. The last row and column is the rest of the world (ROW).
trade04c

The matlab file catb04mob contains current account and trade balance data used to run the program. The first column has current account data and the second column has trade balance data. 
catb04mob

The file matlab undata contains data on share of value added in manufacturing gross output (beta), value added in manufacturing and GDP.
undata

Program:

File dek_IMFmob contains the program that generates the equilibrium variables and counterfactual excercises for the case of
factor mobility.
(See .zip below).

File dek_IMFimmob contains the program that generates the equilibrium variables and counterfactual excercises for the case of factor immobility
.
(See .zip below).