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