******************************************************************************** *******************BIBB/BAuA Erwerbstätigenbefragung 2006*********************** ***************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):Berufsfeld-Definitionen des BIBB Bundesinstitut für Berufsbildung (Hg ): Bonn */ ******************************************************************************** ******************************************************************************** *********************Recodieren der Variablen foreach x of varlist f100stba f1401stb { 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 f100stba f1401stb { 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=-4 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=-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=-4 if `x'_BF==98 } rename *_BF *_BF rename *_BHF *_BHF rename *_BOF *_BOF drop h_* ******************************************************************************** ******************************************************************************** **********Labeln der Variablen #delimit ; label define Berufsfeld92 -111 "Auschluss aufgrund zu kleiner Besetzungsstärke" -4 "nicht zuordenbar" 1 "Land-, Tier-, F|stwirtschaft, 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 *_BF Berufsfeld92 label var f100stba_BF "Berufsfelddefinition des BIBB f. Erwerbsberuf, KldB1992" label var f1401stb_BF "Berufsfelddefinition des BIBB f. 1. Erwerbsberuf, KldB1992" ******************************************************************************** #delimit ; label define BHF92 -111 "Auschluss aufgrund zu kleiner Besetzungsstärke" -4 "nicht zuordenbar" 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 BHF92 label var f100stba_BHF "BIBB-Berufshauptfeld f. Erwerbsberuf, KldB1992" label var f1401stb_BHF "BIBB-Berufshauptfeld f. 1. Erwerbsberuf, KldB1992" ******************************************************************************** #delimit ; label define BOF92 -111 "Auschluss aufgrund zu kleiner Besetzungsstärke" -4 "nicht zuordenbar" 1 "Produktionsbezogene Berufe" 2 "Primäre Dienstleistungsberufe" 3 "Sekundäre Dienstleistungsberufe"; #delimit cr label val *_BOF BOF92 label var f100stba_BOF "BIBB-Berufsoberfeld f. Erwerbsberuf, KldB1992" label var f1401stb_BOF "BIBB-Berufsoberfeld f. 1. Erwerbsberuf, KldB1992" ******************************************************************************** cap drop berufsfeld