.. _specifications:

**************
Specifications
**************

The folder *src/specifications* contains various files with sample restrictions and other restrictions.

*src/specifications/siab_samples* includes json files which describe how to select the sample (*src/iab/prog/sample_selector.do*). If you add a new json file, the analysis will automatically be done for this new sample.


*methods.json*:
---------------
This file includes the names of do files contained in *src/iab/prog*. When you add a string to the lists, the string needs to match one of the do files names except for .do extension. Adding a string to the *large_k_samples_main* list applies the method to the main SIAB sample with many professions. The main SIAB sample is determined in *src/specifications/main_sample.json*. Other important samples on which methods set in the *large_k_samples_main* are contained in *src/specifications/additional_important_samples*. The list *large_k_samples_rest* sets the methods which should be applied to all other samples with many occupations. Similarly, the lists *small_k_samples_main* and *small_k_samples_rest* include the methods for samples with a low number of occupations.

*profession_groups.json*:
-------------------------
The number of occupations to be analyzed is included in this file. It includes a list with the number of occupations to be analyzed (4 and 120) and includes a cutoff above which methods should be applied which are capable for a high occupation number.

*n_age_groups_in_main_sample.json*:
-----------------------------------
Contains the number of age groups used for estimating the skill accumulation function.
