.. _introduction:


************
Introduction
************

This is the documentation of the project *Occupation Growth, Skill Prices, and Wage Inequality*. In this file we describe how you can replicate the paper's results as well as what files contain which part of the analysis.

Replicating results
*******************

The main dataset for our analysis is the SIAB Scientific Use File. Access to the data is subject to signing a contract with the Research Data Center of the German Federal Employment Agency at the Institute for Employment Research (IAB). Access for this project was granted under contract number 101357 providing access to SIAB-Regionalfile 7514. To replicate the paper, you will need to get access to the exact same file (named *siab_r_7514_v1.dta*) and put it into src/iab/orig.

After that, open a console, navigate to the project root directory and type (you will need a working python 3.7 version as well as packages contained in .environment.windows.yml or .environment.windows.yml - conda activate... -, Stata 14 and a working tex distribution):

python waf.py configure

python waf.py --many=0 build install

The option --many=0 prevents the estimation for the 120 occupations. Instead it takes estimates from src/remote_estimates computed by us. Change this to --many=1 for your own estimation. The options build install construct the paper and documentation and install it to the project's root directory.

Source code
***********

All of the project's source code is contain in src/. The folder *src/iab/prog* contains Stata 14 code to prepare and analyse the SIAB SUF. Most files output .dta files. The folders *src/figures* and *src/tables* contain python code for formatting the results as figures or tables. *src/mappings* contains the aggregation of the 120 occupations into 10 broad professions. *src/specifications/siab_samples* includes json files with information on the exact sample selection performed in *src/iab/prog*. The folder *src/specifications* also has information on the number of used profession groups and the analysis' main sample and methods. The folder *src/remote_estimates* contains the skill price and skill accumulation estimates for the 120 occupations. By using the option --many=0, instead of estimating the prices yourself, you can take the precompued estimates from this folder for a shorter runtime.
