****************************************************************************************** ****************************************************************************************** *******************BIBB/BAuA Erwerbstätigenbefragung 2006********************************* *******************Codieren von*wissensintensive Berufen********************************** *************************Variante 2******************************************************* ****************************************************************************************** ****************************************************************************************** /* Herkunft: BIBB-FDZ Stataversion: 12.0 MP Quelle: Tiemann, M., (2009): Wissensintensive Berufe. Wissenschaftliche Diskussionspapiere des Bundesinstitut für Berufsbildung, 114. */ ****************************************************************************************** *********************Recodieren der Variablen foreach x of varlist EB92o EB1_92o{ //EB920=Erwerbsberuf KldB92 3-steller; EB1_92o=1. Erwerbsberuf KldB92 3-steller #delimit ; recode `x' (12 31 153 245 266 278 292 293 295 300 305 308 309 316 318 332 359 374 487 502 506 600 601 602 605 606 607 609 611 612 620 621 625 627 651 652 670 689 703 750 751 753 755 757 761 764 765 771 774 775 776 777 778 779 811 813 821 832 833 835 837 841 843 851 852 859 861 862 863 865 867 870 871 872 873 874 875 876 879 880 881 882 883 884 886 887 891 901=1), gen (h_`x'); # delimit cr replace h_`x'=-4 if `x'>=991 replace h_`x'=0 if h_`x'>1 replace h_`x'=-1 if `x'==0 } ****************************************************************************************** ****Umbenennen der Variablen rename h_EB92o EB_wib2 rename h_EB1_92o EB1_wib2 ****************************************************************************************** *********************weitere nötige Umcodierung tab EB_wib2 //entspricht nicht vgl. Tiemann 2007: 23 tab bildungr max1202 if EB_wib2==1 //max1202=Höchster Ausbildungsabschluss - bereinigt replace EB_wib2=0 if bildungr==0 & max1202==1 & EB1_92o!=. //bildungr=höchster Schulabschluss tab EB_wib2 //entspricht vgl. Tiemann 2007: 23 replace EB_wib2=-4 if EB_wib2==-1 replace EB1_wib2=0 if bildungr==0 & max1202==1 & EB1_92o!=. replace EB1_wib2=-4 if EB1_wib2==-1 replace EB1_wib2=. if EB1_92g==. ****************************************************************************************** ******Labeln er Variablen label value *_wib2 wib label var EB1_wib2 "wissensintensiver Beruf zweite Definition 1. Beruf" label var EB_wib2 "wissensintensiver Beruf zweite Definition Erwerbsberuf"