All properties
key |
content |
N |
21 |
N_unique |
21 |
class |
identifier |
example0 |
Connecticut |
freq |
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 |
label |
State |
type |
str13 |
values |
"Connecticut", "Illinois", "Indiana", "Iowa", "Kansas", "Maine", "Massachusetts", "Michigan", "Minnesota", "Missouri", "N. Dakota", "Nebraska", "New Hampshire", "New Jersey", "New York", "Ohio", "Pennsylvania", "Rhode Island", "S. Dakota", "Vermont", "Wisconsin" |
Estimations and Descriptive Statistics with state
file |
# |
command |
ch2.0.do:
|
43 [+]
|
list
region state pop
, sepby(region)
|
:
|
46 [+]
|
list
state region pop
in 1/5
All properties
key |
content |
command |
list |
in |
1/5 |
indent |
0 |
parameters |
state region pop |
|
:
|
47 [+]
|
list
state region pop
in -5/l
All properties
key |
content |
command |
list |
in |
-5/l |
indent |
0 |
parameters |
state region pop |
|
:
|
50 [+]
|
list
state region pop
in 1/5
All properties
key |
content |
command |
list |
in |
1/5 |
indent |
0 |
parameters |
state region pop |
|
:
|
54 [+]
|
list
state region pop medagel
, sep(0)
|
:
|
63 [+]
|
list
state pop smallpop largepop
, sep(0)
|
:
|
129 [+]
|
list
region state pop totpop
, sepby(region)
|
:
|
134 [+]
|
list
region state pop meanpop
, sepby(region)
|
:
|
141 [+]
|
list
region popsize state pop meanpop2
, sepby(region popsize)
|
ch3.01.do:
|
4 [+]
|
list
state pop
in 1/5
All properties
key |
content |
command |
list |
in |
1/5 |
indent |
0 |
parameters |
state pop |
|
:
|
5 [+]
|
list
state pop medage
if medage >= 32
|
:
|
8 [+]
|
describe
state stateid
All properties
key |
content |
command |
describe |
indent |
0 |
parameters |
state stateid |
|
:
|
9 [+]
|
list
state stateid
in 1/5
All properties
key |
content |
command |
list |
in |
1/5 |
indent |
0 |
parameters |
state stateid |
|
:
|
28 [+]
|
list
state medage pop
if newengland
, sep(0)
|
:
|
30 [+]
|
list
state medage pop
if inrange(pop, 5000, 9999)
, sep(0)
|
:
|
45 [+]
|
list
state pop avgpop popratio
if size == 0
, sep(0)
|
Data Manipulations with state
file |
# |
command |
ch2.0.do:
|
16 [+]
|
label
var state "State"
All properties
key |
content |
command |
label |
indent |
0 |
parameters |
var state "State" |
|
:
|
26 [+]
|
keep
state region pop popurb medage marr divr
|
ch3.01.do:
|
7 [+]
|
encode
state
, generate(stateid)
|
:
|
25 [+]
|
generate
byte newengland = inlist(state, "Connecticut", "Maine", ///
"Massachusetts", "New Hampshire", "Rhode Island", "Vermont")
-
generate byte newengland = inlist(state, "Connecticut", "Maine", ///
"Massachusetts", "New Hampshire", "Rhode Island", "Vermont")
|
-
-
Script Output
@freq 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
@values "Connecticut", "Illinois", "Indiana", "Iowa", "Kansas", "Maine", "Massachusetts", "Michigan", "Minnesota", "Missouri", "N. Dakota", "Nebraska", "New Hampshire", "New Jersey", "New York", "Ohio", "Pennsylvania", "Rhode Island", "S. Dakota", "Vermont", "Wisconsin"
@example0 Connecticut
@type str13
@label State
@class identifier
@N_unique 21
@N 21
|