We have two sets of programs, which are needed to be executed in order to generate the results. Run them in the following order. 00-1-0MergeEmploymentSpelldata.sas: This programs fetches the raw registers and merge them together and do a bit of data manipulation. 00-0-1-Master.do: This file calls the relevant stata do files and runs all the code and produce the output.