--------------------------------------------------------------------------------

      name:  <unnamed>

       log:  C:\Documents and Settings\Michael Rosenfeld\My Documents\newer web pages\soc_meth_proj3\2010_logs\first_section_log.log

  log type:  text

 opened on:  26 Jan 2010, 12:31:33

 

. use "C:\Documents and Settings\Michael Rosenfeld\Desktop\cps_mar_2000_new.dta", clear

 

. *we had no problem opening this dataset, but if we needed more memory, we could have added more. Note that opening the log and opening the file are most easily done from the menus.

 

. clear

 

. set mem 200m

 

* Set mem is the command that allocates more memory to Stata. You need at least 20m because the dataset itself is a little more than 10m and you want some room to add variables if you need to.

 

Current memory allocation

 

                    current                                 memory usage

    settable          value     description                 (1M = 1024k)

    --------------------------------------------------------------------

    set maxvar         5000     max. variables allowed           1.909M

    set memory          200M    max. data space                200.000M

    set matsize         400     max. RHS vars in models          1.254M

                                                            -----------

                                                               203.163M

 

. use "C:\Documents and Settings\Michael Rosenfeld\Desktop\cps_mar_2000_new.dta", clear

 

. set mem 150m

no; data in memory would be lost

r(4);

 

. tabulate sex

 

        Sex |      Freq.     Percent        Cum.

------------+-----------------------------------

       Male |     64,791       48.46       48.46

     Female |     68,919       51.54      100.00

------------+-----------------------------------

      Total |    133,710      100.00

 

. *there are 133,710 individuals

 

. there are 133K individuals

unrecognized command:  there

r(199);

 

. *The star tells Stata not to try to run it as a command, it is for comments. If you leave out the star, Stata will try to run your text comments, which of course results in errors like the one above.

 

. tabulate sex, missing

 

        Sex |      Freq.     Percent        Cum.

------------+-----------------------------------

       Male |     64,791       48.46       48.46

     Female |     68,919       51.54      100.00

------------+-----------------------------------

      Total |    133,710      100.00

 

. tabulate sex, nolabel

 

        Sex |      Freq.     Percent        Cum.

------------+-----------------------------------

          1 |     64,791       48.46       48.46

          2 |     68,919       51.54      100.00

------------+-----------------------------------

      Total |    133,710      100.00

 

*This is something we will talk more about in class: the numeric variables have text labels.

 

. tabulate  occ1990

 

                 Occupation, 1990 basis |      Freq.     Percent        Cum.

----------------------------------------+-----------------------------------

Chief executives and public administrat |         14        0.01        0.01

                     Financial managers |        362        0.27        0.28

Human resources and labor relations man |        125        0.09        0.37

Managers and specialists in marketing,  |        450        0.34        0.71

Managers in education and related field |        443        0.33        1.04

Managers of medicine and health occupat |        374        0.28        1.32

Managers of food-serving and lodging es |        747        0.56        1.88

 Managers of properties and real estate |        279        0.21        2.09

                      Funeral directors |         21        0.02        2.11

Managers of service organizations, n.e. |        378        0.28        2.39

    Managers and administrators, n.e.c. |      4,035        3.02        5.41

               Accountants and auditors |        730        0.55        5.95

                 Insurance underwriters |         47        0.04        5.99

            Other financial specialists |        405        0.30        6.29

                    Management analysts |        220        0.16        6.45

Personnel, HR, training, and labor rela |        280        0.21        6.66

Purchasing agents and buyers, of farm p |          8        0.01        6.67

     Buyers, wholesale and retail trade |        109        0.08        6.75

Purchasing managers, agents and buyers, |        180        0.13        6.89

          Business and promotion agents |         18        0.01        6.90

                Construction inspectors |         43        0.03        6.93

Inspectors and compliance officers, out |        150        0.11        7.04

         Management support occupations |        237        0.18        7.22

                             Architects |         90        0.07        7.29

                     Aerospace engineer |         33        0.02        7.31

Metallurgical and materials engineers,  |         18        0.01        7.33

Petroleum, mining, and geological engin |         10        0.01        7.33

                     Chemical engineers |         34        0.03        7.36

                        Civil engineers |        146        0.11        7.47

                    Electrical engineer |        308        0.23        7.70

                   Industrial engineers |        113        0.08        7.78

                   Mechanical engineers |        163        0.12        7.91

     Not-elsewhere-classified engineers |        130        0.10        8.00

Computer systems analysts and computer  |        737        0.55        8.55

Operations and systems researchers and  |         92        0.07        8.62

                              Actuaries |          7        0.01        8.63

                          Statisticians |         11        0.01        8.64

Mathematicians and mathematical scienti |          2        0.00        8.64

             Physicists and astronomers |          8        0.01        8.64

                               Chemists |         57        0.04        8.69

       Atmospheric and space scientists |          7        0.01        8.69

                             Geologists |         23        0.02        8.71

            Physical scientists, n.e.c. |         25        0.02        8.73

       Agricultural and food scientists |         29        0.02        8.75

                  Biological scientists |         60        0.04        8.79

  Foresters and conservation scientists |         19        0.01        8.81

                     Medical scientists |         27        0.02        8.83

                             Physicians |        346        0.26        9.09

                               Dentists |         79        0.06        9.15

                          Veterinarians |         24        0.02        9.16

                           Optometrists |         16        0.01        9.18

                            Podiatrists |          6        0.00        9.18

               Other health and therapy |         25        0.02        9.20

                      Registered nurses |        966        0.72        9.92

                            Pharmacists |        113        0.08       10.01

           Dietitians and nutritionists |         44        0.03       10.04

                 Respiratory therapists |         35        0.03       10.07

                Occupational therapists |         26        0.02       10.08

                    Physical therapists |         66        0.05       10.13

                      Speech therapists |         39        0.03       10.16

                     Therapists, n.e.c. |         38        0.03       10.19

                 Physicians' assistants |         26        0.02       10.21

Earth, environmental, and marine scienc |          6        0.00       10.22

         Biological science instructors |         16        0.01       10.23

                  Chemistry instructors |         12        0.01       10.24

                    Physics instructors |          9        0.01       10.24

                 Psychology instructors |         15        0.01       10.25

                  Economics instructors |          9        0.01       10.26

                    History instructors |         10        0.01       10.27

                  Sociology instructors |          6        0.00       10.27

                Engineering instructors |         14        0.01       10.28

                       Math instructors |         25        0.02       10.30

                  Education instructors |          9        0.01       10.31

                        Law instructors |          6        0.00       10.31

                   Theology instructors |          8        0.01       10.32

       Subject instructors (HS/college) |        369        0.28       10.60

Kindergarten and earlier school teacher |        301        0.23       10.82

                Primary school teachers |      1,065        0.80       11.62

              Secondary school teachers |        679        0.51       12.12

             Special education teachers |        190        0.14       12.27

                      Teachers , n.e.c. |        450        0.34       12.60

  Vocational and educational counselors |        127        0.09       12.70

                             Librarians |        138        0.10       12.80

                Archivists and curators |         25        0.02       12.82

Economists, market researchers, and sur |         57        0.04       12.86

                          Psychologists |        122        0.09       12.95

              Social scientists, n.e.c. |         20        0.01       12.97

            Urban and regional planners |         15        0.01       12.98

                         Social workers |        412        0.31       13.29

                     Recreation workers |         59        0.04       13.33

           Clergy and religious workers |        245        0.18       13.52

                                Lawyers |        441        0.33       13.85

                    Writers and authors |         69        0.05       13.90

                      Technical writers |         27        0.02       13.92

                              Designers |        318        0.24       14.16

                   Musician or composer |         71        0.05       14.21

           Actors, directors, producers |         49        0.04       14.25

Art makers: painters, sculptors, craft- |        104        0.08       14.32

                          Photographers |         78        0.06       14.38

                                Dancers |         24        0.02       14.40

Art/entertainment performers and relate |         83        0.06       14.46

                  Editors and reporters |        167        0.12       14.59

                             Announcers |         32        0.02       14.61

Athletes, sports instructors, and offic |         57        0.04       14.65

Clinical laboratory technologies and te |        164        0.12       14.78

                       Dental hygenists |         52        0.04       14.81

         Health record tech specialists |         11        0.01       14.82

            Radiologic tech specialists |         67        0.05       14.87

              Licensed practical nurses |        197        0.15       15.02

Health technologists and technicians, n |        358        0.27       15.29

Electrical and electronic (engineering) |        246        0.18       15.47

        Engineering technicians, n.e.c. |        112        0.08       15.56

     Mechanical engineering technicians |          6        0.00       15.56

                               Drafters |         91        0.07       15.63

Surveyors, cartographers, mapping scien |         50        0.04       15.67

                 Biological technicians |         57        0.04       15.71

                   Chemical technicians |         41        0.03       15.74

              Other science technicians |         38        0.03       15.77

         Airplane pilots and navigators |         60        0.04       15.81

                Air traffic controllers |         14        0.01       15.82

          Broadcast equipment operators |         16        0.01       15.83

           Computer software developers |        308        0.23       16.06

Programmers of numerically controlled m |          3        0.00       16.07

Legal assistants, paralegals, legal sup |        181        0.14       16.20

                    Technicians, n.e.c. |         51        0.04       16.24

Supervisors and proprietors of sales jo |      2,388        1.79       18.03

            Insurance sales occupations |        263        0.20       18.22

          Real estate sales occupations |        382        0.29       18.51

   Financial services sales occupations |        277        0.21       18.72

     Advertising and related sales jobs |         78        0.06       18.77

                        Sales engineers |         10        0.01       18.78

                   Salespersons, n.e.c. |      2,705        2.02       20.80

                    Retail sales clerks |        105        0.08       20.88

                               Cashiers |      1,654        1.24       22.12

Door-to-door sales, street sales, and n |        232        0.17       22.29

Sales demonstrators / promoters / model |         41        0.03       22.32

                     Office supervisors |        210        0.16       22.48

Computer and peripheral equipment opera |        165        0.12       22.60

                            Secretaries |      1,420        1.06       23.67

                          Stenographers |         79        0.06       23.73

                                Typists |        267        0.20       23.93

Interviewers, enumerators, and surveyor |        119        0.09       24.01

                           Hotel clerks |         64        0.05       24.06

Transportation ticket and reservation a |        147        0.11       24.17

                          Receptionists |        550        0.41       24.58

                Information clerks, nec |        232        0.17       24.76

        Correspondence and order clerks |        141        0.11       24.86

Human resources clerks, except payroll  |         48        0.04       24.90

                     Library assistants |         88        0.07       24.96

                            File clerks |        174        0.13       25.09

                         Records clerks |        112        0.08       25.18

Bookkeepers and accounting and auditing |        891        0.67       25.84

         Payroll and timekeeping clerks |         81        0.06       25.91

Cost and rate clerks (financial records |         30        0.02       25.93

Billing clerks and related financial re |        151        0.11       26.04

Duplication machine operators / office  |         21        0.02       26.06

                Mail and paper handlers |          7        0.01       26.06

       Office machine operators, n.e.c. |         11        0.01       26.07

                    Telephone operators |         78        0.06       26.13

                Other telecom operators |          6        0.00       26.13

 Postal clerks, excluding mail carriers |        162        0.12       26.25

       Mail carriers for postal service |        163        0.12       26.38

    Mail clerks, outside of post office |         89        0.07       26.44

                             Messengers |         73        0.05       26.50

                            Dispatchers |        135        0.10       26.60

          Shipping and receiving clerks |        462        0.35       26.94

             Stock and inventory clerks |        228        0.17       27.11

                          Meter readers |         17        0.01       27.13

      Weighers, measurers, and checkers |         34        0.03       27.15

Material recording, scheduling, product |        256        0.19       27.34

Insurance adjusters, examiners, and inv |        214        0.16       27.50

Customer service reps, investigators an |        523        0.39       27.89

Eligibility clerks for government progr |         57        0.04       27.94

            Bill and account collectors |         85        0.06       28.00

                  General office clerks |        425        0.32       28.32

                           Bank tellers |        213        0.16       28.48

                           Proofreaders |          9        0.01       28.48

                      Data entry keyers |        375        0.28       28.77

                     Statistical clerks |         52        0.04       28.80

                        Teacher's aides |        676        0.51       29.31

    Administrative support jobs, n.e.c. |        498        0.37       29.68

Housekeepers, maids, butlers, stewards, |        442        0.33       30.01

Private household cleaners and servants |        321        0.24       30.25

                  Supervisors of guards |         27        0.02       30.27

Fire fighting, prevention, and inspecti |        138        0.10       30.38

Police, detectives, and private investi |        371        0.28       30.65

Other law enforcement: sheriffs, bailif |        209        0.16       30.81

     Crossing guards and bridge tenders |         16        0.01       30.82

          Guards, watchmen, doorkeepers |        388        0.29       31.11

            Protective services, n.e.c. |         40        0.03       31.14

                             Bartenders |        198        0.15       31.29

                        Waiter/waitress |        793        0.59       31.88

               Cooks, variously defined |      1,475        1.10       32.99

      Food counter and fountain workers |        199        0.15       33.14

                        Kitchen workers |        173        0.13       33.26

                     Waiter's assistant |        339        0.25       33.52

                 Misc food prep workers |        444        0.33       33.85

                      Dental assistants |        126        0.09       33.94

           Health aides, except nursing |        196        0.15       34.09

Nursing aides, orderlies, and attendant |      1,033        0.77       34.86

Supervisors of cleaning and building se |         89        0.07       34.93

                               Janitors |      1,309        0.98       35.91

                     Elevator operators |          3        0.00       35.91

               Pest control occupations |         43        0.03       35.94

Supervisors of personal service jobs, n |         76        0.06       36.00

                                Barbers |         49        0.04       36.04

        Hairdressers and cosmetologists |        393        0.29       36.33

         Recreation facility attendants |        134        0.10       36.43

                                 Guides |         31        0.02       36.45

                                 Ushers |         18        0.01       36.47

Public transportation attendants and in |         61        0.05       36.51

                        Baggage porters |         25        0.02       36.53

                  Welfare service aides |         57        0.04       36.57

                     Child care workers |        597        0.45       37.02

      Personal service occupations, nec |        145        0.11       37.13

           Farmers (owners and tenants) |        548        0.41       37.54

        Horticultural specialty farmers |         25        0.02       37.56

Farm managers, except for horticultural |         80        0.06       37.62

Managers of horticultural specialty far |         10        0.01       37.63

                           Farm workers |        558        0.42       38.04

        Marine life cultivation workers |          1        0.00       38.04

                Nursery farming workers |         27        0.02       38.06

Supervisors of agricultural occupations |         85        0.06       38.13

           Gardeners and groundskeepers |        449        0.34       38.46

      Animal caretakers except on farms |         78        0.06       38.52

Graders and sorters of agricultural pro |         52        0.04       38.56

    Inspectors of agricultural products |          5        0.00       38.56

  Timber, logging, and forestry workers |         64        0.05       38.61

          Fishers, hunters, and kindred |         40        0.03       38.64

 Supervisors of mechanics and repairers |        105        0.08       38.72

                   Automobile mechanics |        430        0.32       39.04

Bus, truck, and stationary engine mecha |        194        0.15       39.19

                     Aircraft mechanics |         59        0.04       39.23

                 Small engine repairers |         24        0.02       39.25

                    Auto body repairers |         99        0.07       39.32

Heavy equipment and farm equipment mech |         91        0.07       39.39

         Industrial machinery repairers |        252        0.19       39.58

      Machinery maintenance occupations |          7        0.01       39.58

Repairers of industrial electrical equi |         92        0.07       39.65

 Repairers of data processing equipment |        146        0.11       39.76

Repairers of household appliances and p |         15        0.01       39.77

Telecom and line installers and repaire |        168        0.13       39.90

Repairers of electrical equipment, n.e. |         35        0.03       39.93

Heating, air conditioning, and refigera |        169        0.13       40.05

Precision makers, repairers, and smiths |         51        0.04       40.09

          Locksmiths and safe repairers |         25        0.02       40.11

 Office machine repairers and mechanics |         32        0.02       40.13

Repairers of mechanical controls and va |          9        0.01       40.14

      Elevator installers and repairers |         12        0.01       40.15

                            Millwrights |         45        0.03       40.18

        Mechanics and repairers, n.e.c. |        334        0.25       40.43

       Supervisors of construction work |        405        0.30       40.74

  Masons, tilers, and carpet installers |        205        0.15       40.89

                             Carpenters |        793        0.59       41.48

                     Drywall installers |        123        0.09       41.57

                           Electricians |        412        0.31       41.88

Electric power installers and repairers |         65        0.05       41.93

 Painters, construction and maintenance |        330        0.25       42.18

                           Paperhangers |         16        0.01       42.19

                             Plasterers |         39        0.03       42.22

Plumbers, pipe fitters, and steamfitter |        282        0.21       42.43

            Concrete and cement workers |         47        0.04       42.46

                               Glaziers |         16        0.01       42.48

                     Insulation workers |         36        0.03       42.50

Paving, surfacing, and tamping equipmen |         40        0.03       42.53

                    Roofers and slaters |        109        0.08       42.61

            Sheet metal duct installers |         15        0.01       42.63

               Structural metal workers |         43        0.03       42.66

                      Drillers of earth |         18        0.01       42.67

            Construction trades, n.e.c. |        140        0.10       42.78

                  Drillers of oil wells |         13        0.01       42.79

                     Explosives workers |          1        0.00       42.79

                                 Miners |         24        0.02       42.80

               Other mining occupations |         17        0.01       42.82

      Production supervisors or foremen |        562        0.42       43.24

    Tool and die makers and die setters |         53        0.04       43.28

                             Machinists |        249        0.19       43.46

                           Boilermakers |         11        0.01       43.47

          Precision grinders and filers |          9        0.01       43.48

         Patternmakers and model makers |          7        0.01       43.48

                        Lay-out workers |          1        0.00       43.48

                              Engravers |          6        0.00       43.49

Tinsmiths, coppersmiths, and sheet meta |         48        0.04       43.52

     Cabinetmakers and bench carpenters |         41        0.03       43.56

           Furniture and wood finishers |         17        0.01       43.57

            Other precision woodworkers |          5        0.00       43.57

           Dressmakers and seamstresses |         36        0.03       43.60

                                Tailors |         17        0.01       43.61

                           Upholsterers |         35        0.03       43.64

                         Shoe repairers |          6        0.00       43.64

Other precision apparel and fabric work |          7        0.01       43.65

Hand molders and shapers, except jewele |         66        0.05       43.70

                  Optical goods workers |         34        0.03       43.72

Dental laboratory and medical appliance |         25        0.02       43.74

                            Bookbinders |         20        0.01       43.76

      Other precision and craft workers |         11        0.01       43.76

              Butchers and meat cutters |        188        0.14       43.90

                                 Bakers |         83        0.06       43.97

                      Batch food makers |         40        0.03       44.00

              Adjusters and calibrators |          3        0.00       44.00

Water and sewage treatment plant operat |         44        0.03       44.03

                  Power plant operators |         14        0.01       44.04

Plant and system operators, stationary  |         52        0.04       44.08

       Other plant and system operators |         20        0.01       44.10

Lathe, milling, and turning machine ope |         24        0.02       44.11

 Punching and stamping press operatives |         52        0.04       44.15

Rollers, roll hands, and finishers of m |          4        0.00       44.16

  Drilling and boring machine operators |          9        0.01       44.16

Grinding, abrading, buffing, and polish |         47        0.04       44.20

             Forge and hammer operators |          4        0.00       44.20

  Fabricating machine operators, n.e.c. |          8        0.01       44.21

 Molders, and casting machine operators |         36        0.03       44.23

                          Metal platers |         15        0.01       44.25

      Heat treating equipment operators |          5        0.00       44.25

Wood lathe, routing, and planing machin |          6        0.00       44.25

   Sawing machine operators and sawyers |         41        0.03       44.28

Shaping and joining machine operator (w |          5        0.00       44.29

Nail and tacking machine operators  (wo |          3        0.00       44.29

    Other woodworking machine operators |         31        0.02       44.31

     Printing machine operators, n.e.c. |        164        0.12       44.44

       Photoengravers and lithographers |         17        0.01       44.45

            Typesetters and compositors |         10        0.01       44.46

Winding and twisting textile/apparel op |         29        0.02       44.48

Knitters, loopers, and toppers textile  |         10        0.01       44.49

      Textile cutting machine operators |          2        0.00       44.49

       Textile sewing machine operators |        277        0.21       44.69

           Shoemaking machine operators |          4        0.00       44.70

  Pressing machine operators (clothing) |         47        0.04       44.73

                        Laundry workers |        118        0.09       44.82

         Misc textile machine operators |         25        0.02       44.84

 Cementing and gluing maching operators |         15        0.01       44.85

         Packers, fillers, and wrappers |        200        0.15       45.00

Extruding and forming machine operators |         26        0.02       45.02

 Mixing and blending machine operatives |         65        0.05       45.07

Separating, filtering, and clarifying m |         32        0.02       45.09

             Painting machine operators |         95        0.07       45.16

Roasting and baking machine operators ( |          4        0.00       45.17

Washing, cleaning, and pickling machine |          3        0.00       45.17

        Paper folding machine operators |          9        0.01       45.17

Furnace, kiln, and oven operators, apar |         35        0.03       45.20

Crushing and grinding machine operators |         20        0.01       45.22

  Slicing and cutting machine operators |         84        0.06       45.28

          Motion picture projectionists |          3        0.00       45.28

           Photographic process workers |         55        0.04       45.32

              Machine operators, n.e.c. |        816        0.61       45.93

              Welders and metal cutters |        327        0.24       46.18

                              Solderers |         11        0.01       46.19

     Assemblers of electrical equipment |        808        0.60       46.79

Hand painting, coating, and decorating  |         13        0.01       46.80

     Production checkers and inspectors |        340        0.25       47.05

   Graders and sorters in manufacturing |         87        0.07       47.12

Supervisors of motor vehicle transporta |         44        0.03       47.15

   Truck, delivery, and tractor drivers |      1,909        1.43       48.58

                            Bus drivers |        284        0.21       48.79

        Taxi cab drivers and chauffeurs |        150        0.11       48.90

                 Parking lot attendants |         27        0.02       48.92

    Railroad conductors and yardmasters |         28        0.02       48.94

Locomotive operators (engineers and fir |         29        0.02       48.97

Railroad brake, coupler, and switch ope |          4        0.00       48.97

        Ship crews and marine engineers |         28        0.02       48.99

Operating engineers of construction equ |        146        0.11       49.10

Crane, derrick, winch, and hoist operat |         44        0.03       49.13

Excavating and loading machine operator |         48        0.04       49.17

       Misc material moving occupations |         51        0.04       49.21

                 Helpers, constructions |         21        0.02       49.22

                     Helpers, surveyors |         71        0.05       49.28

                  Construction laborers |        556        0.42       49.69

                     Production helpers |         47        0.04       49.73

Garbage and recyclable material collect |         28        0.02       49.75

Materials movers: stevedores and longsh |          9        0.01       49.75

                         Stock handlers |        580        0.43       50.19

         Machine feeders and offbearers |         47        0.04       50.22

 Freight, stock, and materials handlers |        401        0.30       50.52

Garage and service station related occu |         93        0.07       50.59

 Vehicle washers and equipment cleaners |        202        0.15       50.74

          Packers and packagers by hand |        210        0.16       50.90

          Laborers outside construction |        671        0.50       51.40

                               Military |        425        0.32       51.72

                                Unknown |     64,555       48.28      100.00

----------------------------------------+-----------------------------------

                                  Total |    133,710      100.00

 

. exit, clear