********************************************************************************************************** ********************************************************************************************************** ************************Codieren der Berufsfelddefinitione des BIBB******************************** ************************aus der Klassifizierug der Berufe 2010************************************** ****************************Mit SV-Variablen nachbildbar******************************************** ********************************************************************************************************** ********************************************************************************************************** /* Herkunft: BIBB-FDZ Stataversion: 18 0 MP Quelle: Tiemann, Michael, BIBB Bundesinstitut für Berufsbildung, Bonn */ ****************************************************************************************************************** ******************************************************************************************************************** * b13_kldb2010_5 = 5steller Kldb2010, Variable für den aktuellen Beruf * b16b_kldb2010_5 = 5steller Kldb2010, Variable für den Beruf zum Zeitpunkt des Beratungsgesprächs foreach x of varlist b13_kldb2010_5 b16b_kldb2010_5 { *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 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 *_BF Berufsfeld2010 label var b13_kldb2010_5_BF "BIBB-Berufsfeld, aktueller Beruf, KldB2010" label var b16b_kldb2010_5_BF "BIBB-Berufsfeld, Beruf zum Zeitpunkt des Beratungsgesprächs, 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 b13_kldb2010_5_BHF "BIBB-Berufshauptfeld, aktueller Beruf, KldB2010" label var b16b_kldb2010_5_BHF "BIBB-Berufshauptfeld, Beruf zum Zeitpunkt des Beratungsgesprächs, 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 b13_kldb2010_5_BOF "BIBB-Berufsoberfeld f. aktueller Beruf, KldB2010" label var b16b_kldb2010_5_BOF "BIBB-Berufsoberfeld f. Beruf zum Zeitpunkt des Beratungsgesprächs, KldB2010" ******************************************************************************** ******************************************************************************** ******************************************************************************** rename b13_kldb2010_5_BF b13_kldb2010_BF rename b16b_kldb2010_5_BF b16b_kldb2010_BF rename b13_kldb2010_5_BHF b13_kldb2010_BHF rename b16b_kldb2010_5_BHF b16b_kldb2010_BHF rename b13_kldb2010_5_BOF b13_kldb2010_BOF rename b16b_kldb2010_5_BOF b16b_kldb2010_BOF