There are 4 Stata-files in this directory: 00_master.do 01_import.do 02_preperation.do 03_decomposition.do Make sure they are in the same working directory of Stata, change the path in 00_master.do and run it. Data files are not included due to legal reason. However, we used the 2010 wave of the Structure of Earnings Suvrey (see readme_data.txt).