-------------------------------------------------------------------------------
log: :acomp hd (2001-02):desktop folder:first
class log.log
log type: text
opened on: 13 May 2002, 11:29:23
. describe
Contains data from :AComp HD (2001-02):Desktop
Folder:cps_y2k_numeric.dta
obs: 133,710
vars: 39 30 May 2001 12:57
size: 9,493,410 (47.6% 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
-------------------------------------------------------------------------------
Sorted by:
race
. *describe gives you a simple description of the dataset
and its variables.
. 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 vet
veteran status
p21 | Freq. Percent Cum.
-----------------------+-----------------------------------
children or current AF | 30904 23.11 23.11
Vietnam | 3683 2.75 25.87
Korea | 1716 1.28 27.15
WWII | 2428 1.82 28.97
Other
Service | 3830 2.86 31.83
Non
Veteran | 91149 68.17 100.00
-----------------------+-----------------------------------
Total | 133710
100.00
. *Note that I have added labels to the veteran variable
. tabulate vet, nolabel
veteran |
status p21 | Freq.
Percent Cum.
------------+-----------------------------------
0 |
30904 23.11 23.11
1 | 3683 2.75 25.87
2 | 1716 1.28 27.15
3 | 2428 1.82 28.97
5 | 3830 2.86 31.83
6 | 91149
68.17 100.00
------------+-----------------------------------
Total | 133710
100.00
. tabulate vet if age>21
veteran status
p21 | Freq. Percent Cum.
-----------------------+-----------------------------------
children or current AF | 387 0.43 0.43
Vietnam | 3683 4.09 4.52
Korea | 1716 1.90 6.42
WWII | 2428 2.69 9.11
Other
Service | 3800 4.22 13.33
Non
Veteran | 78121 86.67 100.00
-----------------------+-----------------------------------
Total | 90135 100.00
. tabulate vet if age>19 & age <30
veteran status
p21 | Freq. Percent Cum.
-----------------------+-----------------------------------
children or current AF | 158 0.92 0.92
Other
Service | 471 2.74
3.67
Non
Veteran | 16530 96.33 100.00
-----------------------+-----------------------------------
Total | 17159 100.00
. 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 race [fweight=wgt2]
p25 | Freq.
Percent Cum.
------------+-----------------------------------
White | 224256269 82.07
82.07
Black | 35370557 12.95 95.02
Amer Indian |
2837831 1.04 96.06
Asian | 10769164 3.94 100.00
------------+-----------------------------------
Total | 273233821
100.00
. summarize ernval
Variable | Obs
Mean Std. Dev. Min Max
-------------+-----------------------------------------------------
ernval | 133710
15358.07 26895.05 -9999
362302
. summarize ernval
if age>19 & age <65
Variable | Obs
Mean Std. Dev. Min Max
-------------+-----------------------------------------------------
ernval | 77636
25435.37 30730.3 -9999
362302
. summarize ernval
if age>19 & age <65 & ernval>0
Variable | Obs
Mean Std. Dev. Min Max
-------------+-----------------------------------------------------
ernval | 64007
30875.49 31251.57 1
362302
. summarize ernval
[fweight=wgt2] if age>19 & age <65 & ernval>0
Variable | Obs
Mean Std. Dev. Min Max
-------------+-----------------------------------------------------
ernval |
1.3e+08 31819.05 32034.56 1
362302
. exit, clear