-------------------------------------------------------------------------------
       log:  C:\AAA Miker Files\newer web pages\soc_meth_proj3\class 3 log.smcl
  log type:  smcl
 opened on:  19 May 2003, 11:14:18

. use "C:\AAA Miker Files\newer web pages\soc_meth_proj3\cps_y2k_numeric.dta", > clear no room to add more observations An attempt was made to increase the number of observations beyond what is currently possible. You have the following alternatives:

1. Store your variables more efficiently; see help compress. (Think of Stata's data area as the area of a rectangle; Stata can trade off width and length.)

2. Drop some variables or observations; see help drop.

3. Increase the amount of memory allocated to the data area using the set memory command; see help memory. r(901);

. set mem 30m

Current memory allocation

current memory usage settable value description (1M = 1024k) -------------------------------------------------------------------- set maxvar 5000 max. variables allowed 1.733M set memory 30M max. data space 30.000M set matsize 400 max. RHS vars in models 1.254M ----------- 32.987M

. use "C:\AAA Miker Files\newer web pages\soc_meth_proj3\cps_y2k_numeric.dta", > clear

. describe

Contains data from C:\AAA Miker Files\newer web pages\soc_meth_proj3\cps_y2k_nu > meric.dta obs: 133,710 vars: 41 14 May 2003 11:59 size: 10,563,090 (66.4% of memory free) ------------------------------------------------------------------------------- storage display value variable name type format label variable label ------------------------------------------------------------------------------- phseq str5 %9s household sequence number p2 pernum byte %8.0g age byte %8.0g p15 maritl byte %26.0g marlbl Marital Status p17 sex byte %8.0g sexnm p20 vet byte %22.0g vetnm veteran status p21 hga byte %8.0g Educational Attainment p22 race byte %11.0g racenm p25 reorigin byte %8.0g Hispanic Origin p27 hrs1 byte %8.0g hours worked last week p76 clswkr byte %32.0g cwrknm sector of worker p109 grswk int %9.0g gross weekly wages p135 unmem byte %13.0g unnm labor union member p139 lfsr byte %28.0g lfsrnm labor force status p145 ernval float %9.0g main job last year earnings p228 ssval long %12.0g last year soc security payments p291 pawval int %12.0g last year welfare payments p305 wgt2 int %9.0g rounded weight based on p50 ernval2 float %9.0g main job earnings, losses recoded to zero htype byte %37.0g htpnm household type h25 state byte %8.0g HG-ST60, or simply state of residence h40 hpmsasz byte %8.0g metropolitan area size h56 hcccr byte %8.0g residence in central city h58 frelu18 byte %8.0g number of kids in fam under 18 f29 povll byte %8.0g ratio of fam income to poverty level f38 fwsval float %9.0g family income f48 famwgt2 int %8.0g adjusted family weight f233 yrsed float %9.0g years of education, from hga citizen byte %33.0g citnm citizenship p733 health byte %11.0g hlthnm self reported health status p800 occ int %8.0g occupation P 106 ptotr byte %8.0g total person income categories P466 penatvty int %8.0g country of birth P 722, Appendix H pemntvty int %8.0g Mother's country of birth, P725, appendix H pefntvty int %8.0g Father's country of birth, P728, appendix H peinusyr byte %8.0g time of immigration, P 731 pxnatvty byte %8.0g allocation flag for country of birth P 734 hgmsac int %8.0g metropolitan area code, h44, appendix E pppos2 byte %8.0g family sequence number within each household p46 edlvl float %16.0g edlabel 4 categories ed attainment immigrant float %9.0g immigrant_lbl ------------------------------------------------------------------------------- Sorted by: immigrant

. tabulate race

p25 | Freq. Percent Cum. ------------+----------------------------------- White | 113475 84.87 84.87 Black | 13626 10.19 95.06 Amer Indian | 1894 1.42 96.47 Asian | 4715 3.53 100.00 ------------+----------------------------------- Total | 133710 100.00

. tabulate reorigin

Hispanic | Origin p27 | Freq. Percent Cum. ------------+----------------------------------- 1 | 6447 4.82 4.82 2 | 384 0.29 5.11 3 | 8155 6.10 11.21 4 | 2280 1.71 12.91 5 | 943 0.71 13.62 6 | 3487 2.61 16.23 7 | 1863 1.39 17.62 8 | 108641 81.25 98.87 9 | 471 0.35 99.22 10 | 1039 0.78 100.00 ------------+----------------------------------- Total | 133710 100.00

. display (6447+384+8155)/ 133710 .11207838

. tabulate reorigin race

Hispanic | p25 Origin p27 | White Black Amer Indi Asian | Total -----------+--------------------------------------------+---------- 1 | 6337 29 73 8 | 6447 2 | 360 0 17 7 | 384 3 | 7970 55 109 21 | 8155 4 | 2057 169 19 35 | 2280 5 | 905 34 0 4 | 943 6 | 3206 238 12 31 | 3487 7 | 1652 171 15 25 | 1863 8 | 89551 12885 1646 4559 | 108641 9 | 461 2 0 8 | 471 10 | 976 43 3 17 | 1039 -----------+--------------------------------------------+---------- Total | 113475 13626 1894 4715 | 133710

. summarize hrs1 if age>20 & age<65

Variable | Obs Mean Std. Dev. Min Max -------------+----------------------------------------------------- hrs1 | 75914 30.04803 21.43048 -1 99

. tabulate clswkr

sector of worker p109 | Freq. Percent Cum. ---------------------------------+----------------------------------- not in universe, children, or AF | 64773 48.44 48.44 private | 51618 38.60 87.05 federal govt | 1763 1.32 88.37 state govt | 2884 2.16 90.52 local govt | 5235 3.92 94.44 self employed- incorporated | 2122 1.59 96.02 self employed, not incorp | 5042 3.77 99.80 unpaid | 71 0.05 99.85 never worked | 202 0.15 100.00 ---------------------------------+----------------------------------- Total | 133710 100.00

. tabulate unmem

labor union | member p139 | Freq. Percent Cum. --------------+----------------------------------- not in univ | 120249 89.93 89.93 Yes, in union | 1883 1.41 91.34 non-union | 11578 8.66 100.00 --------------+----------------------------------- Total | 133710 100.00

. tabulate lfsr

labor force status p145 | Freq. Percent Cum. -----------------------------+----------------------------------- children or AF | 30904 23.11 23.11 working | 62726 46.91 70.02 with job, not at work | 2340 1.75 71.77 unemployed, looking for work | 2478 1.85 73.63 unemployed, on layoff | 469 0.35 73.98 Not in Labor Force | 34793 26.02 100.00 -----------------------------+----------------------------------- Total | 133710 100.00

. tabulate htype

household type h25 | Freq. Percent Cum. --------------------------------------+----------------------------------- husband wife primary family | 87770 65.64 65.64 husband wife primary, AF | 1223 0.91 66.56 unmarried civilian male householder | 6436 4.81 71.37 unmarried civilian female householder | 19000 14.21 85.58 AF and unmarried | 15 0.01 85.59 civilian male nonfamily householder | 9345 6.99 92.58 civilian female nonfamily householder | 9797 7.33 99.91 nonfamily household, AF | 38 0.03 99.94 group quarters | 86 0.06 100.00 --------------------------------------+----------------------------------- Total | 133710 100.00

. tabulate health

self | reported | health | status p800 | Freq. Percent Cum. ------------+----------------------------------- Excellent | 46934 35.10 35.10 very good | 41175 30.79 65.90 good | 30730 22.98 88.88 fair | 10356 7.75 96.62 poor | 4515 3.38 100.00 ------------+----------------------------------- Total | 133710 100.00

. "C:\AAA Miker Files\newer web pages\soc_meth_proj3\Gender age earnings.gph" > "C:\AAA Miker Files\newer web pages\soc_meth_proj3\Gender age earnings.gph" unrecognized command: "C:\AAA Miker Files\newer web pa invalid command name r(199);

. graph "C:\AAA Miker Files\newer web pages\soc_meth_proj3\Gender age earnings > .gph" invalid varlist r(198);

. log close log: C:\AAA Miker Files\newer web pages\soc_meth_proj3\class 3 log.smcl log type: smcl closed on: 19 May 2003, 11:59:40 -------------------------------------------------------------------------------