-------------------------------------------------------------------------------
log: :acomp hd (2001-02):save stuff here (temporary):soc180 proj3
secti
> on1.log
log
type: text
opened
on: 15 May 2003, 11:22:20
. 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 ernval
too many values
r(134);
. 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
. tabulate maritl
Marital Status p17
|
Freq.
Percent Cum.
---------------------------+-----------------------------------
married, spouse present | 55585 41.57 41.57
married, AF spouse present | 351
0.26
41.83
married, spouse absent | 1355 1.01 42.85
widowed | 6561 4.91 47.75
divorced | 9523 7.12 54.88
separated | 2097 1.57 56.44
never married | 58238 43.56 100.00
---------------------------+-----------------------------------
Total |
133710
100.00
. tabulate maritl [fweight=wgt2]
Marital Status p17
|
Freq.
Percent Cum.
---------------------------+-----------------------------------
married, spouse present |
112733750 41.26 41.26
married, AF spouse present | 658497 0.24 41.50
married, spouse absent | 2713867 0.99 42.49
widowed | 13630062
4.99
47.48
divorced |
19629420
7.18
54.67
separated |
4430097
1.62
56.29
never married |
119438128 43.71 100.00
---------------------------+-----------------------------------
Total | 273233821 100.00
. tabulate maritl, missing
Marital Status p17
|
Freq.
Percent Cum.
---------------------------+-----------------------------------
married, spouse present | 55585 41.57 41.57
married, AF spouse present | 351
0.26
41.83
married, spouse absent | 1355 1.01 42.85
widowed | 6561 4.91 47.75
divorced | 9523 7.12 54.88
separated | 2097 1.57 56.44
never married | 58238 43.56 100.00
---------------------------+-----------------------------------
Total |
133710
100.00
. tabulate maritl if age>17 & age< 24
[fweight=wgt2]
Marital Status p17
|
Freq.
Percent Cum.
---------------------------+-----------------------------------
married, spouse present | 2539709 11.15 11.15
married, AF spouse present | 106871 0.47 11.62
married, spouse absent | 143838 0.63 12.25
widowed |
15591 0.07 12.32
divorced |
175302 0.77 13.08
separated |
214439 0.94 14.03
never married |
19589359
85.97
100.00
---------------------------+-----------------------------------
Total | 22785109 100.00
. describe
Contains data from :AComp HD (2001-02):Save Stuff Here
(Temporary):cps_y2k_numeric.dta
obs: 133,710
vars:
39
30 May 2001 12:57
size: 9,493,410 (59.1% 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
. log close
log: :acomp hd (2001-02):save stuff here (temporary):soc180 proj3
section1.log
log
type: text
closed
on: 15 May 2003, 11:42:11
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
log: :acomp hd (2001-02):save stuff here (temporary):soc180 proj3 section1, 2nd.log
log
type: text
opened
on: 15 May 2003, 11:58:32
. tabulate citizen
citizenship p733 | Freq. Percent Cum.
----------------------------------+-----------------------------------
native
born in US |
116220
86.92 86.92
native, born in territories | 1090
0.82
87.73
native, born abroad of US parents |
976 0.73 88.46
foreign born,
naturalized | 5348 4.00 92.46
foreign born, non US citizen | 10076 7.54 100.00
----------------------------------+-----------------------------------
Total |
133710
100.00
. tabulate citizen, nolabel
citizenship |
p733 | Freq. Percent
Cum.
------------+-----------------------------------
1 | 116220 86.92 86.92
2 | 1090
0.82
87.73
3 |
976
0.73
88.46
4 | 5348
4.00
92.46
5 | 10076 7.54 100.00
------------+-----------------------------------
Total | 133710 100.00
. generate immigrant=1 if citizen<4
(15424 missing values generated)
. replace immigrant=2 if citizen>3
(15424 real changes made)
. tabulate citizen immigrant
|
immigrant
citizenship p733 | 1
2 | Total
----------------------+----------------------+----------
native born in US |
116220 0 | 116220
native, born in terri | 1090 0 | 1090
native, born abroad o | 976 0 | 976
foreign born, natural | 0 5348
| 5348
foreign born, non US | 0 10076 | 10076
----------------------+----------------------+----------
Total |
118286
15424 | 133710
. tabulate citizen immigrant, missing
|
immigrant
citizenship p733 | 1
2 | Total
----------------------+----------------------+----------
native born in US |
116220 0 | 116220
native, born in terri | 1090 0 | 1090
native, born abroad o | 976 0 | 976
foreign born, natural | 0 5348
| 5348
foreign born, non US | 0 10076 | 10076
----------------------+----------------------+----------
Total |
118286
15424 | 133710
. exit, clear