******************************************************************************** *******************BIBB/BAuA Erwerbstätigenbefragung 2018*********************** ***************Codieren der replace Berufsfelddefinitione des BIBB************** **************aus der Klassifizierug der Berufe 1992**************************** ******************Mit SV-Variablen nachbildbar********************************** ******************************************************************************** ******************************************************************************** /* Herkunft: BIBB-FDZ Stataversion: 15.1 MP Quelle: Tiemann, Michael, et al , (2008): replace Berufsfeld-Definitionen des BIBB Bundesinstitut für Berufsbildung (Hg ): Bonn */ ******************************************************************************** ******************************************************************************** *********************Recodieren der Variablen foreach x of varlist F100_KldB92 F1401_KldB92 F1609_KldB92 F1610_KldB92 { gen h_2s_`x'=trunc(`x'/100) //KldB92 2-steller bilden gen h_3s_`x'=trunc(`x'/10) //KldB92 3-steller bilden } foreach x of varlist F100_KldB92 F1401_KldB92 F1609_KldB92 F1610_KldB92 { gen `x'_BF=0 replace `x'_BF= 1 if h_2s_`x' <= 6 & h_2s_`x'>0 replace `x'_BF= 27 if h_3s_`x'==53 replace `x'_BF= 2 if h_2s_`x' == 7 | h_2s_`x' ==8 replace `x'_BF= 3 if h_2s_`x' >= 10 & h_2s_`x' <= 13 replace `x'_BF= 4 if h_2s_`x' >= 14 & h_2s_`x' <= 15 replace `x'_BF= 5 if h_2s_`x' >= 16 & h_2s_`x' <= 17 replace `x'_BF= 6 if h_2s_`x' >= 19 & h_2s_`x' <= 24 replace `x'_BF= 7 if h_2s_`x' == 25 | h_2s_`x' == 26 | h_2s_`x' == 32 replace `x'_BF= 8 if h_2s_`x' == 27 | h_2s_`x' == 29 | h_2s_`x' == 55 replace `x'_BF= 8 if h_3s_`x' == 540 | h_3s_`x' == 541 | h_3s_`x' == 549 replace `x'_BF= 9 if h_2s_`x' == 28 replace `x'_BF= 10 if h_2s_`x' == 30 replace `x'_BF= 11 if h_2s_`x' == 31 replace `x'_BF= 9 if h_3s_`x' == 318 replace `x'_BF= 12 if h_2s_`x' == 33 | h_2s_`x' == 34 | h_2s_`x' == 36 replace `x'_BF= 13 if h_2s_`x' == 35 | h_2s_`x' == 37 replace `x'_BF= 14 if h_2s_`x' == 39 replace `x'_BF= 15 if h_2s_`x' == 40 replace `x'_BF= 16 if h_2s_`x' == 41 replace `x'_BF= 17 if h_2s_`x' == 42 | h_2s_`x' == 43 replace `x'_BF= 18 if h_2s_`x' == 18 | (h_2s_`x' >= 44 & h_2s_`x' <= 50) replace `x'_BF= 18 if h_3s_`x' == 510 | h_3s_`x' == 511 replace `x'_BF= 9 if h_3s_`x' == 512 replace `x'_BF= 18 if h_3s_`x' >= 544 & h_3s_`x' <= 546 replace `x'_BF= 19 if h_2s_`x' == 52 replace `x'_BF= 20 if h_2s_`x' == 53 replace `x'_BF= 21 if h_2s_`x' == 60 replace `x'_BF= 25 if h_3s_`x' == 604 replace `x'_BF= 22 if h_2s_`x' == 61 replace `x'_BF= 23 if h_2s_`x' == 62 replace `x'_BF= 25 if h_3s_`x' == 624 replace `x'_BF= 23 if h_3s_`x' == 651 replace `x'_BF= 24 if h_2s_`x' == 64 replace `x'_BF= 26 if h_2s_`x' == 63 replace `x'_BF= 27 if h_2s_`x' == 66 replace `x'_BF= 28 if h_2s_`x' == 67 replace `x'_BF= 30 if h_3s_`x' == 678 replace `x'_BF= 29 if h_2s_`x' == 69 replace `x'_BF= 30 if h_2s_`x' == 68 | h_2s_`x' == 70 replace `x'_BF= 27 if h_3s_`x' == 685 replace `x'_BF= 31 if h_3s_`x' == 703 replace `x'_BF= 32 if h_2s_`x' == 71 replace `x'_BF= 43 if h_3s_`x' == 716 replace `x'_BF= 33 if h_2s_`x' == 72 replace `x'_BF= 34 if h_2s_`x' == 74 replace `x'_BF= 34 if h_3s_`x' == 731 replace `x'_BF= 40 if h_3s_`x' == 735 replace `x'_BF= 35 if h_3s_`x' >= 750 & h_3s_`x' <= 753 replace `x'_BF= 39 if h_3s_`x' == 754 replace `x'_BF= 31 if h_3s_`x' == 755 replace `x'_BF= 38 if h_3s_`x' == 756 replace `x'_BF= 35 if h_3s_`x' == 757 replace `x'_BF= 36 if h_2s_`x' == 76 replace `x'_BF= 37 if h_3s_`x' == 771 | h_3s_`x' == 772 | h_3s_`x' == 756 replace `x'_BF= 38 if h_3s_`x' >= 774 & h_3s_`x' <= 779 replace `x'_BF= 27 if h_3s_`x' == 773 replace `x'_BF= 39 if h_2s_`x' == 78 replace `x'_BF= 40 if h_3s_`x' >= 782 & h_3s_`x' <= 784 replace `x'_BF= 39 if h_3s_`x' == 785 | h_3s_`x' == 786 replace `x'_BF= 39 if h_3s_`x' == 788 | h_3s_`x' == 789 replace `x'_BF= 36 if h_3s_`x' == 787 replace `x'_BF= 41 if h_2s_`x' == 79 replace `x'_BF= 20 if h_3s_`x' == 794 replace `x'_BF= 42 if h_3s_`x' == 796 replace `x'_BF= 43 if h_3s_`x' >= 801 & h_3s_`x' <= 803 replace `x'_BF= 48 if h_3s_`x' == 805 replace `x'_BF= 5 if h_3s_`x' == 804 replace `x'_BF= 44 if h_2s_`x' == 81 replace `x'_BF= 51 if h_2s_`x' == 82 replace `x'_BF= 45 if h_3s_`x' == 831 | h_3s_`x' == 832 | h_3s_`x' == 833 | h_3s_`x' == 835 | h_3s_`x' == 838 replace `x'_BF= 46 if h_3s_`x' == 834 | h_3s_`x' == 836 | h_3s_`x' == 837 | h_3s_`x' == 839 replace `x'_BF= 47 if h_2s_`x' == 84 replace `x'_BF= 48 if h_2s_`x' == 85 replace `x'_BF= 49 if h_2s_`x' == 86 | h_2s_`x' == 89 replace `x'_BF= 48 if h_3s_`x' == 864 replace `x'_BF= 48 if h_3s_`x' == 866 replace `x'_BF= 50 if h_2s_`x' == 87 replace `x'_BF= 50 if h_3s_`x' == 652 replace `x'_BF= 51 if h_3s_`x' == 880 | h_3s_`x' == 882 | h_3s_`x' == 884 replace `x'_BF= 35 if h_3s_`x' == 881 replace `x'_BF= 22 if h_3s_`x' == 883 replace `x'_BF= 49 if h_3s_`x' == 885 replace `x'_BF= 49 if h_3s_`x' == 886 replace `x'_BF= 31 if h_3s_`x' == 887 replace `x'_BF= 52 if h_2s_`x' == 90 replace `x'_BF= 53 if h_2s_`x' == 91 replace `x'_BF= 53 if h_3s_`x' == 921 replace `x'_BF= 54 if h_2s_`x' == 93 replace `x'_BF= 54 if h_3s_`x' == 923 replace `x'_BF= 98 if h_2s_`x' >= 95 & h_2s_`x'<. replace `x'_BF= 9 if h_3s_`x' == 514 replace `x'_BF= 34 if h_3s_`x' == 732 replace `x'_BF=27 if h_3s_`x'==686 replace `x'_BF=27 if h_3s_`x'==706 replace `x'_BF=28 if h_3s_`x'==683 replace `x'_BF=30 if h_3s_`x'==868 replace `x'_BF=43 if h_3s_`x'==804 replace `x'_BF=. if h_3s_`x'==. replace `x'_BF=-1 if `x'<0 gen `x'_BHF=0 replace `x'_BHF=1 if `x'_BF==1 | `x'_BF==2 replace `x'_BHF=2 if `x'_BF==3 | `x'_BF==7 | `x'_BF==9 | `x'_BF==10 | `x'_BF==11 | `x'_BF==13 | `x'_BF==15 | `x'_BF==18 | `x'_BF==20 | `x'_BF==42 replace `x'_BHF=3 if `x'_BF==4 | `x'_BF==5 | `x'_BF==6 | `x'_BF==8 | `x'_BF==12 | `x'_BF==17 replace `x'_BHF=4 if `x'_BF==27 | `x'_BF==28 | `x'_BF==30 replace `x'_BHF=5 if `x'_BF==19 | `x'_BF==32 | `x'_BF==33 | `x'_BF==33 | `x'_BF==34 | `x'_BF==41 | `x'_BF==43 replace `x'_BHF=6 if `x'_BF==14 | `x'_BF==16 | `x'_BF==53 | `x'_BF==54 replace `x'_BHF=7 if `x'_BF==29 | `x'_BF==36 | `x'_BF==37 | `x'_BF==39 | `x'_BF==40 replace `x'_BHF=8 if `x'_BF==21 | `x'_BF==22 | `x'_BF==23 | `x'_BF==24 | `x'_BF==25 | `x'_BF==26 | `x'_BF==38 replace `x'_BHF=9 if `x'_BF==35 | `x'_BF==44 replace `x'_BHF=10 if `x'_BF==31 | `x'_BF==45 | `x'_BF==46 | `x'_BF==51 replace `x'_BHF=11 if `x'_BF==47 | `x'_BF==48 | `x'_BF==49 | `x'_BF==52 replace `x'_BHF=12 if `x'_BF==50 replace `x'_BHF=`x'_BF if `x'_BF<0 | `x'_BF==. replace `x'_BHF=-1 if `x'<0 replace `x'_BHF=-4 if `x'_BF==98 gen `x'_BOF=0 replace `x'_BOF=1 if `x'_BHF==1 | `x'_BHF==2 | `x'_BHF==3 replace `x'_BOF=2 if `x'_BHF==4 | `x'_BHF==5 | `x'_BHF==6 | `x'_BHF==7 replace `x'_BOF=3 if `x'_BHF==8 | `x'_BHF==9 | `x'_BHF==10 | `x'_BHF==11 | `x'_BHF==12 replace `x'_BOF=`x'_BF if `x'_BF<0 | `x'_BF==. replace `x'_BOF=-1 if `x'<0 replace `x'_BOF=-4 if `x'_BF==98 } rename *_KldB92_BF *_kldb92_BF rename *_KldB92_BHF *_kldb92_BHF rename *_KldB92_BOF *_kldb92_BOF drop h_* ******************************************************************************** ******************************************************************************** **********Labeln der Variablen #delimit ; label define Berufsfeld92 -111 "Auschluss aufgrund zu kleiner Besetzungsstärke" -4 "nicht zuordenbar" -1 "Kein gültiger Berufscode" 1 "Land-, Tier-, Forstwirtschaft, Gartenbau" 2 "Bergleute, Mineralgewinner" 3 "Steinbearbeitung, Baustoffherstellung, Keramik-, Glasberufe" 4 "Chemie-, Kunststoffberufe" 5 "Papierherstellung, -verarbeitung, Druck" 6 "Metallerzeugung, -bearbeitung" 7 "Metall-, Anlagenbau, Blechkonstruktion, Installation, Montierer/innen" 8 "Industrie-, Werkzeugmechaniker/innen" 9 "Fahr-, Flugzeugbau, Wartungsberufe" 10 "Feinwerktechnische, verwandte Berufe" 11 "Elektroberufe" 12 "Spinnberufe, Textilhersteller/innen, Textilveredler/innen" 13 "Textilverarbeitung, Lederherstellung" 14 "Back- Kondit|-, Süßwarenherstellung" 15 "Fleischer/innen" 16 "Köch(e/innen)" 17 "Getränke, Genussmittelherstellung, übrige Ernährungsberufe" 18 "Bauberufe, Holz-, Kunststoffbe- und -verarbeitung" 19 "Warenprüfer/innen, Versandfertigmacher/innen" 20 "Hilfsarbeiter/innen o.n.T." 21 "Ingenieur(e/innen)" 22 "Chemiker/innen, Physiker/innen, Naturwissenschaftler/innen" 23 "Techniker/innen" 24 "Technische Zeichner/innen, verwandte Berufe" 25 "Vermessungswesen" 26 "Technische Sonderkräfte" 27 "Verkaufsberufe (Einzelhandel)" 28 "Groß-, Einzelhandelskaufleute" 29 "Bank-, Versicherungsfachleute" 30 "Sonstige kaufmännische Berufe (ohne Groß-, Einzelhandel, Kreditgewerbe)" 31 "Werbefachleute" 32 "Verkehrsberufe" 33 "Luft-, Schifffahrtsberufe" 34 "Packer/innen, Lager-, Transp|tarbeiter/innen" 35 "Geschäftsführung, Wirtschaftsprüfung, Unternehmensberatung" 36 "Verwaltungsberufe im ÖD" 37 "Finanz-, Rechnungswesen, Buchhaltung" 38 "IT-Kernberufe" 39 "Kaufmännische Büroberufe" 40 "Bürohilfsberufe, Telefonist(en/innen)" 41 "Personenschutz-, Wachberufe" 42 "Hausmeister/innen" 43 "Sicherheitsberufe" 44 "Rechtsberufe" 45 "Künstler/innen, Musiker/innen" 46 "Designer/innen, Fotograf(en/innen), Reklamehersteller/innen" 47 "Gesundheitsberufe mit Approbation" 48 "Gesundheitsberufe ohne Approbation" 49 "Soziale Berufe" 50 "Lehrer/innen" 51 "Publizistische, Bibliotheks-, Übersetzungs-, verwandte Wissenschaftsberufe" 52 "Berufe in der Körperpflege" 53 "Hotel-, Gaststättenberufe, Hauswirtschaft" 54 "Reinigungs-, Ents|gungsberufe" 55 "sonstige Berufe" 98 "onA"; #delimit cr label val *kldb92_BF Berufsfeld92 label var F100_kldb92_BF "Berufsfelddefinition des BIBB f. Erwerbsberuf, KldB1992" label var F1401_kldb92_BF "Berufsfelddefinition des BIBB f. 1. Erwerbsberuf, KldB1992" label var F1609_kldb92_BF "Berufsfelddefinition des BIBB f. Erwerbsberuf des Vaters, KldB1992" label var F1610_kldb92_BF "Berufsfelddefinition des BIBB f. Erwerbsberuf der Mutter, KldB1992" ******************************************************************************** #delimit ; label define BHF92 -111 "Auschluss aufgrund zu kleiner Besetzungsstärke" -4 "nicht zuordenbar" -1 "Kein gültiger Berufscode" 1 "Rohstoffe gewinnende Berufe" 2 "Be-, verarbeitende und instandsetzende Berufe" 3 "Maschinen und Anlagen steuernde und wartende Berufe" 4 "Berufe im Warenhandel, Vertrieb" 5 "Verkehrs-, Lager-, Transport, Sicherheits-, Wachberufe" 6 "Gastronomie- und Reinigungsberufe" 7 "Büro-, Kaufm. Dienstleistungsberufe" 8 "Technisch-Naturwissenschaftliche Berufe" 9 "Rechts-, Management- und wirtschaftswissenschaftliche Berufe" 10 "Künstlerische, Medien-, Geistes- u. Sozialwiss. Berufe" 11 "Gesundheits- und Sozialberufe, Körperpfleger" 12 "Lehrberufe"; #delimit cr label val *kldb92_BHF BHF92 label var F100_kldb92_BHF "BIBB-Berufshauptfeld f. Erwerbsberuf, KldB1992" label var F1401_kldb92_BHF "BIBB-Berufshauptfeld f. 1. Erwerbsberuf, KldB1992" label var F1609_kldb92_BHF "BIBB-Berufshauptfeld f. Erwerbsberuf des Vaters, KldB1992" label var F1610_kldb92_BHF "BIBB-Berufshauptfeld f. Erwerbsberuf der Mutter, KldB1992" ******************************************************************************** #delimit ; label define BOF92 -111 "Auschluss aufgrund zu kleiner Besetzungsstärke" -4 "nicht zuordenbar" -1 "Kein gültiger Berufscode" 1 "Produktionsbezogene Berufe" 2 "Primäre Dienstleistungsberufe" 3 "Sekundäre Dienstleistungsberufe"; #delimit cr label val *kldb92_BOF BOF92 label var F100_kldb92_BOF "BIBB-Berufsoberfeld f. Erwerbsberuf, KldB1992" label var F1401_kldb92_BOF "BIBB-Berufsoberfeld f. 1. Erwerbsberuf, KldB1992" label var F1609_kldb92_BOF "BIBB-Berufsoberfeld f. Erwerbsberuf des Vaters, KldB1992" label var F1610_kldb92_BOF "BIBB-Berufsoberfeld f. Erwerbsberuf der Mutter, KldB1992" ******************************************************************************* ******************************************************************************** ******************************************************************************** ************************Codieren der Berufsfelddefinitione des BIBB 2018******** ************************aus der Klassifizierug der Berufe 2010****************** ****************************Mit SV-Variablen nachbildbar************************ ******************************************************************************** ******************************************************************************** /* Herkunft: BIBB-FDZ Stataversion: 15.1 MP Quelle: Tiemann, Michael, BIBB Bundesinstitut für Berufsbildung, Bonn */ ******************************************************************************** ******************************************************************************** * var = 5steller Kldb2010, Variable für den Erwerbsberuf muss entsprechend dem Datensatz umbenannt werden. foreach x of varlist F100_kldb2010 F1401_kldb2010 F1609_kldb2010 F1610_kldb2010{ *Dreisteller abschneiden gen `x'_pos3d=trunc(`x'/100) *5te Stelle abschneiden. gen `x'_pos5th=mod(`x',10) gen `x'_BF=. replace `x'_BF= 1 if `x'_pos3d== 111 & `x'_pos5th== 1 replace `x'_BF= 1 if `x'_pos3d== 111 & `x'_pos5th== 2 replace `x'_BF= 1 if `x'_pos3d== 111 & `x'_pos5th== 3 replace `x'_BF= 1 if `x'_pos3d== 112 & `x'_pos5th== 1 replace `x'_BF= 1 if `x'_pos3d== 112 & `x'_pos5th== 2 replace `x'_BF= 1 if `x'_pos3d== 112 & `x'_pos5th== 3 replace `x'_BF= 1 if `x'_pos3d== 113 & `x'_pos5th== 2 replace `x'_BF= 1 if `x'_pos3d== 113 & `x'_pos5th== 3 replace `x'_BF= 1 if `x'_pos3d== 114 & `x'_pos5th== 1 replace `x'_BF= 1 if `x'_pos3d== 114 & `x'_pos5th== 2 replace `x'_BF= 1 if `x'_pos3d== 114 & `x'_pos5th== 3 replace `x'_BF= 1 if `x'_pos3d== 115 & `x'_pos5th== 1 replace `x'_BF= 1 if `x'_pos3d== 115 & `x'_pos5th== 2 replace `x'_BF= 1 if `x'_pos3d== 115 & `x'_pos5th== 3 replace `x'_BF= 1 if `x'_pos3d== 116 & `x'_pos5th== 2 replace `x'_BF= 1 if `x'_pos3d== 116 & `x'_pos5th== 3 replace `x'_BF= 1 if `x'_pos3d== 117 & `x'_pos5th== 1 replace `x'_BF= 1 if `x'_pos3d== 117 & `x'_pos5th== 2 replace `x'_BF= 1 if `x'_pos3d== 117 & `x'_pos5th== 3 replace `x'_BF= 1 if `x'_pos3d== 121 & `x'_pos5th== 1 replace `x'_BF= 1 if `x'_pos3d== 121 & `x'_pos5th== 2 replace `x'_BF= 1 if `x'_pos3d== 121 & `x'_pos5th== 3 replace `x'_BF= 2 if `x'_pos3d== 211 & `x'_pos5th== 2 replace `x'_BF= 3 if `x'_pos3d== 212 & `x'_pos5th== 2 replace `x'_BF= 3 if `x'_pos3d== 213 & `x'_pos5th== 2 replace `x'_BF= 3 if `x'_pos3d== 214 & `x'_pos5th== 2 replace `x'_BF= 4 if `x'_pos3d== 221 & `x'_pos5th== 2 replace `x'_BF= 4 if `x'_pos3d== 413 & `x'_pos5th== 2 replace `x'_BF= 5 if `x'_pos3d== 231 & `x'_pos5th== 2 replace `x'_BF= 5 if `x'_pos3d== 232 & `x'_pos5th== 2 replace `x'_BF= 5 if `x'_pos3d== 234 & `x'_pos5th== 2 replace `x'_BF= 6 if `x'_pos3d== 241 & `x'_pos5th== 1 replace `x'_BF= 6 if `x'_pos3d== 241 & `x'_pos5th== 2 replace `x'_BF= 6 if `x'_pos3d== 242 & `x'_pos5th== 2 replace `x'_BF= 6 if `x'_pos3d== 243 & `x'_pos5th== 2 replace `x'_BF= 7 if `x'_pos3d== 244 & `x'_pos5th== 2 replace `x'_BF= 7 if `x'_pos3d== 342 & `x'_pos5th== 2 replace `x'_BF= 7 if `x'_pos3d== 342 & `x'_pos5th== 3 replace `x'_BF= 8 if `x'_pos3d== 251 & `x'_pos5th== 2 replace `x'_BF= 9 if `x'_pos3d== 222 & `x'_pos5th== 2 replace `x'_BF= 9 if `x'_pos3d== 252 & `x'_pos5th== 2 replace `x'_BF= 10 if `x'_pos3d== 245 & `x'_pos5th== 2 replace `x'_BF= 10 if `x'_pos3d== 245 & `x'_pos5th== 3 replace `x'_BF= 10 if `x'_pos3d== 825 & `x'_pos5th== 2 replace `x'_BF= 10 if `x'_pos3d== 825 & `x'_pos5th== 3 replace `x'_BF= 10 if `x'_pos3d== 934 & `x'_pos5th== 2 replace `x'_BF= 10 if `x'_pos3d== 934 & `x'_pos5th== 3 replace `x'_BF= 10 if `x'_pos3d== 936 & `x'_pos5th== 2 replace `x'_BF= 10 if `x'_pos3d== 936 & `x'_pos5th== 3 replace `x'_BF= 11 if `x'_pos3d== 261 & `x'_pos5th== 2 replace `x'_BF= 11 if `x'_pos3d== 262 & `x'_pos5th== 2 replace `x'_BF= 11 if `x'_pos3d== 263 & `x'_pos5th== 2 replace `x'_BF= 11 if `x'_pos3d== 271 & `x'_pos5th== 2 replace `x'_BF= 13 if `x'_pos3d== 281 & `x'_pos5th== 2 replace `x'_BF= 13 if `x'_pos3d== 281 & `x'_pos5th== 3 replace `x'_BF= 13 if `x'_pos3d== 282 & `x'_pos5th== 2 replace `x'_BF= 13 if `x'_pos3d== 282 & `x'_pos5th== 3 replace `x'_BF= 13 if `x'_pos3d== 282 & `x'_pos5th== 4 replace `x'_BF= 13 if `x'_pos3d== 283 & `x'_pos5th== 2 replace `x'_BF= 13 if `x'_pos3d== 283 & `x'_pos5th== 3 replace `x'_BF= 13 if `x'_pos3d== 283 & `x'_pos5th== 4 replace `x'_BF= 16 if `x'_pos3d== 293 & `x'_pos5th== 1 replace `x'_BF= 16 if `x'_pos3d== 293 & `x'_pos5th== 2 replace `x'_BF= 16 if `x'_pos3d== 293 & `x'_pos5th== 3 replace `x'_BF= 16 if `x'_pos3d== 293 & `x'_pos5th== 4 replace `x'_BF= 17 if `x'_pos3d== 291 & `x'_pos5th== 2 replace `x'_BF= 17 if `x'_pos3d== 291 & `x'_pos5th== 3 replace `x'_BF= 17 if `x'_pos3d== 292 & `x'_pos5th== 2 replace `x'_BF= 17 if `x'_pos3d== 292 & `x'_pos5th== 3 replace `x'_BF= 18 if `x'_pos3d== 223 & `x'_pos5th== 2 replace `x'_BF= 18 if `x'_pos3d== 311 & `x'_pos5th== 2 replace `x'_BF= 18 if `x'_pos3d== 321 & `x'_pos5th== 2 replace `x'_BF= 18 if `x'_pos3d== 321 & `x'_pos5th== 3 replace `x'_BF= 18 if `x'_pos3d== 322 & `x'_pos5th== 2 replace `x'_BF= 18 if `x'_pos3d== 322 & `x'_pos5th== 3 replace `x'_BF= 18 if `x'_pos3d== 331 & `x'_pos5th== 2 replace `x'_BF= 18 if `x'_pos3d== 331 & `x'_pos5th== 3 replace `x'_BF= 18 if `x'_pos3d== 332 & `x'_pos5th== 2 replace `x'_BF= 18 if `x'_pos3d== 332 & `x'_pos5th== 3 replace `x'_BF= 18 if `x'_pos3d== 333 & `x'_pos5th== 2 replace `x'_BF= 18 if `x'_pos3d== 333 & `x'_pos5th== 3 replace `x'_BF= 18 if `x'_pos3d== 932 & `x'_pos5th== 2 replace `x'_BF= 18 if `x'_pos3d== 932 & `x'_pos5th== 3 replace `x'_BF= 20 if `x'_pos3d== 211 & `x'_pos5th== 1 replace `x'_BF= 20 if `x'_pos3d== 212 & `x'_pos5th== 1 replace `x'_BF= 20 if `x'_pos3d== 213 & `x'_pos5th== 1 replace `x'_BF= 20 if `x'_pos3d== 214 & `x'_pos5th== 1 replace `x'_BF= 20 if `x'_pos3d== 221 & `x'_pos5th== 1 replace `x'_BF= 20 if `x'_pos3d== 222 & `x'_pos5th== 1 replace `x'_BF= 20 if `x'_pos3d== 223 & `x'_pos5th== 1 replace `x'_BF= 20 if `x'_pos3d== 231 & `x'_pos5th== 1 replace `x'_BF= 20 if `x'_pos3d== 234 & `x'_pos5th== 1 replace `x'_BF= 20 if `x'_pos3d== 242 & `x'_pos5th== 1 replace `x'_BF= 20 if `x'_pos3d== 243 & `x'_pos5th== 1 replace `x'_BF= 20 if `x'_pos3d== 244 & `x'_pos5th== 1 replace `x'_BF= 20 if `x'_pos3d== 245 & `x'_pos5th== 1 replace `x'_BF= 20 if `x'_pos3d== 251 & `x'_pos5th== 1 replace `x'_BF= 20 if `x'_pos3d== 252 & `x'_pos5th== 1 replace `x'_BF= 20 if `x'_pos3d== 263 & `x'_pos5th== 1 replace `x'_BF= 20 if `x'_pos3d== 281 & `x'_pos5th== 1 replace `x'_BF= 20 if `x'_pos3d== 282 & `x'_pos5th== 1 replace `x'_BF= 20 if `x'_pos3d== 283 & `x'_pos5th== 1 replace `x'_BF= 20 if `x'_pos3d== 292 & `x'_pos5th== 1 replace `x'_BF= 20 if `x'_pos3d== 321 & `x'_pos5th== 1 replace `x'_BF= 20 if `x'_pos3d== 322 & `x'_pos5th== 1 replace `x'_BF= 20 if `x'_pos3d== 331 & `x'_pos5th== 1 replace `x'_BF= 20 if `x'_pos3d== 332 & `x'_pos5th== 1 replace `x'_BF= 20 if `x'_pos3d== 333 & `x'_pos5th== 1 replace `x'_BF= 20 if `x'_pos3d== 342 & `x'_pos5th== 1 replace `x'_BF= 20 if `x'_pos3d== 343 & `x'_pos5th== 1 replace `x'_BF= 20 if `x'_pos3d== 413 & `x'_pos5th== 1 replace `x'_BF= 21 if `x'_pos3d== 111 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 113 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 114 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 115 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 116 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 117 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 121 & `x'_pos5th== 4 *laut ofizieller KldB2010 gibt es den Code 21114 nicht, dieser kommt aber in den *Daten vor, die Zuordnung erfolgt wie bei vergleicbaren Berufen mit *entsprechendem Anforderungsniveau replace `x'_BF= 21 if `x'_pos3d== 211 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 221 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 222 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 223 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 231 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 232 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 234 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 241 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 242 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 243 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 244 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 245 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 251 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 252 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 261 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 262 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 263 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 271 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 272 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 273 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 281 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 291 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 292 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 311 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 312 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 321 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 322 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 342 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 343 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 422 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 825 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 932 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 934 & `x'_pos5th== 4 replace `x'_BF= 21 if `x'_pos3d== 936 & `x'_pos5th== 4 replace `x'_BF= 22 if `x'_pos3d== 411 & `x'_pos5th== 3 replace `x'_BF= 22 if `x'_pos3d== 411 & `x'_pos5th== 4 replace `x'_BF= 22 if `x'_pos3d== 412 & `x'_pos5th== 2 replace `x'_BF= 22 if `x'_pos3d== 412 & `x'_pos5th== 3 replace `x'_BF= 22 if `x'_pos3d== 412 & `x'_pos5th== 4 replace `x'_BF= 22 if `x'_pos3d== 413 & `x'_pos5th== 3 replace `x'_BF= 22 if `x'_pos3d== 413 & `x'_pos5th== 4 replace `x'_BF= 22 if `x'_pos3d== 414 & `x'_pos5th== 4 replace `x'_BF= 22 if `x'_pos3d== 421 & `x'_pos5th== 4 replace `x'_BF= 23 if `x'_pos3d== 211 & `x'_pos5th== 3 replace `x'_BF= 23 if `x'_pos3d== 212 & `x'_pos5th== 3 replace `x'_BF= 23 if `x'_pos3d== 213 & `x'_pos5th== 3 replace `x'_BF= 23 if `x'_pos3d== 214 & `x'_pos5th== 3 replace `x'_BF= 23 if `x'_pos3d== 221 & `x'_pos5th== 3 replace `x'_BF= 23 if `x'_pos3d== 222 & `x'_pos5th== 3 replace `x'_BF= 23 if `x'_pos3d== 223 & `x'_pos5th== 3 replace `x'_BF= 23 if `x'_pos3d== 231 & `x'_pos5th== 3 replace `x'_BF= 23 if `x'_pos3d== 234 & `x'_pos5th== 3 replace `x'_BF= 23 if `x'_pos3d== 241 & `x'_pos5th== 3 replace `x'_BF= 23 if `x'_pos3d== 242 & `x'_pos5th== 3 replace `x'_BF= 23 if `x'_pos3d== 243 & `x'_pos5th== 3 replace `x'_BF= 23 if `x'_pos3d== 244 & `x'_pos5th== 3 replace `x'_BF= 23 if `x'_pos3d== 251 & `x'_pos5th== 3 replace `x'_BF= 23 if `x'_pos3d== 252 & `x'_pos5th== 3 replace `x'_BF= 23 if `x'_pos3d== 261 & `x'_pos5th== 3 replace `x'_BF= 23 if `x'_pos3d== 262 & `x'_pos5th== 3 replace `x'_BF= 23 if `x'_pos3d== 263 & `x'_pos5th== 3 replace `x'_BF= 23 if `x'_pos3d== 271 & `x'_pos5th== 3 replace `x'_BF= 23 if `x'_pos3d== 272 & `x'_pos5th== 3 replace `x'_BF= 23 if `x'_pos3d== 273 & `x'_pos5th== 2 replace `x'_BF= 23 if `x'_pos3d== 273 & `x'_pos5th== 3 replace `x'_BF= 23 if `x'_pos3d== 311 & `x'_pos5th== 3 replace `x'_BF= 23 if `x'_pos3d== 343 & `x'_pos5th== 3 replace `x'_BF= 23 if `x'_pos3d== 422 & `x'_pos5th== 2 replace `x'_BF= 23 if `x'_pos3d== 422 & `x'_pos5th== 3 replace `x'_BF= 24 if `x'_pos3d== 272 & `x'_pos5th== 2 replace `x'_BF= 25 if `x'_pos3d== 312 & `x'_pos5th== 2 replace `x'_BF= 25 if `x'_pos3d== 312 & `x'_pos5th== 3 replace `x'_BF= 26 if `x'_pos3d== 232 & `x'_pos5th== 3 replace `x'_BF= 26 if `x'_pos3d== 414 & `x'_pos5th== 2 replace `x'_BF= 26 if `x'_pos3d== 414 & `x'_pos5th== 3 replace `x'_BF= 26 if `x'_pos3d== 421 & `x'_pos5th== 2 replace `x'_BF= 26 if `x'_pos3d== 421 & `x'_pos5th== 3 replace `x'_BF= 27 if `x'_pos3d== 622 & `x'_pos5th== 2 replace `x'_BF= 27 if `x'_pos3d== 623 & `x'_pos5th== 1 replace `x'_BF= 27 if `x'_pos3d== 623 & `x'_pos5th== 2 replace `x'_BF= 27 if `x'_pos3d== 624 & `x'_pos5th== 2 replace `x'_BF= 27 if `x'_pos3d== 625 & `x'_pos5th== 2 replace `x'_BF= 27 if `x'_pos3d== 625 & `x'_pos5th== 3 replace `x'_BF= 28 if `x'_pos3d== 122 & `x'_pos5th== 2 replace `x'_BF= 28 if `x'_pos3d== 122 & `x'_pos5th== 3 replace `x'_BF= 28 if `x'_pos3d== 122 & `x'_pos5th== 4 replace `x'_BF= 28 if `x'_pos3d== 611 & `x'_pos5th== 2 replace `x'_BF= 28 if `x'_pos3d== 611 & `x'_pos5th== 3 replace `x'_BF= 28 if `x'_pos3d== 611 & `x'_pos5th== 4 replace `x'_BF= 28 if `x'_pos3d== 612 & `x'_pos5th== 2 replace `x'_BF= 28 if `x'_pos3d== 612 & `x'_pos5th== 3 replace `x'_BF= 28 if `x'_pos3d== 612 & `x'_pos5th== 4 replace `x'_BF= 29 if `x'_pos3d== 721 & `x'_pos5th== 2 replace `x'_BF= 29 if `x'_pos3d== 721 & `x'_pos5th== 3 replace `x'_BF= 29 if `x'_pos3d== 721 & `x'_pos5th== 4 replace `x'_BF= 30 if `x'_pos3d== 423 & `x'_pos5th== 2 replace `x'_BF= 30 if `x'_pos3d== 423 & `x'_pos5th== 3 replace `x'_BF= 30 if `x'_pos3d== 423 & `x'_pos5th== 4 replace `x'_BF= 30 if `x'_pos3d== 516 & `x'_pos5th== 2 replace `x'_BF= 30 if `x'_pos3d== 516 & `x'_pos5th== 3 replace `x'_BF= 30 if `x'_pos3d== 516 & `x'_pos5th== 4 replace `x'_BF= 30 if `x'_pos3d== 613 & `x'_pos5th== 2 replace `x'_BF= 30 if `x'_pos3d== 613 & `x'_pos5th== 3 replace `x'_BF= 30 if `x'_pos3d== 613 & `x'_pos5th== 4 replace `x'_BF= 30 if `x'_pos3d== 621 & `x'_pos5th== 2 replace `x'_BF= 30 if `x'_pos3d== 621 & `x'_pos5th== 3 replace `x'_BF= 30 if `x'_pos3d== 621 & `x'_pos5th== 4 replace `x'_BF= 30 if `x'_pos3d== 631 & `x'_pos5th== 2 replace `x'_BF= 30 if `x'_pos3d== 631 & `x'_pos5th== 3 replace `x'_BF= 30 if `x'_pos3d== 631 & `x'_pos5th== 4 replace `x'_BF= 30 if `x'_pos3d== 634 & `x'_pos5th== 2 replace `x'_BF= 30 if `x'_pos3d== 634 & `x'_pos5th== 3 replace `x'_BF= 30 if `x'_pos3d== 634 & `x'_pos5th== 4 replace `x'_BF= 31 if `x'_pos3d== 921 & `x'_pos5th== 2 replace `x'_BF= 31 if `x'_pos3d== 921 & `x'_pos5th== 3 replace `x'_BF= 31 if `x'_pos3d== 921 & `x'_pos5th== 4 replace `x'_BF= 31 if `x'_pos3d== 922 & `x'_pos5th== 3 replace `x'_BF= 31 if `x'_pos3d== 922 & `x'_pos5th== 4 replace `x'_BF= 32 if `x'_pos3d== 514 & `x'_pos5th== 3 replace `x'_BF= 32 if `x'_pos3d== 515 & `x'_pos5th== 2 replace `x'_BF= 32 if `x'_pos3d== 515 & `x'_pos5th== 3 replace `x'_BF= 32 if `x'_pos3d== 515 & `x'_pos5th== 4 replace `x'_BF= 32 if `x'_pos3d== 521 & `x'_pos5th== 2 replace `x'_BF= 32 if `x'_pos3d== 522 & `x'_pos5th== 2 replace `x'_BF= 33 if `x'_pos3d== 511 & `x'_pos5th== 2 replace `x'_BF= 33 if `x'_pos3d== 511 & `x'_pos5th== 3 replace `x'_BF= 33 if `x'_pos3d== 511 & `x'_pos5th== 4 replace `x'_BF= 33 if `x'_pos3d== 512 & `x'_pos5th== 2 replace `x'_BF= 33 if `x'_pos3d== 512 & `x'_pos5th== 3 replace `x'_BF= 33 if `x'_pos3d== 512 & `x'_pos5th== 4 replace `x'_BF= 33 if `x'_pos3d== 523 & `x'_pos5th== 3 replace `x'_BF= 33 if `x'_pos3d== 523 & `x'_pos5th== 4 replace `x'_BF= 33 if `x'_pos3d== 524 & `x'_pos5th== 2 replace `x'_BF= 33 if `x'_pos3d== 524 & `x'_pos5th== 3 replace `x'_BF= 33 if `x'_pos3d== 524 & `x'_pos5th== 4 replace `x'_BF= 33 if `x'_pos3d== 525 & `x'_pos5th== 1 replace `x'_BF= 33 if `x'_pos3d== 525 & `x'_pos5th== 2 replace `x'_BF= 33 if `x'_pos3d== 525 & `x'_pos5th== 3 replace `x'_BF= 34 if `x'_pos3d== 513 & `x'_pos5th== 1 replace `x'_BF= 34 if `x'_pos3d== 513 & `x'_pos5th== 2 replace `x'_BF= 34 if `x'_pos3d== 513 & `x'_pos5th== 3 replace `x'_BF= 34 if `x'_pos3d== 513 & `x'_pos5th== 4 replace `x'_BF= 34 if `x'_pos3d== 514 & `x'_pos5th== 2 replace `x'_BF= 35 if `x'_pos3d== 711 & `x'_pos5th== 4 replace `x'_BF= 35 if `x'_pos3d== 713 & `x'_pos5th== 3 replace `x'_BF= 35 if `x'_pos3d== 713 & `x'_pos5th== 4 replace `x'_BF= 35 if `x'_pos3d== 722 & `x'_pos5th== 3 replace `x'_BF= 35 if `x'_pos3d== 722 & `x'_pos5th== 4 replace `x'_BF= 35 if `x'_pos3d== 723 & `x'_pos5th== 3 replace `x'_BF= 35 if `x'_pos3d== 723 & `x'_pos5th== 4 replace `x'_BF= 35 if `x'_pos3d== 914 & `x'_pos5th== 4 replace `x'_BF= 36 if `x'_pos3d== 712 & `x'_pos5th== 4 replace `x'_BF= 36 if `x'_pos3d== 732 & `x'_pos5th== 2 replace `x'_BF= 36 if `x'_pos3d== 732 & `x'_pos5th== 3 replace `x'_BF= 36 if `x'_pos3d== 732 & `x'_pos5th== 4 replace `x'_BF= 36 if `x'_pos3d== 733 & `x'_pos5th== 2 replace `x'_BF= 36 if `x'_pos3d== 733 & `x'_pos5th== 3 replace `x'_BF= 36 if `x'_pos3d== 733 & `x'_pos5th== 4 replace `x'_BF= 37 if `x'_pos3d== 722 & `x'_pos5th== 2 replace `x'_BF= 37 if `x'_pos3d== 723 & `x'_pos5th== 2 replace `x'_BF= 38 if `x'_pos3d== 431 & `x'_pos5th== 2 replace `x'_BF= 38 if `x'_pos3d== 431 & `x'_pos5th== 3 replace `x'_BF= 38 if `x'_pos3d== 431 & `x'_pos5th== 4 replace `x'_BF= 38 if `x'_pos3d== 432 & `x'_pos5th== 3 replace `x'_BF= 38 if `x'_pos3d== 432 & `x'_pos5th== 4 replace `x'_BF= 38 if `x'_pos3d== 433 & `x'_pos5th== 3 replace `x'_BF= 38 if `x'_pos3d== 433 & `x'_pos5th== 4 replace `x'_BF= 38 if `x'_pos3d== 434 & `x'_pos5th== 2 replace `x'_BF= 38 if `x'_pos3d== 434 & `x'_pos5th== 3 replace `x'_BF= 38 if `x'_pos3d== 434 & `x'_pos5th== 4 replace `x'_BF= 39 if `x'_pos3d== 713 & `x'_pos5th== 2 replace `x'_BF= 39 if `x'_pos3d== 714 & `x'_pos5th== 2 replace `x'_BF= 39 if `x'_pos3d== 714 & `x'_pos5th== 3 replace `x'_BF= 39 if `x'_pos3d== 714 & `x'_pos5th== 4 replace `x'_BF= 39 if `x'_pos3d== 715 & `x'_pos5th== 2 replace `x'_BF= 39 if `x'_pos3d== 715 & `x'_pos5th== 3 replace `x'_BF= 39 if `x'_pos3d== 715 & `x'_pos5th== 4 replace `x'_BF= 40 if `x'_pos3d== 621 & `x'_pos5th== 1 replace `x'_BF= 40 if `x'_pos3d== 634 & `x'_pos5th== 1 replace `x'_BF= 40 if `x'_pos3d== 714 & `x'_pos5th== 1 replace `x'_BF= 40 if `x'_pos3d== 732 & `x'_pos5th== 1 replace `x'_BF= 40 if `x'_pos3d== 913 & `x'_pos5th== 1 replace `x'_BF= 41 if `x'_pos3d== 531 & `x'_pos5th== 1 replace `x'_BF= 41 if `x'_pos3d== 531 & `x'_pos5th== 2 replace `x'_BF= 41 if `x'_pos3d== 531 & `x'_pos5th== 3 replace `x'_BF= 41 if `x'_pos3d== 531 & `x'_pos5th== 4 replace `x'_BF= 42 if `x'_pos3d== 341 & `x'_pos5th== 2 replace `x'_BF= 42 if `x'_pos3d== 341 & `x'_pos5th== 3 replace `x'_BF= 42 if `x'_pos3d== 341 & `x'_pos5th== 4 replace `x'_BF= 43 if `x'_pos3d== 11 & `x'_pos5th== 4 replace `x'_BF= 43 if `x'_pos3d== 12 & `x'_pos5th== 3 replace `x'_BF= 43 if `x'_pos3d== 13 & `x'_pos5th== 2 replace `x'_BF= 43 if `x'_pos3d== 14 & `x'_pos5th== 2 replace `x'_BF= 43 if `x'_pos3d== 532 & `x'_pos5th== 1 replace `x'_BF= 43 if `x'_pos3d== 532 & `x'_pos5th== 2 replace `x'_BF= 43 if `x'_pos3d== 532 & `x'_pos5th== 3 replace `x'_BF= 43 if `x'_pos3d== 532 & `x'_pos5th== 4 replace `x'_BF= 43 if `x'_pos3d== 533 & `x'_pos5th== 2 replace `x'_BF= 43 if `x'_pos3d== 533 & `x'_pos5th== 3 replace `x'_BF= 43 if `x'_pos3d== 533 & `x'_pos5th== 4 replace `x'_BF= 44 if `x'_pos3d== 731 & `x'_pos5th== 2 replace `x'_BF= 44 if `x'_pos3d== 731 & `x'_pos5th== 3 replace `x'_BF= 44 if `x'_pos3d== 731 & `x'_pos5th== 4 replace `x'_BF= 45 if `x'_pos3d== 933 & `x'_pos5th== 2 replace `x'_BF= 45 if `x'_pos3d== 933 & `x'_pos5th== 3 replace `x'_BF= 45 if `x'_pos3d== 933 & `x'_pos5th== 4 replace `x'_BF= 45 if `x'_pos3d== 941 & `x'_pos5th== 3 replace `x'_BF= 45 if `x'_pos3d== 941 & `x'_pos5th== 4 replace `x'_BF= 45 if `x'_pos3d== 942 & `x'_pos5th== 2 replace `x'_BF= 45 if `x'_pos3d== 942 & `x'_pos5th== 3 replace `x'_BF= 45 if `x'_pos3d== 942 & `x'_pos5th== 4 replace `x'_BF= 45 if `x'_pos3d== 943 & `x'_pos5th== 2 replace `x'_BF= 45 if `x'_pos3d== 943 & `x'_pos5th== 3 replace `x'_BF= 45 if `x'_pos3d== 943 & `x'_pos5th== 4 replace `x'_BF= 45 if `x'_pos3d== 944 & `x'_pos5th== 2 replace `x'_BF= 45 if `x'_pos3d== 944 & `x'_pos5th== 3 replace `x'_BF= 45 if `x'_pos3d== 944 & `x'_pos5th== 4 replace `x'_BF= 45 if `x'_pos3d== 945 & `x'_pos5th== 2 replace `x'_BF= 45 if `x'_pos3d== 945 & `x'_pos5th== 3 replace `x'_BF= 45 if `x'_pos3d== 945 & `x'_pos5th== 4 replace `x'_BF= 45 if `x'_pos3d== 946 & `x'_pos5th== 2 replace `x'_BF= 45 if `x'_pos3d== 946 & `x'_pos5th== 3 replace `x'_BF= 45 if `x'_pos3d== 946 & `x'_pos5th== 4 replace `x'_BF= 46 if `x'_pos3d== 233 & `x'_pos5th== 2 replace `x'_BF= 46 if `x'_pos3d== 233 & `x'_pos5th== 3 replace `x'_BF= 46 if `x'_pos3d== 233 & `x'_pos5th== 4 replace `x'_BF= 46 if `x'_pos3d== 931 & `x'_pos5th== 2 replace `x'_BF= 46 if `x'_pos3d== 931 & `x'_pos5th== 3 replace `x'_BF= 46 if `x'_pos3d== 931 & `x'_pos5th== 4 replace `x'_BF= 46 if `x'_pos3d== 935 & `x'_pos5th== 2 replace `x'_BF= 46 if `x'_pos3d== 935 & `x'_pos5th== 3 replace `x'_BF= 46 if `x'_pos3d== 935 & `x'_pos5th== 4 replace `x'_BF= 47 if `x'_pos3d== 814 & `x'_pos5th== 4 replace `x'_BF= 47 if `x'_pos3d== 815 & `x'_pos5th== 4 replace `x'_BF= 47 if `x'_pos3d== 818 & `x'_pos5th== 4 replace `x'_BF= 48 if `x'_pos3d== 811 & `x'_pos5th== 2 replace `x'_BF= 48 if `x'_pos3d== 811 & `x'_pos5th== 3 replace `x'_BF= 48 if `x'_pos3d== 812 & `x'_pos5th== 2 replace `x'_BF= 48 if `x'_pos3d== 812 & `x'_pos5th== 3 replace `x'_BF= 48 if `x'_pos3d== 812 & `x'_pos5th== 4 replace `x'_BF= 48 if `x'_pos3d== 813 & `x'_pos5th== 1 replace `x'_BF= 48 if `x'_pos3d== 813 & `x'_pos5th== 2 replace `x'_BF= 48 if `x'_pos3d== 813 & `x'_pos5th== 3 replace `x'_BF= 48 if `x'_pos3d== 813 & `x'_pos5th== 4 replace `x'_BF= 48 if `x'_pos3d== 815 & `x'_pos5th== 2 replace `x'_BF= 48 if `x'_pos3d== 816 & `x'_pos5th== 3 replace `x'_BF= 48 if `x'_pos3d== 816 & `x'_pos5th== 4 replace `x'_BF= 48 if `x'_pos3d== 817 & `x'_pos5th== 2 replace `x'_BF= 48 if `x'_pos3d== 817 & `x'_pos5th== 3 replace `x'_BF= 48 if `x'_pos3d== 817 & `x'_pos5th== 4 replace `x'_BF= 48 if `x'_pos3d== 818 & `x'_pos5th== 2 replace `x'_BF= 48 if `x'_pos3d== 818 & `x'_pos5th== 3 replace `x'_BF= 48 if `x'_pos3d== 821 & `x'_pos5th== 1 replace `x'_BF= 48 if `x'_pos3d== 821 & `x'_pos5th== 2 replace `x'_BF= 48 if `x'_pos3d== 821 & `x'_pos5th== 3 replace `x'_BF= 48 if `x'_pos3d== 821 & `x'_pos5th== 4 replace `x'_BF= 48 if `x'_pos3d== 822 & `x'_pos5th== 2 replace `x'_BF= 48 if `x'_pos3d== 822 & `x'_pos5th== 3 replace `x'_BF= 48 if `x'_pos3d== 822 & `x'_pos5th== 4 replace `x'_BF= 48 if `x'_pos3d== 824 & `x'_pos5th== 2 replace `x'_BF= 48 if `x'_pos3d== 824 & `x'_pos5th== 3 replace `x'_BF= 48 if `x'_pos3d== 824 & `x'_pos5th== 4 replace `x'_BF= 49 if `x'_pos3d== 831 & `x'_pos5th== 1 replace `x'_BF= 49 if `x'_pos3d== 831 & `x'_pos5th== 2 replace `x'_BF= 49 if `x'_pos3d== 831 & `x'_pos5th== 3 replace `x'_BF= 49 if `x'_pos3d== 831 & `x'_pos5th== 4 replace `x'_BF= 49 if `x'_pos3d== 833 & `x'_pos5th== 2 replace `x'_BF= 49 if `x'_pos3d== 833 & `x'_pos5th== 3 replace `x'_BF= 49 if `x'_pos3d== 833 & `x'_pos5th== 4 replace `x'_BF= 50 if `x'_pos3d== 841 & `x'_pos5th== 3 replace `x'_BF= 50 if `x'_pos3d== 841 & `x'_pos5th== 4 replace `x'_BF= 50 if `x'_pos3d== 842 & `x'_pos5th== 3 replace `x'_BF= 50 if `x'_pos3d== 842 & `x'_pos5th== 4 replace `x'_BF= 50 if `x'_pos3d== 843 & `x'_pos5th== 4 replace `x'_BF= 50 if `x'_pos3d== 844 & `x'_pos5th== 2 replace `x'_BF= 50 if `x'_pos3d== 844 & `x'_pos5th== 3 replace `x'_BF= 50 if `x'_pos3d== 844 & `x'_pos5th== 4 replace `x'_BF= 50 if `x'_pos3d== 845 & `x'_pos5th== 3 replace `x'_BF= 50 if `x'_pos3d== 845 & `x'_pos5th== 4 replace `x'_BF= 51 if `x'_pos3d== 625 & `x'_pos5th== 4 replace `x'_BF= 51 if `x'_pos3d== 911 & `x'_pos5th== 4 replace `x'_BF= 51 if `x'_pos3d== 912 & `x'_pos5th== 3 replace `x'_BF= 51 if `x'_pos3d== 912 & `x'_pos5th== 4 replace `x'_BF= 51 if `x'_pos3d== 913 & `x'_pos5th== 2 replace `x'_BF= 51 if `x'_pos3d== 913 & `x'_pos5th== 3 replace `x'_BF= 51 if `x'_pos3d== 913 & `x'_pos5th== 4 replace `x'_BF= 51 if `x'_pos3d== 923 & `x'_pos5th== 2 replace `x'_BF= 51 if `x'_pos3d== 923 & `x'_pos5th== 3 replace `x'_BF= 51 if `x'_pos3d== 923 & `x'_pos5th== 4 replace `x'_BF= 51 if `x'_pos3d== 924 & `x'_pos5th== 2 replace `x'_BF= 51 if `x'_pos3d== 924 & `x'_pos5th== 3 replace `x'_BF= 51 if `x'_pos3d== 924 & `x'_pos5th== 4 replace `x'_BF= 51 if `x'_pos3d== 947 & `x'_pos5th== 2 replace `x'_BF= 51 if `x'_pos3d== 947 & `x'_pos5th== 3 replace `x'_BF= 51 if `x'_pos3d== 947 & `x'_pos5th== 4 replace `x'_BF= 52 if `x'_pos3d== 823 & `x'_pos5th== 1 replace `x'_BF= 52 if `x'_pos3d== 823 & `x'_pos5th== 2 replace `x'_BF= 52 if `x'_pos3d== 823 & `x'_pos5th== 3 replace `x'_BF= 53 if `x'_pos3d== 632 & `x'_pos5th== 1 replace `x'_BF= 53 if `x'_pos3d== 632 & `x'_pos5th== 2 replace `x'_BF= 53 if `x'_pos3d== 632 & `x'_pos5th== 3 replace `x'_BF= 53 if `x'_pos3d== 632 & `x'_pos5th== 4 replace `x'_BF= 53 if `x'_pos3d== 633 & `x'_pos5th== 1 replace `x'_BF= 53 if `x'_pos3d== 633 & `x'_pos5th== 2 replace `x'_BF= 53 if `x'_pos3d== 633 & `x'_pos5th== 3 replace `x'_BF= 53 if `x'_pos3d== 633 & `x'_pos5th== 4 replace `x'_BF= 53 if `x'_pos3d== 832 & `x'_pos5th== 1 replace `x'_BF= 53 if `x'_pos3d== 832 & `x'_pos5th== 2 replace `x'_BF= 53 if `x'_pos3d== 832 & `x'_pos5th== 3 replace `x'_BF= 54 if `x'_pos3d== 343 & `x'_pos5th== 2 replace `x'_BF= 54 if `x'_pos3d== 541 & `x'_pos5th== 1 replace `x'_BF= 54 if `x'_pos3d== 541 & `x'_pos5th== 2 replace `x'_BF= 54 if `x'_pos3d== 541 & `x'_pos5th== 3 replace `x'_BF=. if `x'==. replace `x'_BF=-1 if `x'<0 drop `x'_pos3d `x'_pos5th ******************************************************************************** ****************************************************************************************************************************** *Berufshauptfelder aus Berufsfeld gen `x'_BHF=0 replace `x'_BHF=1 if `x'_BF==1 | `x'_BF==2 replace `x'_BHF=2 if `x'_BF==3 | `x'_BF==7 | `x'_BF==9 | `x'_BF==10 | `x'_BF==11 | `x'_BF==13 | `x'_BF==15 | `x'_BF==18 | `x'_BF==20 | `x'_BF==42 replace `x'_BHF=3 if `x'_BF==4 | `x'_BF==5 | `x'_BF==6 | `x'_BF==8 | `x'_BF==12 | `x'_BF==17 replace `x'_BHF=4 if `x'_BF==27 | `x'_BF==28 | `x'_BF==30 replace `x'_BHF=5 if `x'_BF==19 | `x'_BF==32 | `x'_BF==33 | `x'_BF==34 | `x'_BF==41 | `x'_BF==43 replace `x'_BHF=6 if `x'_BF==14 | `x'_BF==16 | `x'_BF==53 | `x'_BF==54 replace `x'_BHF=7 if `x'_BF==29 | `x'_BF==36 | `x'_BF==37 | `x'_BF==39 | `x'_BF==40 replace `x'_BHF=8 if `x'_BF==21 | `x'_BF==22 | `x'_BF==23 | `x'_BF==24 | `x'_BF==25 | `x'_BF==26 | `x'_BF==38 replace `x'_BHF=9 if `x'_BF==35 | `x'_BF==44 replace `x'_BHF=10 if `x'_BF==31 | `x'_BF==45 | `x'_BF==46 | `x'_BF==51 replace `x'_BHF=11 if `x'_BF==47 | `x'_BF==48 | `x'_BF==49 | `x'_BF==52 replace `x'_BHF=12 if `x'_BF==50 replace `x'_BHF=`x'_BF if `x'_BF<0 | `x'_BF==. replace `x'_BHF=-1 if `x'<0 ********************************************************************************************************************************** * Berufsoberfeld aus Berufshauptfeld gen `x'_BOF=0 replace `x'_BOF=1 if `x'_BHF==1 | `x'_BHF==2 | `x'_BHF==3 replace `x'_BOF=2 if `x'_BHF==4 | `x'_BHF==5 | `x'_BHF==6 | `x'_BHF==7 replace `x'_BOF=3 if `x'_BHF==8 | `x'_BHF==9 | `x'_BHF==10 | `x'_BHF==11 | `x'_BHF==12 replace `x'_BOF=`x'_BF if `x'_BF<0 | `x'_BF==. replace `x'_BHF=-1 if `x'<0 } ****************************************************************************************** ****************************************************************************************** **********Labeln der Variablen #delimit ; label define Berufsfeld2010 -111 " Auschluss aufgrund zu kleiner Besetzungsstärke" -4 " nicht zuordenbar" -1 "Kein gültiger Berufscode" 1 " Land-, Tier-, Forstwirtschaft, Gartenbau" 2 " Bergleute, Mineralgewinner" 3 " Steinbearbeitung, Baustoffherstellung, Keramik-, Glasberufe" 4 " Chemie-, Kunststoffberufe" 5 " Papierherstellung, -verarbeitung, Druck" 6 " Metallerzeugung, -bearbeitung" 7 " Metall-, Anlagenbau, Blechkonstruktion, Installation, Montierer/innen" 8 " Industrie-, Werkzeugmechaniker/innen" 9 " Fahr-, Flugzeugbau, Wartungsberufe" 10 " Feinwerktechnische, verwandte Berufe" 11 " Elektroberufe" 13 " Textilverarbeitung, Lederherstellung" 16 " Köch(e/innen)" 17 " Getränke, Genussmittelherstellung, übrige Ernährungsberufe" 18 " Bauberufe, Holz-, Kunststoffbe- und -verarbeitung" 20 " Hilfsarbeiter/innen o.n.T." 21 " Ingenieur(e/innen)" 22 " Chemiker/innen, Physiker/innen, Naturwissenschaftler/innen" 23 " Techniker/innen" 24 " Technische Zeichner/innen, verwandte Berufe" 25 " Vermessungswesen" 26 " Technische Sonderkräfte" 27 " Verkaufsberufe (Einzelhandel)" 28 " Groß-, Einzelhandelskaufleute" 29 " Bank-, Versicherungsfachleute" 30 " Sonstige kaufmännische Berufe (ohne Groß-, Einzelhandel, Kreditgewerbe)" 31 " Werbefachleute" 32 " Verkehrsberufe" 33 " Luft-, Schifffahrtsberufe" 34 " Packer/innen, Lager-, Transp|tarbeiter/innen" 35 " Geschäftsführung, Wirtschaftsprüfung, Unternehmensberatung" 36 " Verwaltungsberufe im ÖD" 37 " Finanz-, Rechnungswesen, Buchhaltung" 38 " IT-Kernberufe" 39 " Kaufmännische Büroberufe" 40 " Bürohilfsberufe, Telefonist(en/innen)" 41 " Personenschutz-, Wachberufe" 42 " Hausmeister/innen" 43 " Sicherheitsberufe" 44 " Rechtsberufe" 45 " Künstler/innen, Musiker/innen" 46 " Designer/innen, Fotograf(en/innen), Reklamehersteller/innen" 47 " Gesundheitsberufe mit Approbation" 48 " Gesundheitsberufe ohne Approbation" 49 " Soziale Berufe" 50 " Lehrer/innen" 51 " Publizistische, Bibliotheks-, Übersetzungs-, verwandte Wissenschaftsberufe" 52 " Berufe in der Körperpflege" 53 " Hotel-, Gaststättenberufe, Hauswirtschaft" 54 " Reinigungs-, Ents|gungsberufe" 55 " sonstige Berufe"; #delimit cr label val *kldb2010_BF Berufsfeld2010 label var F100_kldb2010_BF "BIBB-Berufsfeld f. Erwerbsberuf, KldB2010" label var F1401_kldb2010_BF "BIBB-Berufsfeld f. 1. Erwerbsberuf, KldB2010" label var F1609_kldb2010_BF "BIBB-Berufsfeld f. Erwerbsberuf des Vaters, KldB2010" label var F1610_kldb2010_BF "BIBB-Berufsfeld f. Erwerbsberuf der Mutter, KldB2010" ******************************************************************************** #delimit ; label define BHF -4 " nicht zuordenbar" -1 "Kein gültiger Berufscode" 1 "Rohstoffe gewinnende Berufe" 2 "Be-, verarbeitende und instandsetzende Berufe" 3 "Maschinen und Anlagen steuernde und wartende Berufe" 4 "Berufe im Warenhandel, Vertrieb" 5 "Verkehrs-, Lager-, Transport, Sicherheits-, Wachberufe" 6 "Gastronomie- und Reinigungsberufe" 7 "Büro-, Kaufm. Dienstleistungsberufe" 8 "Technisch-Naturwissenschaftliche Berufe" 9 "Rechts-, Management- und wirtschaftswissenschaftliche Berufe" 10 "Künstlerische, Medien-, Geistes- u. Sozialwiss. Berufe" 11 "Gesundheits- und Sozialberufe, Körperpfleger" 12 "Lehrberufe"; #delimit cr label val *_BHF BHF label var F100_kldb2010_BHF "BIBB-Berufshauptfeld f. Erwerbsberuf, KldB2010" label var F1401_kldb2010_BHF "BIBB-Berufshauptfeld f. 1. Erwerbsberuf, KldB2010" label var F1609_kldb2010_BHF "BIBB-Berufshauptfeld f. Erwerbsberuf des Vaters, KldB2010" label var F1610_kldb2010_BHF "BIBB-Berufshauptfeld f. Erwerbsberuf der Mutter, KldB2010" ******************************************************************************** #delimit ; label define BOF -4 " nicht zuordenbar" -1 "Kein gültiger Berufscode" 1 "Produktionsbezogene Berufe" 2 "Primäre Dienstleistungsberufe" 3 "Sekundäre Dienstleistungsberufe"; #delimit cr label val *_BOF BOF label var F100_kldb2010_BOF "BIBB-Berufsoberfeld f. Erwerbsberuf, KldB2010" label var F1401_kldb2010_BOF "BIBB-Berufsoberfeld f. 1. Erwerbsberuf, KldB2010" label var F1609_kldb2010_BOF "BIBB-Berufsoberfeld f. Erwerbsberuf des Vaters, KldB2010" label var F1610_kldb2010_BOF "BIBB-Berufsoberfeld f. Erwerbsberuf der Mutter, KldB2010" ******************************************************************************** ******************************************************************************** ********************************************************************************