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:¶
Restrict sample size for testruns and generate variables which mark parallel spells.
1_02_impute_spell_errors.do:¶
Fill gaps which can be assumed to be due to data problems with previous spell. Description how to get those can be found in MR_06-07.
1_03_impute_education.do:¶
Impute education variables where missing or inconsistently reported over time and across employers. We construct the variable IP1 as described by Fitzenberger (2005).
1_04_make_panel.do:¶
Bring SIAB into panel form, take the longest spell of a person in one period as the observation for this period. So after this step, there will be no multiple spells left. Create a yearly panel from 1975 and 2014.
1_05_rename_and_generate_variables.do:¶
Rename variables, relabel them and generate some new variables including the deflator for prices as of 2010 and indicators whether the wage was censored.
1_06_slice_data.do:¶
Make some basic restrictions. Save modular structure of datasets for what follows as imputations and wage break corrections are done separately for men and women and unemployed / olf are appended later.
1_07_correct_wage_break.do:¶
Correct the structural wage break in 1984, as from then on bonuses are included. Do so by following Dustmann, Ludsteck and Schönberg (2009) and Fitzenberger (1999). Additionally, extrapolate up to social security limit as their method has problems at the boundaries.
1_08_impute_censored_wages.do:¶
Impute wages above the social security maximum using same tobit method as in DLS (2009). Allow for different variances in each education x age-group cell, i.e. highly educated and old people have another wage variance than young and low educated. Weight the observations by the length of the observed employment spell within a year as longer spells contribute more to wage inequality than smaller ones. In addition, we smooth variables (3 period rolling averages) and generate growth variables.
1_09_combine_sliced_data_and_fill.do:¶
Append unemployment/olf datasets and employment datasets. Then fill up missing years between ages 21 and 65. Label those missing years as olf. They can be true olf, civil servant, self employed, dead etc. Delete marginal spells.
1_10_add_enhanced_ue_olf.do:¶
Impute profession and wages when unemployment or out of labor force with the profession at the end of the non employment spell or the beginning of the non employment spell depending on were the earned wage was lower. That is, create variables which are equal to the lower earning profession pre or post non employment. Impute wages as the lower wage as well.
2_01_wage_percentiles.do:¶
Compute the evolution of 15th, 50th and 85th log wage percentile over time relative to the percentile values in 1985.
2_02_wages_in_professions_over_time.do:¶
Compute mean wages in professions over time.
2_03_employment_in_professions_over_time.do:¶
Compute employment shares in professions over time.
2_04_life_cycle_dynamics.do:¶
Compute employment shares and wages for workers who began in a profession at a certain age.
2_05_entrants_by_cohort.do:¶
Compute number of entrants by profession and cohort.
2_06_wages_entrants_leavers.do:¶
Compute wages of entrants, leavers and stayers by occupation.
2_07_wage_growth_between_age_groups.do:¶
Compute yearly wage growth of young and middle old profession stayers relative to old profession stayers over time.
2_08_wage_growth_in_professions_over_time.do:¶
Compute mean individual wage growth in professions over time.
2_09_mapping_profession.do:¶
Save mapping between occupations and professions.
2_11_age_in_professions_over_time.do:¶
Compute average age in professions over time.
2_12_var_in_professions_over_time.do:¶
Compute variance in professions over time.
2_13_switching_dist.py:¶
Compute fraction of stayers and switchers by profession.
2_14_dist_variables.do:¶
Save variables for density plots.
2_15_wage_gains_by_switch.do:¶
Compute wage growth of switchers depending on current and previous occupation.
3_01_generate_regressors.do:¶
Generate I_bars for the estimation.
3_02_est_prices_ols_constant_skills.do:¶
Estimate the prices with constant skill assumption within professions with OLS.
3_03_est_prices_ols_age_acc.do:¶
Estimate the prices with changing skill assumption within professions with OLS, control for age as well as previous occupation.
3_03_est_prices_ols_age_acc_dummies.do:¶
Estimate the prices with changing skill assumption within professions with OLS, control for age as well as previous occupation. Save standard errors for skill accumulation estimates.
3_03_est_prices_ols_age_acc_fixed.do:¶
Estimate the prices with changing skill assumption within professions with OLS, control for age as well as previous occupation. Replace I_bars with a dummy.
3_03_est_prices_ols_age_acc_many.do:¶
Prepare baseline method for estimation with many professions, for SIAB only. Passed on to estimation_with_many_groups_inv.py.
3_04_est_prices_cortes.do:¶
Estimate the prices with Cortes baseline method.
3_04_est_prices_cortes_eq8.do:¶
Estimate the prices with Cortes baseline Equation 8.
3_04_est_prices_cortes_fixed.do:¶
Estimate the prices with Cortes baseline method. Use occupation times year fixed effects to get the coefficients.
3_05_est_prices_cortes_stint.do:¶
Estimate the prices with Cortes method but use a different worker x occupation fixed effect for every new stint (when revisiting an occupation).
3_05_est_prices_cortes_stint_fixed.do:¶
Estimate the prices with Cortes method but use a different worker x occupation fixed effect for every new stint (when revisiting an occupation). Use occupation times year fixed effects to get the coefficients.
3_06_est_prices_iv2.do:¶
Estimate the prices with changing skill assumption within professions with IV, control for age as well as previous occupation. Instrument I_bar with previous choices.
3_08_est_prices_ols_acc_many.do:¶
Prepare for estimation with many professions. Control for age, previous occupation and education. Passed on to estimation_with_many_groups_inv.py.
3_08_est_prices_ols_age_educ_acc_many.do:¶
Prepare for estimation with many professions. Control for age, previous occupation and education. Passed on to estimation_with_many_groups_inv.py.
3_12_est_prices_and_amenities.do:¶
Estimate the prices with changing skill assumption within professions with OLS. Also estimate how amenities have changed by occupation.
3_13_est_prices_ols_same_skill_acc.do:¶
Estimate the prices with changing skill assumption but same across speed across professions with OLS.
3_13_est_prices_ols_same_skill_acc_many.do:¶
Prepare for estimation with many professions. Same skill accumulation assumed for all occupations. Passed on to estimation_with_many_groups_inv.py.
4_01_decompose_wages_into_prices_and_skills.do:¶
Compute the implied skill changes over time as the residual between wage and price changes in professions.
4_02_decompose_skills_into_accumulation_and_selection.do:¶
Compute the implied skill changes and decompose it into accumulation and selection for professions.
4_03_decompose_selection_into_age_cats.do¶
Decompose the computed selection term into the influence from age groups.
Both for entrants and leavers.
4_04_decompose_selection_into_changing_entrants_and_accumulation.do¶
Decompose the computed selection term into the influence from entrants vs accumulation by age group.
Both for entrants and leavers.
4_04_decompose_selection_into_groups.do¶
Decompose the computed selection term into the influence from sources/destination by age group.
Both for entrants and leavers.
4_05_counterfactual_individual_wages.do:¶
Simulate wage growth of workers over the life cycle when only prices change or only skill accumulation were causing wage growth etc.
4_06_avg_skill_acc_by_percentile.do:¶
Compute average skill accumulation by percentile of the wage distribution.
4_07_variance_decomposition.do:¶
Decompose change in variance of wages into within and between occupation effect.
4_09_counterfactual_percentiles.do:¶
Compute evolution of 15th, 50th, and 85th percentile of simulated wages.
estimation_with_many_groups_inv.py:¶
Estimate prices and skill accumulation with many groups (120 occupations).
extract_prices_amenities_and_skill_acc_age.do:¶
Extract the prices and amenity estimates from the regression for OLS.
extract_prices_and_skill_acc_age.do:¶
Extract the prices from the regression for OLS.
extract_prices_and_skill_acc_age_cortes_fixed.do:¶
Extract the prices from the regression for Cortes method with occupation times year fixed effects.
extract_prices_and_skill_acc_age_dummies.do:¶
Extract the prices from the regression for OLS with standard errors for skill accumulation estimates.
extract_prices_and_skill_acc_age_fixed.do:¶
Extract the prices from the regression for OLS with dummies replacing I_bar.
extract_prices_and_skill_acc_cortes.do:¶
Extract the prices from the regression for Cortes method.
sample_selector.do:¶
Restrict the sample.