.. _iab:

***
IAB
***


In the folder *src/iab* the SIAB dataset is edited. The whole folder is copied over to the build tree so that
we can directly use it when going to the FDZ of the IAB.

**Notice**: The complete estimation code and some parts of the descriptives are both applied to the prepared SIAB as well as
the monte carlo datasets!

In *src/iab/orig*:
==================

In *src/iab/orig*, we store the original data, i.e., the IAB scientific use file. As we are not allowed to provide you with the file ourselves,
you need copy the file over by hand after having downloaded the project code and having gotten access to it via signing your own contract.

In *src/iab/doc*:
=================

In *src/iab/doc*, pdf files are stored which describe the IAB dataset and how to prepare and use it.


In *src/iab/data*:
==================

In *src/iab/data*, nothing except for a readme file is stored in the source tree. However, in the build tree
we store edited data in here, i.e. the created SIAB panel dataset merged with information on tasks.


In *src/iab/prog*:
==================

In *src/iab/prog*, the STATA code is contained.
Files which begin with:

*1_* contain code for data preparation.

*2_* contain code for descriptive analyses.

*3_* contain estimation preparation and estimation code.

*4_* contain code which make use of the estimation results.


*1_01_basic_preparation.do*:
---------------------------------------------------------
.. include:: ../iab/prog/1_01_basic_preparation.do
    :start-after: /*
    :end-before: */

*1_02_impute_spell_errors.do*:
---------------------------------------------------------
.. include:: ../iab/prog/1_02_impute_spell_errors.do
    :start-after: /*
    :end-before: */

*1_03_impute_education.do*:
---------------------------------------------------------
.. include:: ../iab/prog/1_03_impute_education.do
    :start-after: /*
    :end-before: */

*1_04_make_panel.do*:
---------------------------------------------------------
.. include:: ../iab/prog/1_04_make_panel.do
    :start-after: /*
    :end-before: */

*1_05_rename_and_generate_variables.do*:
---------------------------------------------------------
.. include:: ../iab/prog/1_05_rename_and_generate_variables.do
    :start-after: /*
    :end-before: */

*1_06_slice_data.do*:
---------------------------------------------------------
.. include:: ../iab/prog/1_06_slice_data.do
    :start-after: /*
    :end-before: */

*1_07_correct_wage_break.do*:
---------------------------------------------------------
.. include:: ../iab/prog/1_07_correct_wage_break.do
    :start-after: /*
    :end-before: */

*1_08_impute_censored_wages.do*:
---------------------------------------------------------
.. include:: ../iab/prog/1_08_impute_censored_wages.do
    :start-after: /*
    :end-before: */

*1_09_combine_sliced_data_and_fill.do*:
---------------------------------------------------------
.. include:: ../iab/prog/1_09_combine_sliced_data_and_fill.do
    :start-after: /*
    :end-before: */

*1_10_add_enhanced_ue_olf.do*:
---------------------------------------------------------
.. include:: ../iab/prog/1_10_add_enhanced_ue_olf.do
    :start-after: /*
    :end-before: */

*2_01_wage_percentiles.do*:
---------------------------------------------------------
.. include:: ../iab/prog/2_01_wage_percentiles.do
    :start-after: /*
    :end-before: */

*2_02_wages_in_professions_over_time.do*:
---------------------------------------------------------
.. include:: ../iab/prog/2_02_wages_in_professions_over_time.do
    :start-after: /*
    :end-before: */

*2_03_employment_in_professions_over_time.do*:
---------------------------------------------------------
.. include:: ../iab/prog/2_03_employment_in_professions_over_time.do
    :start-after: /*
    :end-before: */

*2_04_life_cycle_dynamics.do*:
---------------------------------------------------------
.. include:: ../iab/prog/2_04_life_cycle_dynamics.do
    :start-after: /*
    :end-before: */

*2_05_entrants_by_cohort.do*:
---------------------------------------------------------
.. include:: ../iab/prog/2_05_entrants_by_cohort.do
    :start-after: /*
    :end-before: */

*2_06_wages_entrants_leavers.do*:
---------------------------------------------------------
.. include:: ../iab/prog/2_06_wages_entrants_leavers.do
    :start-after: /*
    :end-before: */

*2_07_wage_growth_between_age_groups.do*:
---------------------------------------------------------
.. include:: ../iab/prog/2_07_wage_growth_between_age_groups.do
    :start-after: /*
    :end-before: */

*2_08_wage_growth_in_professions_over_time.do*:
---------------------------------------------------------
.. include:: ../iab/prog/2_08_wage_growth_in_professions_over_time.do
    :start-after: /*
    :end-before: */

*2_09_mapping_profession.do*:
---------------------------------------------------------
.. include:: ../iab/prog/2_09_mapping_profession.do
    :start-after: /*
    :end-before: */

*2_11_age_in_professions_over_time.do*:
---------------------------------------------------------
.. include:: ../iab/prog/2_11_age_in_professions_over_time.do
    :start-after: /*
    :end-before: */

*2_12_var_in_professions_over_time.do*:
---------------------------------------------------------
.. include:: ../iab/prog/2_12_var_in_professions_over_time.do
    :start-after: /*
    :end-before: */

*2_13_switching_dist.py*:
---------------------------------------------------------
.. include:: ../iab/prog/2_13_switching_dist.py
    :start-after: """
    :end-before: """

*2_14_dist_variables.do*:
---------------------------------------------------------
.. include:: ../iab/prog/2_14_dist_variables.do
    :start-after: /*
    :end-before: */

*2_15_wage_gains_by_switch.do*:
---------------------------------------------------------
.. include:: ../iab/prog/2_15_wage_gains_by_switch.do
    :start-after: /*
    :end-before: */

*3_01_generate_regressors.do*:
---------------------------------------------------------
.. include:: ../iab/prog/3_01_generate_regressors.do
    :start-after: /*
    :end-before: */

*3_02_est_prices_ols_constant_skills.do*:
---------------------------------------------------------
.. include:: ../iab/prog/3_02_est_prices_ols_constant_skills.do
    :start-after: /*
    :end-before: */

*3_03_est_prices_ols_age_acc.do*:
---------------------------------------------------------
.. include:: ../iab/prog/3_03_est_prices_ols_age_acc.do
    :start-after: /*
    :end-before: */

*3_03_est_prices_ols_age_acc_dummies.do*:
---------------------------------------------------------
.. include:: ../iab/prog/3_03_est_prices_ols_age_acc_dummies.do
    :start-after: /*
    :end-before: */

*3_03_est_prices_ols_age_acc_fixed.do*:
---------------------------------------------------------
.. include:: ../iab/prog/3_03_est_prices_ols_age_acc_fixed.do
    :start-after: /*
    :end-before: */

*3_03_est_prices_ols_age_acc_many.do*:
---------------------------------------------------------
.. include:: ../iab/prog/3_03_est_prices_ols_age_acc_many.do
    :start-after: /*
    :end-before: */

*3_04_est_prices_cortes.do*:
---------------------------------------------------------
.. include:: ../iab/prog/3_04_est_prices_cortes.do
    :start-after: /*
    :end-before: */

*3_04_est_prices_cortes_eq8.do*:
---------------------------------------------------------
.. include:: ../iab/prog/3_04_est_prices_cortes_eq8.do
    :start-after: /*
    :end-before: */

*3_04_est_prices_cortes_fixed.do*:
---------------------------------------------------------
.. include:: ../iab/prog/3_04_est_prices_cortes_fixed.do
    :start-after: /*
    :end-before: */

*3_05_est_prices_cortes_stint.do*:
---------------------------------------------------------
.. include:: ../iab/prog/3_05_est_prices_cortes_stint.do
    :start-after: /*
    :end-before: */

*3_05_est_prices_cortes_stint_fixed.do*:
---------------------------------------------------------
.. include:: ../iab/prog/3_05_est_prices_cortes_stint_fixed.do
    :start-after: /*
    :end-before: */

*3_06_est_prices_iv2.do*:
---------------------------------------------------------
.. include:: ../iab/prog/3_06_est_prices_iv2.do
    :start-after: /*
    :end-before: */

*3_08_est_prices_ols_acc_many.do*:
---------------------------------------------------------
.. include:: ../iab/prog/3_08_est_prices_ols_acc_many.do
    :start-after: /*
    :end-before: */

*3_08_est_prices_ols_age_educ_acc_many.do*:
---------------------------------------------------------
.. include:: ../iab/prog/3_08_est_prices_ols_age_educ_acc_many.do
    :start-after: /*
    :end-before: */

*3_12_est_prices_and_amenities.do*:
---------------------------------------------------------
.. include:: ../iab/prog/3_12_est_prices_and_amenities.do
    :start-after: /*
    :end-before: */

*3_13_est_prices_ols_same_skill_acc.do*:
---------------------------------------------------------
.. include:: ../iab/prog/3_13_est_prices_ols_same_skill_acc.do
    :start-after: /*
    :end-before: */

*3_13_est_prices_ols_same_skill_acc_many.do*:
---------------------------------------------------------
.. include:: ../iab/prog/3_13_est_prices_ols_same_skill_acc_many.do
    :start-after: /*
    :end-before: */

*4_01_decompose_wages_into_prices_and_skills.do*:
---------------------------------------------------------
.. include:: ../iab/prog/4_01_decompose_wages_into_prices_and_skills.do
    :start-after: /*
    :end-before: */

*4_02_decompose_skills_into_accumulation_and_selection.do*:
---------------------------------------------------------------
.. include:: ../iab/prog/4_02_decompose_skills_into_accumulation_and_selection.do
    :start-after: /*
    :end-before: */

*4_03_decompose_selection_into_age_cats.do*
-------------------------------------------
.. include:: ../iab/prog/4_03_decompose_selection_into_age_cats.do
    :start-after: /*
    :end-before: */

*4_04_decompose_selection_into_changing_entrants_and_accumulation.do*
---------------------------------------------------------------------
.. include:: ../iab/prog/4_04_decompose_selection_into_changing_entrants_and_accumulation.do
    :start-after: /*
    :end-before: */

*4_04_decompose_selection_into_groups.do*
-----------------------------------------
.. include:: ../iab/prog/4_04_decompose_selection_into_groups.do
    :start-after: /*
    :end-before: */

*4_05_counterfactual_individual_wages.do*:
---------------------------------------------------------
.. include:: ../iab/prog/4_05_counterfactual_individual_wages.do
    :start-after: /*
    :end-before: */

*4_06_avg_skill_acc_by_percentile.do*:
---------------------------------------------------------
.. include:: ../iab/prog/4_06_avg_skill_acc_by_percentile.do
    :start-after: /*
    :end-before: */

*4_07_variance_decomposition.do*:
---------------------------------------------------------
.. include:: ../iab/prog/4_07_variance_decomposition.do
    :start-after: /*
    :end-before: */

*4_09_counterfactual_percentiles.do*:
---------------------------------------------------------
.. include:: ../iab/prog/4_09_counterfactual_percentiles.do
    :start-after: /*
    :end-before: */

*4_10_profession_shares_by_percentile.do*:
---------------------------------------------------------
.. include:: ../iab/prog/4_10_profession_shares_by_percentile.do
    :start-after: /*
    :end-before: */

*4_12_gap_share_since_last_obs_by_percentile.do*:
---------------------------------------------------------
.. include:: ../iab/prog/4_12_gap_share_since_last_obs_by_percentile.do
    :start-after: /*
    :end-before: */

*estimation_with_many_groups_inv.py*:
---------------------------------------------------------
.. include:: ../iab/prog/estimation_with_many_groups_inv.py
    :start-after: """
    :end-before: """

*extract_prices_amenities_and_skill_acc_age.do*:
---------------------------------------------------------
.. include:: ../iab/prog/extract_prices_amenities_and_skill_acc_age.do
    :start-after: /*
    :end-before: */

*extract_prices_and_skill_acc_age.do*:
---------------------------------------------------------
.. include:: ../iab/prog/extract_prices_and_skill_acc_age.do
    :start-after: /*
    :end-before: */

*extract_prices_and_skill_acc_age_cortes_fixed.do*:
---------------------------------------------------------
.. include:: ../iab/prog/extract_prices_and_skill_acc_age_cortes_fixed.do
    :start-after: /*
    :end-before: */

*extract_prices_and_skill_acc_age_dummies.do*:
---------------------------------------------------------
.. include:: ../iab/prog/extract_prices_and_skill_acc_age_dummies.do
    :start-after: /*
    :end-before: */

*extract_prices_and_skill_acc_age_fixed.do*:
---------------------------------------------------------
.. include:: ../iab/prog/extract_prices_and_skill_acc_age_fixed.do
    :start-after: /*
    :end-before: */

*extract_prices_and_skill_acc_cortes.do*:
---------------------------------------------------------
.. include:: ../iab/prog/extract_prices_and_skill_acc_cortes.do
    :start-after: /*
    :end-before: */

*sample_selector.do*:
---------------------------------------------------------
.. include:: ../iab/prog/sample_selector.do
    :start-after: /*
    :end-before: */