Replication instructions for "Job Mobility and Sorting: Theory and Evidence" by Damir Stijepic (DOI: https://doi.org/10.1515/jbnst-2018-0047) 1. The replication code consists of 5 do-files for STATA 13: "master_sipp_mobility_sorting.do" "1_sipp_ms_data.do" "2_sipp_ms_variableselection.do" "3_sipp_ms_variables.do" "4_sipp_ms_regressions.do" 2. Download the following additional 13 do-files from NBER (https://www.nber.org/data/survey-of-income-and-program-participation-sipp-data.html): "sip96l1.do" "sip96l2.do" "sip96l3.do" "sip96l4.do" "sip96l5.do" "sip96l6.do" "sip96l7.do" "sip96l8.do" "sip96l9.do" "sip96l10.do" "sip96l11.do" "sip96l12.do" "sip96t2.do" Open all files in the STATA do-file editor: a) Delete the first line in each file ("log using sip96*, text replace"). b) Change the line "quietly infile using sip96*" to "quietly infile using "${MY_IN_PATH}/sip96*.dct", using("${MY_IN_PATH}/sipp96*.dat") clear" in each file. 3. Download the following 13 compressed SIPP data files from NBER (https://www.nber.org/data/survey-of-income-and-program-participation-sipp-data.html): "sipp96l1.zip" "sipp96l2.zip" "sipp96l3.zip" "sipp96l4.zip" "sipp96l5.zip" "sipp96l6.zip" "sipp96l7.zip" "sipp96l8.zip" "sipp96l9.zip" "sipp96l10.zip" "sipp96l11.zip" "sipp96l12.zip" "sipp96t2.zip" Extract all files. 3. Download the following 13 dictionary files from NBER (https://www.nber.org/data/survey-of-income-and-program-participation-sipp-data.html): "sip96l1.dct" "sip96l2.dct" "sip96l3.dct" "sip96l4.dct" "sip96l5.dct" "sip96l6.dct" "sip96l7.dct" "sip96l8.dct" "sip96l9.dct" "sip96l10.dct" "sip96l11.dct" "sip96l12.dct" "sip96t2.dct" Open all files in an editor. Replace "dictionary using /homes/data/sipp/1996/sipp96*.dat" by "infile dictionary" at the beginning of each file. 4. Open the do-file "master_sipp_mobility_sorting.do" in the STATA do-file editor. Adjust the paths to the folders: a) "MY_IN_PATH" leads to the folder that contains the 13 extracted SIPP data files and the 13 dictionary files. b) "MY_OUT_PATH" leads to an existing folder that will contain the manipulated data. c) "MY_TEMP_PATH" leads to an existing folder that will contain temporary files. d) "MY_DOFILE_PATH" leads to the folder that contains the 5 original do-files and the 13 do-files from NBER. e) "MY_OUT_TEXT_PATH" leads to an existing folder that will contain the final results. 5. Run the do-file "master_sipp_mobility_sorting.do" in STATA. The log-files with the results and the figures are saved to "MY_OUT_TEXT_PATH".