set more 1 /* File: cepr_org_ind.do Date: Nov 14, 2005, CEPR ORG Version 1.0 Desc: Creates consistent industry variables for CEPR consistent extract of CPS ORG; industry labels from NBER: labels79_82.do through labels99.do */ /* Determine data year */ local year=year in 1 /* Consistent two-digit industry coding from NBER */ if 1979<=`year' & `year'<=2002 { gen byte ind_2d=. lab var ind_2d "2-digit industry" notes ind_2d: Available 2003- notes ind_2d: CPS: prdtind1 rename dind ind_nber lab var ind_nber "2-digit industry" #delimit ; label define ind_nber 1 "Agriculture Service" 2 "Other Agriculture" 3 "Mining" 4 "Construction" 5 "Lumber and wood products , except furniture" 6 "Furniture and fixtures" 7 "Stone clay ,glass and concrete product" 8 "Primary metals" 9 "Fabricated metal" 10 "Not specified metal industries" 11 "Machinery, except electrical" 12 "Electrical Machinery, equipment ,and supplies" 13 "Motor vehicles and equipment" 14 "Aircrafts and parts" 15 "Other transportation equipment" 16 "Professional and photographic equipment" 17 "Toys, amusements ,and sporting goods" 18 "Miscellaneous and not specified manufacturing industries" 19 "Food and kindred products" 20 "Tobacco manufactures" 21 "Textile mill products" 22 "Apparel and other finished textile prod." 23 "Paper and allied products" 24 "Printing ,publishing and allied industries" 25 "Chemicals and allied products" 26 "Petroleum and coal products" 27 "Rubber and miscellaneous plastics products" 28 "Leather and leather products" 29 "Transportation" 30 "Communications" 31 "Utilities and Sanitary Services" 32 "Wholesale Trade" 33 "Retail Trade" 34 "Banking and Other Finance" 35 "Insurance and Real Estate" 36 "Private Household Services" 37 "Business Services" 38 "Repair Services" 39 "Personal Services , Except Private Household" 40 "Entertainment and Recreation Services" 41 "Hospitals" 42 "Health Services , Except Hospitals" 43 "Educational Services" 44 "Social Services" 45 "Other professional Services" 46 "Forestry and Fisheries" 51 "Armed Forces last job, currently unemployed" 52 "Public Administration" ; #delimit cr lab val ind_nber ind_nber notes ind_nber: CPS: derived by NBER from a-ind } /* Three-digit industry */ /* 1979-1982 */ if 1979<=`year' & `year'<=1982 { capture gen byte ind80=. gen byte ind03=. lab var ind70 "3-digit industry" #delimit ; lab def ind70 17 "Agricultural production (01)" 18 "Agricultural services, except horticultural (07 except 0713 and 073)" 19 "Horticultural services (073)" 27 "Forestry (08)" 28 "Fisheries (09)" 29 "Agriculture, forestry, and fisheries--allocated" 47 "Metal mining (10)" 48 "Coal mining (11, 12)" 49 "Crude petroleum and natural gas extractions (13)" 57 "Nonmetallic mining and quarrying, except fuel (14)" 58 "Mining--allocated" 67 "General building contractors (15)" 68 "General contractors, except building (16)" 69 "Special trade contractors (17)" 77 "Not specified construction" 78 "Construction--allocated" 107 "Logging (241)" 108 "Sawmills, planing mills, and mill work (242, 243)" 109 "Miscellaneous wood products (244,249)" 118 "Furniture and fixtures (25)" 119 "Glass and glass products (321-323)" 127 "Cement, concrete, gypsum, and plaster products (324, 327)" 128 "Structural clay products (325)" 137 "Pottery and related products (326)" 138 "Miscellaneous nonmetallic mineral and stone products (328, 329)" 139 "Blast furnaces, steel works, rolling and finishing mills (3312,3313)" 147 "Other primary iron and steel industries (3315-3317, 332, 3391, pt3399)" 148 "Primary aluminum industries (3334, part 334, 3352, 3361, pt3392,pt3399" 149 "Othprinonferrind.(3331-3,3339,3351,3356,3357,3362,3369,ptof334/3392/3399)" 157 "Cutlery, hand tools, and other hardware (342)" 158 "Fabricated structural metal products (344)" 159 "Screw machine products (345)" 167 "Metal stamping (346)" 168 "Miscellaneous fabricated metal products (341, 343, 347, 348, 349)" 169 "Not specified metal industries" 177 "Engines and turbines (351)" 178 "Farm machinery and equipment (352)" 179 "Construction and material handling machines (353)" 187 "Metalworking machinery (354)" 188 "Office and accounting machines (357 except 3573)" 189 "Electronic computing equipment (3573)" 197 "Machinery, except electrical, n.e.c. (355, 356, 358, 359)" 198 "Not specified machinery" 199 "Household appliances (363)" 207 "Radio, T.V., and communication equipment (365, 366)" 208 "Elec. mach., equip., and supplies, n.e.c. (361,362,364,367,369)" 209 "Not specified electrical machinery, equipment, and supplies" 219 "Motor vehicles and motor vehicle equipment (371)" 227 "Aircraft and parts (372)" 228 "Ship and boat building and repairing (373)" 229 "Railroad locomotives and equipment (374)" 237 "Mobile dwellings and campers (3791)" 238 "Cycles and miscellaneous transportation equipment (375, 3799)" 239 "Scientific and controlling instruments (381, 382)" 247 "Optical and health services supplies (383, 384, 385)" 248 "Photographic equipment and supplies (386)" 249 "Watches, clocks, and clockwork-operated devices (387)" 257 "Not specified professional equipment" 258 "Ordnance (19)***" 259 "Miscellaneous manufacturing industries (39)" 267 "Manufacturing, durable goods--allocated" 268 "Meat products (201)" 269 "Dairy products (202)" 278 "Canning and preserving fruits, vegetables, and sea foods (203)" 279 "Grain-mill products (204, 0713)" 287 "Bakery products (205)" 288 "Confectionery and related products (207)" 289 "Beverage industries (208)" 297 "Miscellaneous food preparation and kindred products (206,209)" 298 "Not specified food industries" 299 "Tobacco manufactures (21)" 307 "Knitting mills (225)" 308 "Dyeing and finishing textiles, except wool and knit goods (226)" 309 "Floor coverings, except hard surface (227)" 317 "Yarn, thread, and fabric mills (221-224, 228)" 318 "Miscellaneous textile mill products (229)" 319 "Apparel and accessories (231-238)" 327 "Miscellaneous fabricated textile products (239)" 328 "Pulp, paper, and paperboard mills (261-263, 266)" 329 "Miscellaneous paper and pulp products (264)" 337 "Paperboard containers and boxes (265)" 338 "Newspaper publishing and printing (271)" 339 "Printing, publishing, and allied industries, except newspapers (272-279)" 347 "Industrial chemicals (281)" 348 "Plastics,synthetics and resins,except fibers (282, except 2823 and 2824)" 349 "Synthetic fibers (2823, 2824)" 357 "Drugs and medicines (283)" 358 "Soaps and cosmetics (284)" 359 "Paints, varnishes, and related products (285)" 367 "Agricultural chemicals (287)" 368 "Miscellaneous chemicals (286, 289)" 369 "Not specified chemicals and allied products" 377 "Petroleum refining (291)" 378 "Miscellaneous petroleum and coal products (295, 299)" 379 "Rubber products (301-303, 306)" 387 "Miscellaneous plastic products (307)" 388 "Tanned, curried, and finished leather (311)" 389 "Footwear, except rubber (313, 314)" 397 "Leather products, except footwear (312, 315-317, 319)" 399 "Manufacturing, nondurable goods--allocated" 398 "NOT SPECIFIED MANUFACTURING INDUSTRIES" 407 "Railroads and railway express service (40)" 408 "Street railways and bus lines (411, 413-415, 417)" 409 "Taxicab service (412)" 417 "Trucking service (421,423)" 418 "Warehousing and storage (422)" 419 "Water transportation (44)" 427 "Air transportation (45)" 428 "Pipe lines, except natural gas (46)" 429 "Services incidental to transportation (47)" 447 "Radio broadcasting and television (483)" 448 "Telephone (wire and radio) (481)" 449 "Telegraph and miscellaneous communication services (482, 489)" 467 "Electric light and power (491)" 468 "Electric-gas utilities (493)" 469 "Gas and steam supply systems (492, 496)" 477 "Water supply (494)" 478 "Sanitary services (495)" 479 "Other and not specified utilities (497)" 499 "Transportation, communications, and other public utilities--allocated" 507 "Motor vehicles and equipment (501)" 508 "Drugs, chemicals and allied products (502)" 509 "Dry goods and apparel (503)" 527 "Food and related products (504)" 528 "Farm products--raw materials (505)" 529 "Electrical goods (506)" 537 "Hardware, plumbing, and heating supplies (507)" 538 "Not specified electrical and hardware products" 539 "Machinery equipment and supplies (508)" 557 "Metals and minerals, n.e.c. (5091)" 558 "Petroleum products (5092)" 559 "Scrap and waste materials (5093)" 567 "Alcoholic beverages (5095)" 568 "Paper and its products (5096)" 569 "Lumber and construction materials (5098)" 587 "Wholesalers, n.e.c. (5094, 5097, 5099)" 588 "Not specified wholesale trade" 599 "Wholesale trade--allocated" 607 "Lumber and building material retailing (521-524)" 608 "Hardware and farm equipment stores (525)" 609 "Department and mail order establishments (531, 532)" 617 "Limited price variety stores (533)" 618 "Vending machine operators (534)" 619 "Direct selling establishments (535)" 627 "Miscellaneous general merchandise stores (539)" 628 "Grocery stores (541)" 629 "Dairy products stores (545)" 637 "Retail bakeries (546)" 638 "Food stores, n.e.c. (542-544, 549)" 639 "Motor vehicle dealers (551, 552)" 647 "Tire, battery, and accessory dealers (553)" 648 "Gasoline service stations (554)" 649 "Miscellaneous vehicle dealers (559)" 657 "Apparel and accessories stores, except shoe stores (56 except 566)" 658 "Shoe stores (566)" 667 "Furniture and home furnishings stores (571)" 668 "Household appliances, TV, and radio stores (572, 573)" 669 "Eating and drinking places (58)" 677 "Drug stores (591)" 678 "Liquor stores (592)" 679 "Farm and garden supply stores (596)" 687 "Jewelry stores (597)" 688 "Fuel and ice dealers (598)" 689 "Retail florists (5992)" 697 "Miscellaneous retail stores (593-595, 599 exc. 5992)" 698 "Not specified retail trade" 699 "Retail trade--allocated" 707 "Banking (60)" 708 "Credit agencies (61)" 709 "Security, commodity brokerage, and investment companies (62, 67)" 717 "Insurance (63, 64)" 718 "Real estate, incl. real estate-insurance-law offices (65, 66)" 719 "Finance, insurance, and real estate--allocated" 727 "Advertising (731)" 728 "Services to dwellings and other buildings (734)" 729 "Commercial research, development, and testing labs (7391, 7397)" 737 "Employment and temporary help agencies (736, 7398)" 738 "Business management and consulting services (part 7392)" 739 "Computer programing services (part 7392)" 747 "Detective and protective services (7393)" 748 "Business services, n.e.c. (732, 733, 735, 7394, 7395, 7396, 7399)" 749 "Automobile services, except repair (751, 752, 754)" 757 "Automobile repair and related services (753)" 758 "Electrical repair shops (762, 7694)" 759 "Miscellaneous repair services (763, 764, 769, except 7694)" 767 "Business and repair services--allocated" 769 "Private households (88)" 777 "Hotels and motels (701)" 778 "Lodging places, except hotels and motels (702, 703, 704)" 779 "Laundering, cleaning, and other garment services (721, 727)" 787 "Beauty shops (723)" 788 "Barber shops (724)" 789 "Shoe repair shops (725)" 797 "Dressmaking shops (part 729)" 798 "Miscellaneous personal services (722, 726, part 729)" 799 "Personal services--allocated" 807 "Theaters and motion pictures (78, 792)" 808 "Bowling alleys, billiard and pool parlors (793)" 809 "Miscellaneous entertainment and recreation services (791, 794)" 817 "Entertainment and recreation services--allocated" 828 "Offices of physicians (801, 803)" 829 "Offices of dentists (802)" 837 "Offices of chiropractors (804)" 838 "Hospitals (806)" 839 "Convalescent institutions (8092)" 847 "Offices of health practitioners, n.e.c. (part 8099)" 848 "Health services, n.e.c. (807, part 8099)" 849 "Legal services (81)" 857 "Elementary and secondary schools (821)" 858 "Colleges and universities (822)" 859 "Libraries (823)" 867 "Educational services, n.e.c. (824, 829)" 868 "Not specified educational services" 869 "Museums, art galleries,and zoos (84)" 877 "Religious organizations(866)" 878 "Welfare services (part 867)" 879 "Residential welfare facilities (part 867)" 887 "Nonprofit membership organizations (861-865, 869)" 888 "Engineering and architectural services (891)" 889 "Accounting, auditing, and bookkeeping services (893)" 897 "Miscellaneous professional and related services (892, 899)" 899 "Professional and related services--allocated" 907 "Postal service (part 9190)" 917 "Federal public administration (part 9190, 9490)" 927 "State public administration (9290)" 937 "Local public administration (9390)" ; #delimit cr lab val ind70 ind70 } /* 1983-1991 */ if 1983<=`year' & `year'<=1991 { capture gen byte ind70=. gen byte ind03=. lab var ind80 "3-digit industry" #delimit ; lab def ind80 10 "Agricultural production, crops (01)" 11 "Agricultural production, livestock (02)" 20 "Agricultural services, except horticultural(07, except 078)[83-91]" 21 "Horticultural services (078) [83-91]" 30 "Forestry (08) [83-91]" 31 "Fishing, hunting, and trapping (09) [83-91]" 40 "Metal mining (10)" 41 "Coal mining (11, 12)" 42 "Crude petroleum and natural gas extraction (13) [83-91]" 50 "Nonmetallic mining and quarrying, except fuel (14)" 60 "CONSTRUCTION (15, 16, 17)" 100 "Meat products (201)" 101 "Dairy products (202)" 102 "Canned and preserved fruits and vegetables (203) [83-91]" 110 "Grain mill products (204)" 111 "Bakery products (205)" 112 "Sugar and confectionery products (206)" 120 "Beverage industries (208)" 121 "Miscellaneous food preparations & kindred products (207,209)" 122 "Not specified food industries" 130 "Tobacco manufactures (21)" 131 "not used" 132 "Knitting mills (225)" 140 "Dyeing & finishing textiles, except wool & knit goods (226)" 141 "Floor coverings, except hard surface (227) [83-91]" 142 "Yarn, thread, and fabric mills (228, 221-224)" 150 "Miscellaneous textile mill products (229)" 151 "Apparel and accessories, except knit (231-238)" 152 "Miscellaneous fabricated textile products (239)" 160 "Pulp, paper, and paperboard mills (261-263, 266)" 161 "Miscellaneous paper and pulp products (264)" 162 "Paperboard containers and boxes (265)" 171 "Newspaper publishing and printing (271)" 172 "Printing, publishing, & allied industries, except newspapers (272-279)" 180 "Plastics, synthetics, and resins (282)" 181 "Drugs (283)" 182 "Soaps and cosmetics (284)" 190 "Paints, varnishes, and related products (285)" 191 "Agricultural chemicals (287)" 192 "Industrial and miscellaneous chemicals (281, 286, 289)" 200 "Petroleum refining (291)" 201 "Miscellaneous petroleum and coal products (295, 299)" 210 "Tires and inner tubes (301)" 211 "Other rubber products, and plastics footwear and belting (302-304,306)" 212 "Miscellaneous plastics products (307)" 220 "Leather tanning and finishing (311)" 221 "Footwear, except rubber and plastic (313, 314)" 222 "Leather products, except footwear (315-317, 319)" 230 "Logging (241)" 231 "Sawmills, planning mills, and millwork (242, 243)" 232 "Wood buildings and mobile homes (245)" 241 "Miscellaneous wood products (244, 249)" 242 "Furniture and fixtures (25)" 250 "Glass and glass products (321-323)" 251 "Cement, concrete, gypsum, and plaster products (324, 327)" 252 "Structural clay products (325)" 261 "Pottery and related products (326)" 262 "Miscellaneous nonmetallic mineral & stone products (328,329)" 270 "Blast furnaces, steelworks, rolling & finishing mills (331)" 271 "Iron and steel foundries (332)" 272 "Primary aluminum industries (3334, part 334, 3353-3355,3361)" 280 "Oth.prim.metalind. (3331-3333,3339,pt334,3351,3356,3357,3362,3369,339)" 281 "Cutlery, handtools, and other hardware (342) [83-91]" 282 "Fabricated structural metal products (344)" 290 "Screw machine products (345)" 291 "Metal forgings and stampings (346)" 292 "Ordnance (348)" 300 "Miscellaneous fabricated metal products (341,343,347,349)" 301 "Not specified metal industries" 310 "Engines and turbines (351)" 311 "Farm machinery and equipment (352)" 312 "Construction and material handling machines (353)" 320 "Metalworking machinery (354)" 321 "Office and accounting machines (357, except 3573)" 322 "Electronic computing equipment (3573) [83-91]" 331 "Machinery, except electrical, n.e.c. (355, 356, 358, 359)" 332 "Not specified machinery" 340 "Household appliances (363)" 341 "Radio, T.V., and communication equipment (365, 366)" 342 "Elec.machinery,equip,andsupplies, n.e.c. (361,362,364,367,369)" 350 "Not specified electrical machinery, equipment, & supplies" 351 "Motor vehicles and motor vehicle equipment (371)" 352 "Aircraft and parts (372)" 360 "Ship and boat building and repairing (373)" 361 "Railroad locomotives and equipment (374)" 362 "Guided missiles, space vehicles, and parts (376)" 370 "Cycles and miscellaneous transportation equipment (375, 379)" 371 "Scientific and controlling instruments (381, 382)" 372 "Optical and health services supplies (383, 384, 385) [83-91]" 380 "Photographic equipment and supplies (386)" 381 "Watches, clocks, and clockwork operated devices (387)" 382 "Not specified professional equipment [83-91]" 390 "Toys, amusement, and sporting goods (394)" 391 "Miscellaneous manufacturing industries (39 except 394)" 392 "Not specified manufacturing industries*" 400 "Railroads (40)" 401 "Bus service and urban transit (41 except 412)" 402 "Taxicab service (412)" 410 "Trucking service (421, 423)" 411 "Warehousing and storage (422)" 412 "U.S. Postal Service (43)" 420 "Water transportation (44)" 421 "Air transportation (45)" 422 "Pipe lines, except natural gas (46)" 432 "Services incidental to transportation (47)" 440 "Radio and television broadcasting (483) [83-91]" 441 "Telephone, wire and radio (481) [83-91]" 442 "Telegraph and miscellaneous communication services (482, 489)" 460 "Electric light and power (491) [83-91]" 461 "Gas and steam supply systems (492, 496) [83-91]" 462 "Electric and gas, and other combinations (493) [83-91]" 470 "Water supply and irrigation (494, 497)" 471 "Sanitary services (495)" 472 "Not specified utilities" 500 "Motor vehicles and equipment (501)" 501 "Furniture and home furnishings (502)" 502 "Lumber and construction materials (503)" 510 "Sporting goods, toys, and hobby goods (504) [83-91]" 511 "Metals and minerals, except petroleum (505)" 512 "Electrical goods (506)" 521 "Hardware, plumbing and heating supplies (507)" 522 "Not specified electrical and hardware products [83-91]" 530 "Machinery, equipment, and supplies (508)" 531 "Scrap and waste materials (5093)" 532 "Miscellaneous wholesale, durable goods (5094, 5099)" 540 "Paper and paper products (511)" 541 "Drugs, chemicals, and allied products (512, 516)" 542 "Apparel, fabrics, and notions (513)" 550 "Groceries and related products (514)" 551 "Farm products - raw materials (515)" 552 "Petroleum products (517)" 560 "Alcoholic beverages (518)" 561 "Farm supplies (5191)" 562 "Miscellaneous wholesale, nondurable goods (5194, 5198, 5199)" 571 "Not specified wholesale trade" 580 "Lumber and building material retailing (521, 523)" 581 "Hardware stores (525)" 582 "Retail nurseries and garden stores (526)" 590 "Mobile home dealers (527)" 591 "Department stores (531)" 592 "Variety stores (533)" 600 "Miscellaneous general merchandise stores (539)" 601 "Grocery stores (541)" 602 "Dairy products stores (545)" 610 "Retail bakeries (546)" 611 "Food stores, n.e.c. (542, 543, 544, 549)" 612 "Motor vehicle dealers (551, 552)" 620 "Auto and home supply stores (553)" 621 "Gasoline service stations (554)" 622 "Miscellaneous vehicle dealers (555, 556, 557, 559)" 630 "Apparel and accessory stores, except shoe (56, except 566)[83-91]" 631 "Shoe stores (566) [83-91]" 632 "Furniture and home furnishings stores (571) [83-91]" 640 "Household appliances, TV, and radio stores (572,573) [83-91]" 641 "Eating and drinking places (58)" 642 "Drug stores (591)" 650 "Liquor stores (592)" 651 "Sporting goods, bicycles, and hobby stores (5941,5945,5946)" 652 "Book and stationery stores (5942, 5943)" 660 "Jewelry stores (5944)" 661 "Sewing, needlework, and piece goods stores (5949) [83-91]" 662 "Mail order houses (5961) [83-91]" 670 "Vending machine operators (5962)" 671 "Direct selling establishments (5963)" 672 "Fuel and ice dealers (598) [83-91]" 681 "Retail florists (5992)" 682 "Miscellaneous retail stores (593,5947,5948,5993,5994,5999)" 691 "Not specified retail trade" 700 "Banking (60)" 701 "Savings and loan associations (612) [83-91]" 702 "Credit agencies, n.e.c. (61, except 612)" 710 "Security, commodity brokerage, and investment companies (62,67)" 711 "Insurance (63, 64)" 712 "Real estate, including real estate-insurance-law offices (65,66)[83-91]" 721 "Advertising (731)" 722 "Services to dwellings and other buildings (734)" 730 "Commercial research, development, and testing labs (7391, 7397) [83-91]" 731 "Personnel supply services (736)" 732 "Business management and consulting services (7392) [83-91]" 740 "Computer and data processing services (737) [83-91]" 741 "Detective and protective services (7393) [83-91]" 742 "Business services, n.e.c.(732,733,735,7394,7395,7396,7399)[83-91]" 750 "Automotive services, except repair (751, 752, 754) [83-91]" 751 "Automotive repair shops (753) [83-91]" 752 "Electrical repair shops (762, 7694)" 760 "Miscellaneous repair services (763, 764, 7692, 7699)" 761 "Private households (88)" 762 "Hotels and motels (701)" 770 "Lodging places, except hotels and motels (702, 703, 704)" 771 "Laundry, cleaning, and garment services (721)" 772 "Beauty shops (723)" 780 "Barber shops (724)" 781 "Funeral service and crematories (726)" 782 "Shoe repair shops (725)" 790 "Dressmaking shops (part 729)" 791 "Miscellaneous personal services (722, part 729)" 800 "Theaters and motion pictures (78, 792)" 801 "Bowling alleys, billiard and pool parlors (793) [83-91]" 802 "Miscellaneous entertainment & recreation services (791, 794, 799) [83-91]" 812 "Offices of physicians (801, 803) [83-91]" 820 "Offices of dentists (802) [83-91]" 821 "Offices of chiropractors (8041) [83-91]" 822 "Offices of optometrists (8042) [83-91]" 830 "Offices of health practitioners, n.e.c. (8049) [83-91]" 831 "Hospitals (806)" 832 "Nursing and personal care facilities (805)" 840 "Health services, n.e.c. (807, 808, 809)" 841 "Legal services (81)" 842 "Elementary and secondary schools (821)" 850 "Colleges and universities (822)" 851 "Business, trade, and vocational schools (824) [83-91]" 852 "Libraries (823)" 860 "Educational services, n.e.c. (829)" 861 "Job training and vocational rehabilitation services (833)" 862 "Child day care services (835)" 870 "Residential care facilities, without nursing (836)" 871 "Social services, n.e.c. (832, 839)" 872 "Museums, art galleries, and zoos (84)" 880 "Religious organizations (866)" 881 "Membership organizations (861-865, 869) [83-91]" 882 "Engineering, architectural, and surveying services (891)" 890 "Accounting, auditing, and bookkeeping services (893)" 891 "Noncommercial educational and scientific research (892) [83-91]" 892 "Miscellaneous professional and related services (899) [83-91]" 900 "Executive and legislative offices (911-913)" 901 "General government, n.e.c. (919)" 910 "Justice, public order, and safety (92)" 921 "Public finance, taxation, and monetary policy (93)" 922 "Administration of human resources programs (94)" 930 "Administration of environmental quality & housing programs (95)" 931 "Administration ofeconomic programs (96)" 932 "National securityand international affairs (97)" 991 "Labor force status is unemployed & whose last job was Armed Forces" 992 "Labor force status is unemployed" ; #delimit cr lab val ind80 ind80 } /* 1992 - 2004 */ if 1992<=`year' { capture gen byte ind70=. gen byte ind03=. lab var ind80 "3-digit industry" #delimit ; lab def ind80 10 "Agricultural production, crops (01)" 11 "Agricultural production, livestock (02)" 12 "Veterinary services [1992+]" 20 "Landscape and horticultutal services [92+]" 30 "Agricultural services, n.e.c. [92+]" 31 "Forestry [92+]" 32 "Fishing, hunting, and trapping [92+]" 40 "Metal mining (10)" 41 "Coal mining (11, 12)" 42 "Oil and gas extraction [92+]" 50 "Nonmetallic mining and quarrying, except fuel (14)" 60 "CONSTRUCTION (15, 16, 17)" 100 "Meat products (201)" 101 "Dairy products (202)" 102 "Canned, frozen, and preserved fruits and vegetables" 110 "Grain mill products (204)" 111 "Bakery products (205)" 112 "Sugar and confectionery products (206)" 120 "Beverage industries (208)" 121 "Miscellaneous food preparations & kindred products (207,209)" 122 "Not specified food industries" 130 "Tobacco manufactures (21)" 131 "not used" 132 "Knitting mills (225)" 140 "Dyeing & finishing textiles, except wool & knit goods (226)" 141 "Carpets and rugs [92+]" 142 "Yarn, thread, and fabric mills (228, 221-224)" 150 "Miscellaneous textile mill products (229)" 151 "Apparel and accessories, except knit (231-238)" 152 "Miscellaneous fabricated textile products (239)" 160 "Pulp, paper, and paperboard mills (261-263, 266)" 161 "Miscellaneous paper and pulp products (264)" 162 "Paperboard containers and boxes (265)" 171 "Newspaper publishing and printing (271)" 172 "Printing, publishing, & allied industries, except newspapers (272-279)" 180 "Plastics, synthetics, and resins (282)" 181 "Drugs (283)" 182 "Soaps and cosmetics (284)" 190 "Paints, varnishes, and related products (285)" 191 "Agricultural chemicals (287)" 192 "Industrial and miscellaneous chemicals (281, 286, 289)" 200 "Petroleum refining (291)" 201 "Miscellaneous petroleum and coal products (295, 299)" 210 "Tires and inner tubes (301)" 211 "Other rubber products, and plastics footwear and belting (302-304,306)" 212 "Miscellaneous plastics products (307)" 220 "Leather tanning and finishing (311)" 221 "Footwear, except rubber and plastic (313, 314)" 222 "Leather products, except footwear (315-317, 319)" 230 "Logging (241)" 231 "Sawmills, planning mills, and millwork (242, 243)" 232 "Wood buildings and mobile homes (245)" 241 "Miscellaneous wood products (244, 249)" 242 "Furniture and fixtures (25)" 250 "Glass and glass products (321-323)" 251 "Cement, concrete, gypsum, and plaster products (324, 327)" 252 "Structural clay products (325)" 261 "Pottery and related products (326)" 262 "Miscellaneous nonmetallic mineral & stone products (328,329)" 270 "Blast furnaces, steelworks, rolling & finishing mills (331)" 271 "Iron and steel foundries (332)" 272 "Primary aluminum industries (3334, part 334, 3353-3355,3361)" 280 "Oth.prim.met.ind.(3331-3333,3339,pt334,3351,3356,3357,3362,3369,339)" 281 "Cutlery, handtools, and general hardware [92+]" 282 "Fabricated structural metal products (344)" 290 "Screw machine products (345)" 291 "Metal forgings and stampings (346)" 292 "Ordnance (348)" 300 "Miscellaneous fabricated metal products (341,343,347,349)" 301 "Not specified metal industries" 310 "Engines and turbines (351)" 311 "Farm machinery and equipment (352)" 312 "Construction and material handling machines (353)" 320 "Metalworking machinery (354)" 321 "Office and accounting machines (357, except 3573)" 322 "Computers and related equipment [92+]" 331 "Machinery, except electrical, n.e.c. (355, 356, 358, 359)" 332 "Not specified machinery" 340 "Household appliances (363)" 341 "Radio, T.V., and communication equipment (365, 366)" 342 "Elec.mach., equip., and supplies, n.e.c. (361, 362, 364, 367, 369)" 350 "Not specified electrical machinery, equipment, & supplies" 351 "Motor vehicles and motor vehicle equipment (371)" 352 "Aircraft and parts (372)" 360 "Ship and boat building and repairing (373)" 361 "Railroad locomotives and equipment (374)" 362 "Guided missiles, space vehicles, and parts (376)" 370 "Cycles and miscellaneous transportation equipment (375, 379)" 371 "Scientific and controlling instruments (381, 382)" 372 "Medical, dental, and optical instruments and supplies [92+]" 380 "Photographic equipment and supplies (386)" 381 "Watches, clocks, and clockwork operated devices (387)" 390 "Toys, amusement, and sporting goods (394)" 391 "Miscellaneous manufacturing industries (39 except 394)" 392 "Not specified manufacturing industries*" 400 "Railroads (40)" 401 "Bus service and urban transit (41 except 412)" 402 "Taxicab service (412)" 410 "Trucking service (421, 423)" 411 "Warehousing and storage (422)" 412 "U.S. Postal Service (43)" 420 "Water transportation (44)" 421 "Air transportation (45)" 422 "Pipe lines, except natural gas (46)" 432 "Services incidental to transportation (47)" 440 "Radio and television broadcasting and cable [92+]" 441 "Telephone communications [92+]" 442 "Telegraph and miscellaneous communication services (482, 489)" 450 "Electric light and power [92+]" 451 "Gas and steam supply systems [92+]" 452 "Electric and gas, and other combinations [92+]" 470 "Water supply and irrigation (494, 497)" 471 "Sanitary services (495)" 472 "Not specified utilities" 500 "Motor vehicles and equipment (501)" 501 "Furniture and home furnishings (502)" 502 "Lumber and construction materials (503)" 510 "Professional and commercial equipment and supplies [92+]" 511 "Metals and minerals, except petroleum (505)" 512 "Electrical goods (506)" 521 "Hardware, plumbing and heating supplies (507)" 530 "Machinery, equipment, and supplies (508)" 531 "Scrap and waste materials (5093)" 532 "Miscellaneous wholesale, durable goods (5094, 5099)" 540 "Paper and paper products (511)" 541 "Drugs, chemicals, and allied products (512, 516)" 542 "Apparel, fabrics, and notions (513)" 550 "Groceries and related products (514)" 551 "Farm products - raw materials (515)" 552 "Petroleum products (517)" 560 "Alcoholic beverages (518)" 561 "Farm supplies (5191)" 562 "Miscellaneous wholesale, nondurable goods (5194, 5198, 5199)" 571 "Not specified wholesale trade" 580 "Lumber and building material retailing (521, 523)" 581 "Hardware stores (525)" 582 "Retail nurseries and garden stores (526)" 590 "Mobile home dealers (527)" 591 "Department stores (531)" 592 "Variety stores (533)" 600 "Miscellaneous general merchandise stores (539)" 601 "Grocery stores (541)" 602 "Dairy products stores (545)" 610 "Retail bakeries (546)" 611 "Food stores, n.e.c. (542, 543, 544, 549)" 612 "Motor vehicle dealers (551, 552)" 620 "Auto and home supply stores (553)" 621 "Gasoline service stations (554)" 622 "Miscellaneous vehicle dealers (555, 556, 557, 559)" 623 "Apparel and accessory stores, except shoe [92+]" 630 "Shoe stores [92+]" 631 "Furniture and home furnishings stores [92+]" 632 "Household appliance stores [92+]" 633 "Radio, TV, and computer stores [92+]" 640 "Music stores [92+]" 641 "Eating and drinking places (58)" 642 "Drug stores (591)" 650 "Liquor stores (592)" 651 "Sporting goods, bicycles, and hobby stores (5941,5945,5946)" 652 "Book and stationery stores (5942, 5943)" 660 "Jewelry stores (5944)" 661 "Gift, novelty, and souvenir shops [92+]" 662 "Sewing, needlework, and piece goods stores [92+]" 663 "Catalog and mail order houses [92+]" 670 "Vending machine operators (5962)" 671 "Direct selling establishments (5963)" 672 "Fuel dealers [92+]" 681 "Retail florists (5992)" 682 "Miscellaneous retail stores (593,5947,5948,5993,5994,5999)" 691 "Not specified retail trade" 700 "Banking (60)" 701 "Savings institutions, including credit unions [92+]" 702 "Credit agencies, n.e.c. (61, except 612)" 710 "Security, commodity brokerage, and investment companies (62,67)" 711 "Insurance (63, 64)" 712 "Real estate, including real estate-insurance offices [92+]" 721 "Advertising (731)" 722 "Services to dwellings and other buildings (734)" 731 "Personnel supply services (736)" 732 "Computer and data processinf services [92+]" 740 "Detective and protective sevices [92+]" 741 "Business services, n.e.c [92+]" 742 "Automotive rental and leasing, without drivers [92+]" 750 "Automoblie parking and carwashes [92+]" 751 "Automotive repair and related services [92+]" 752 "Electrical repair shops (762, 7694)" 760 "Miscellaneous repair services (763, 764, 7692, 7699)" 761 "Private households (88)" 762 "Hotels and motels (701)" 770 "Lodging places, except hotels and motels (702, 703, 704)" 771 "Laundry, cleaning, and garment services (721)" 772 "Beauty shops (723)" 780 "Barber shops (724)" 781 "Funeral service and crematories (726)" 782 "Shoe repair shops (725)" 790 "Dressmaking shops (part 729)" 791 "Miscellaneous personal services (722, part 729)" 800 "Theaters and motion pictures (78, 792)" 801 "Video tape rental [92+]" 802 "Bowling centers [92+]" 810 "Miscellaneous entertainment and recreational services [92+]" 812 "Offices and clinics of physicians [92+]" 820 "Offices and clinics of dentists [92+]" 821 "Offices and clinics of chiropractors [92+]" 822 "Offices and clinics of optometrists [92+]" 830 "Offices and clinics of health practitioners, n.e.c [92+]" 831 "Hospitals (806)" 832 "Nursing and personal care facilities (805)" 840 "Health services, n.e.c. (807, 808, 809)" 841 "Legal services (81)" 842 "Elementary and secondary schools (821)" 850 "Colleges and universities (822)" 851 "Vocational schools [92+]" 852 "Libraries (823)" 860 "Educational services, n.e.c. (829)" 861 "Job training and vocational rehabilitation services (833)" 862 "Child day care services (835)" 863 "Family child care homes [92+]" 870 "Residential care facilities, without nursing (836)" 871 "Social services, n.e.c. (832, 839)" 872 "Museums, art galleries, and zoos (84)" 873 "Labor unions [92+]" 880 "Religious organizations (866)" 881 "Membership organizations, n.e.c [92+]" 882 "Engineering, architectural, and surveying services (891)" 890 "Accounting, auditing, and bookkeeping services (893)" 891 "Research, development, and testing services [92+]" 892 "Management and public relations services [92+]" 893 "Miscellaneous professional and related services [92+]" 900 "Executive and legislative offices (911-913)" 901 "General government, n.e.c. (919)" 910 "Justice, public order, and safety (92)" 921 "Public finance, taxation, and monetary policy (93)" 922 "Administration of human resources programs (94)" 930 "Administration of environmental quality & housing programs (95)" 931 "Administration ofeconomic programs (96)" 932 "National securityand international affairs (97)" 991 "Labor force status is unemployed and whose last job was Armed Forces" 992 "Labor force status is unemployed" ; #delimit cr lab val ind80 ind80 } lab var ind70 "3-digit industry" notes ind70: Available 1979-1982 only notes ind70: CPS: TK lab var ind80 "3-digit industry" notes ind80: Available from 1983-2002 only notes ind80: CPS: a-ind lab var ind03 "3-digit industry" notes ind03: Available from 1983-2002 only notes ind03: CPS: a-ind /* Agriculture, industry, services */ gen byte agric=0 if ind_nber~=. replace agric=1 if ind_nber==1 | ind_nber==2 | ind_nber==46 lab var agric "Agriculture" notes agric: Derived from NBER ind_nber (derived from CPS a-ind) gen byte manuf=0 if ind_nber~=. replace manuf=1 if 3<=ind_nber & ind_nber<=28 replace manuf=0 if ind_nber==4 /* construction */ lab var manuf "Manufacturing" notes manuf: Excludes transportation, communications, utilities, construction notes manuf: Includes mining notes manuf: Derived from NBER ind_nber (derived from CPS a-ind) gen byte servs=0 if ind_nber~=. replace servs=1 if (29<=ind_nber & ind_nber<=52) & ind_nber~=46 replace servs=1 if ind_nber==4 /* construction */ lab var servs "Services" notes servs: Includes transportation, communications, utilities, construction notes servs: Derived from NBER ind_nber (derived from CPS a-ind)