/****************************************************************************** Projekt: 1839 Author: Anna Herget (ah), Regina Riphahn (rr) Title: The untold story of Midijobs Created by ah *******************************************************************************/ /******************************************************************************* * In this Do-File I drop variables that I do not need for my analysis (i.e. they contain information on unemployment spell which I do not need) * I restrict my data to the years 2002-2017. Midijobs were introduced on April 1st 2003, therefore one year prior to the introduction is enough to evaluate their employment prior to a Midijob. *******************************************************************************/ **** Clear the data store of stata. clear all **** Close other log files if there are open ones. cap log close **** Turn on the information on the speed of each command. set rmsg on **** This command increases the default number of variables. **** This is especially important in the next step. set maxvar 32767 **** Open a log file to document the results of my do file. log using "$log/00_Vorbereitung_Replicatin", text replace **** Load the original SIAB data use "$orig/SIAB_7517_v1.dta", clear **** Drop variables that mainly contain information on unemployment spells because **** I do not need them for my analysis. drop estatvor estatnach profil art_kuend arbzeit restanspruch traeger alo_beg alo_dau wo_rd famst kind leih befrist **** Restrict the SIAB to the relevant years (2002-2017). drop if year(begepi)<2002 **** Save Dataset (Name: vorbereitung). save "$data\SIAB_7517_v1_vorbereitung.dta", replace ******************************************************************************** ******************************************************************************** **** Close the log file I opened in line 30. log close **** Clear the memory. clear