This repository contains code to reproduce results from the paper (accepted at Econometrica) "The Welfare Effects of Encouraging Rural-Urban Migration".
Software Requirements: Most of this code is in MATLAB and requires the Parallel Computing Toolbox (for computation of the model). Plotting is performed via python. Data analysis is in STATA.
The repository is organized with the following folders. The readme file within the folder describes how to execute code:
-
Calibration contains the code to calibrate the model.
-
Partial equilibrium welfare analysis This computes the welfare effects of the one-time transfer. In addition, it outputs results (policy functions, migration rates, etc.) that are plotted in the plotting folder.
-
General equilibrium welfare analysis Computes the welfare effects of a permanent migration transfer or cash transfer financed by taxes and clears the rural labor market.
-
The efficient allocation Computes the solution to the planning problem.
-
Empirical moments Programs and data needed to replicate the data tables: Table 4, Table 5, Table A9 and Table C1.
-
Appendix various checks and alternative parameterizations that appear in the appendix.
-
Bootstrap computes bootstrap confidence intervals and montecarlo study to explore identification.
-
Utility functions this folder contains functions that are used throughout all aspects of the code. A complete accounting is found in the readme file.
-
Plotting jupyter notebooks that import MATLAB
.mat
files and plots them. -
Figures self explanatory. Should all be in
.png
and.pdf
format.
The repository also includes replication files (empirical and quantitative results) for the paper "Underinvestment in a Profitable Technology: The Case of Seasonal Migration in Bangladesh" that were downloaded from Econometrica's code repository and obtained from the authors. I will not provide support for the code below.
-
BCM_code code from Bryan, Chowdhury and Mobarak's "Underinvestment in a Profitable Technology: The Case of Seasonal Migration in Bangladesh"
-
BCM_econometrica_supplement_files additional files from Bryan, Chowdhury and Mobarak's "Underinvestment in a Profitable Technology: The Case of Seasonal Migration in Bangladesh"