README for Alvarez, Benguria, Engbom, and Moser (2018)
The RAIS and PIA datasets are confidential and therefore not uploaded as part of the files. The code to replicate all results has been included in the following files:
- 0_MASTER.do: This is the master file. All other files should be executed from this file with the appropriate switches (currently set).
- MINCER.do: Runs mincer regressions.
- AKM.do: This file prepares the data, and calls MATLAB to perform the main AKM estimation.
- AKM.m: Performs the AKM estimation.
- AKM2.m: Outsheets all estimated firm and worker fixed effects for subsequent analysis.
- POSTESTIMATION.do: Computes variance decompositions of AKM results.
- SUMMARYSTATS.do: Reports summary stats for all workers in the sample, the connected set, and workers in PIA.
- SECONDSTAGE_FIRMS.do: Runs second stage regressions of firm effects on firm characteristics.
- SECONDSTAGE_WORKER.do: Runs second stage regressions of worker effects on worker characteristics.
- WAGEGAINS_SWITCHERS.do: Computes wage gains from workers who switch firms by firm effect quartile.
- GRAPHS_ABEM2016_residualplot.m: Produces 3d graph of residuals.