****************************************************************************************** *******************BIBB/BAuA Erwerbstägenbefragung 2018********************************* **************************Wirtschaftssektoren ******************************************** **************aus der Klassifizierug der Wirtschaftszweige 2008*************************** ****************************************************************************************** ****************************************************************************************** /* Herkunft: BIBB-FDZ Stataversion: 15.0 MP Quelle: Statistisches Bundesamt, (2008): Klassifikation der Wirtschaftszweige mit Erläuterungen Ausgabe 2008. Statistisches Bundesamt: Wiesbaden. */ ****************************************************************************************** ****************************************************************************************** *********************Recodieren der Variablen rename WZ2008 f513nace generate sector = 1 if f513nace<5 & f513nace>-1 replace sector = 2 if f513nace>=5 & f513nace<=9 replace sector = 3 if f513nace==10 | f513nace==11 | f513nace==12 replace sector = 4 if f513nace>=13 & f513nace<=15 replace sector = 5 if f513nace==16 | f513nace==17 replace sector = 6 if f513nace==18 replace sector = 7 if f513nace>=19 & f513nace<=23 replace sector = 8 if f513nace>=24 & f513nace<=30 replace sector = 9 if f513nace==31 | f513nace==32 replace sector = 10 if f513nace==37 | f513nace==38 replace sector = 2 if f513nace==35 | f513nace==36 | f513nace==39 replace sector = 11 if f513nace>=41 & f513nace<=43 replace sector = 12 if f513nace>=45 & f513nace<=47 | f513nace==33 | f513nace==95 replace sector = 13 if f513nace==55 | f513nace==56 replace sector = 14 if f513nace>=49 & f513nace<=53 | f513nace>=58 & f513nace<=63 replace sector = 15 if f513nace==64 | f513nace==65 | f513nace==66 replace sector = 16 if f513nace==68 replace sector = 12 if f513nace==77 replace sector = 17 if f513nace>=69 & f513nace<=74 | f513nace>=78 & f513nace<=82 | f513nace==95 replace sector = 18 if f513nace==84 replace sector = 19 if f513nace==85 replace sector = 20 if f513nace>=86 & f513nace<=88 | f513nace==75 replace sector = 18 if f513nace==94 replace sector = 14 if f513nace>=90 & f513nace<=93 replace sector = 21 if f513nace==96 | f513nace==98 | f513nace==97 replace sector = 7 if f513nace==201 replace sector = 8 if f513nace==202 replace sector = 21 if f513nace==203 replace sector = 18 if f513nace==99 replace sector = 11 if f513nace==204 replace sector=-1 if f513nace==-1 replace sector=. if f513nace==. rename sector Sector08 rename f513nace WZ2008 ****************************************************************************************** **************Labeln der Variablen label values Sector08 lsector label variable Sector08 "Wirtschaftszweige in 21 Kategorien nach WZ2008" ****************************************************************************************** ****************************************************************************************** *******************BIBB/BAuA Erwerbstätigenbefragung 2018********************************* *******************************Branchen*************************************************** **************aus der Klassifizierug der Wirtschaftszweige 2008*************************** ****************************************************************************************** ****************************************************************************************** /* Herkunft: BIBB-FDZ Stataversion: 15.0 MP Quelle: Statistisches Bundesamt, (2008): Klassifikation der Wirtschaftszweige mit Erläuterungen Ausgabe 2008. Statistisches Bundesamt: Wiesbaden. */ ****************************************************************************************** ****************************************************************************************** *********************Recodieren der Variablen generate Branche08 = 1 if Sector08<3 & Sector08>-1 replace Branche08 = 2 if Sector08>=3 & Sector08<=7 replace Branche08 = 3 if Sector08==8 replace Branche08 = 2 if Sector08==9 | Sector08==10 replace Branche08 = 4 if Sector08==11 replace Branche08 = 5 if Sector08==12 replace Branche08 = 6 if Sector08>=13 & Sector08<.| Sector08==14 replace Branche08 = 7 if Sector08==15 replace Branche08 = 6 if Sector08==16 replace Branche08 = 8 if Sector08==17 replace Branche08 = 9 if Sector08==18 | Sector08==19 replace Branche08 = 10 if Sector08==20 replace Branche08 = 6 if Sector08==21 replace Branche08=Sector08 if Branche08==. ****************************************************************************************** **************Labeln der Variablen label values Branche08 lbranche label variable Branche08 "10er-Rekodierung Wirtschaftszweige nach WZ 2008" ******************************************************************************************