All variables with the name pop
Variable |
Graph |
Type |
N |
Descriptives |
Label |
[+]
pop
@airquality.dta |
|
identifier
(float)
|
41
(41)
|
|
Population
|
All properties
key |
content |
N |
41 |
N_unique |
41 |
class |
identifier |
example0 |
582 |
histh |
.00119807, .00044373, .00008875, .00004437, .00004437 |
histw |
345.83334, 895.5, 1445.1666, 1994.8334, 3094.1667 |
label |
Population |
max |
3369.000 |
mean |
608.610 |
min |
71.000 |
sd |
579.113 |
type |
float |
Data Manipulations with pop
file |
# |
command |
-
-
Script Output
pop: Population Number of Observations
---------------- ------------------------------
Total Integers Nonintegers
| # Negative - - -
| # Zero - - -
| # Positive 41 41 -
| # ----- ----- -----
| # Total 41 41 -
| # # . . . Missing -
+---------------------- -----
71 3369 41
(41 unique values)
Variable | Obs Mean Std. Dev. Min Max
-------------+--------------------------------------------------------
pop | 41 608.6098 579.113 71 3369
@mean 608.610
@sd 579.113
@min 71.000
@max 3369.000
@example0 582
@histh .00119807, .00044373, .00008875, .00004437, .00004437
@histw 345.83334, 895.5, 1445.1666, 1994.8334, 3094.1667
@type float
@label Population
@class identifier
@N_unique 41
@N 41
|
[+]
pop
@census2.dta |
|
identifier
(long)
|
50
(50)
|
|
Population
|
All properties
key |
content |
N |
50 |
N_unique |
50 |
class |
identifier |
example0 |
3893888 |
histh |
1.685e-07, 7.823e-08, 1.805e-08, 1.805e-08, 6.017e-09, 6.017e-09, 6.017e-09 |
histw |
2063711.8, 5387433.5, 8711155, 12034876, 15358598, 18682320, 22006042 |
label |
Population |
max |
23667902 |
mean |
4.52e+06 |
min |
401851 |
sd |
4.72e+06 |
type |
long |
-
-
Script Output
pop: Population Number of Observations
---------------- ------------------------------
Total Integers Nonintegers
| # Negative - - -
| # Zero - - -
| # Positive 50 50 -
| # ----- ----- -----
| # Total 50 50 -
| # # . . . Missing -
+---------------------- -----
401851 2.37e+07 50
(50 unique values)
Variable | Obs Mean Std. Dev. Min Max
-------------+--------------------------------------------------------
pop | 50 4518149 4715038 401851 2.37e+07
@mean 4.52e+06
@sd 4.72e+06
@min 401851
@max 23667902
@example0 3893888
@histh 1.685e-07, 7.823e-08, 1.805e-08, 1.805e-08, 6.017e-09, 6.017e-09, 6.017e-09
@histw 2063711.8, 5387433.5, 8711155, 12034876, 15358598, 18682320, 22006042
@type long
@label Population
@class identifier
@N_unique 50
@N 50
|
[+]
pop
@census2b.dta |
|
identifier
(float)
|
49
(49)
|
|
|
All properties
key |
content |
N |
49 |
N_unique |
49 |
class |
identifier |
example0 |
3893888 |
histh |
1.630e-07, 7.847e-08, 1.811e-08, 1.811e-08, 6.036e-09, 6.036e-09, 6.036e-09 |
histw |
1690556.1, 5071686, 8452816, 11833946, 15215077, 18596206, 21977336 |
max |
2.37e+07 |
mean |
4.39e+06 |
min |
-9.000 |
sd |
4.83e+06 |
type |
float |
-
-
Script Output
pop: Number of Observations
------ ------------------------------
Total Integers Nonintegers
| # Negative 1 1 -
| # Zero 1 1 -
| # Positive 47 47 -
| # ----- ----- -----
| # Total 49 49 -
| # # . . . Missing 1
+---------------------- -----
-9 2.37e+07 50
(49 unique values)
Variable | Obs Mean Std. Dev. Min Max
-------------+--------------------------------------------------------
pop | 49 4392737 4832522 -9 2.37e+07
@mean 4.39e+06
@sd 4.83e+06
@min -9.000
@max 2.37e+07
@example0 3893888
@histh 1.630e-07, 7.847e-08, 1.811e-08, 1.811e-08, 6.036e-09, 6.036e-09, 6.036e-09
@histw 1690556.1, 5071686, 8452816, 11833946, 15215077, 18596206, 21977336
@type float
@label
@class identifier
@N_unique 49
@N 49
|
[+]
pop
@census2c.dta |
|
identifier
(double)
|
21
(21)
|
|
1980 Population, '000
|
All properties
key |
content |
N |
21 |
N_unique |
21 |
class |
identifier |
example0 |
3107.576 |
histh |
.00013409, .0000447, .0000447, .00001117 |
histw |
2642.283, 6903.937, 11165.591, 15427.245 |
label |
1980 Population, '000 |
max |
17558.072 |
mean |
5142.903 |
min |
511.456 |
sd |
4675.152 |
type |
double |
Estimations and Descriptive Statistics with pop
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)
|
:
|
57 [+]
|
summarize
medage
if pop > 5000
All properties
key |
content |
command |
summarize |
if |
pop > 5000 |
indent |
0 |
parameters |
medage |
|
:
|
63 [+]
|
list
state pop smallpop largepop
, sep(0)
|
:
|
95 [+]
|
describe
pop smallpop largepop popsize urbanized
|
:
|
117 [+]
|
tabstat
pop medage
, by(netmarr2x)
|
:
|
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)
|
:
|
156 [+]
|
summarize
pop
All properties
key |
content |
command |
summarize |
indent |
0 |
parameters |
pop |
|
:
|
159 [+]
|
mean
pop popurb
All properties
key |
content |
command |
mean |
indent |
0 |
parameters |
pop popurb |
|
ch3.01.do:
|
2 [+]
|
summarize
pop*
All properties
key |
content |
command |
summarize |
indent |
0 |
parameters |
pop* |
|
:
|
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
|
:
|
20 [+]
|
tabstat
pop
, stat(mean min max) by(size)
|
:
|
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 pop
file |
# |
command |
ch2.0.do:
|
17 [+]
|
label
var pop "1980 Population, '000"
All properties
key |
content |
command |
label |
indent |
0 |
parameters |
var pop "1980 Population, '000" |
|
:
|
26 [+]
|
keep
state region pop popurb medage marr divr
|
:
|
36 [+]
|
generate
urbanized = popurb / pop
|
:
|
52 [+]
|
generate
medagel = medage
if pop > 5000
All properties
key |
content |
command |
generate |
if |
pop > 5000 |
indent |
0 |
parameters |
medagel = medage |
|
:
|
60 [+]
|
replace
smallpop = 1
if pop <= 5000 & !missing(pop)
|
:
|
62 [+]
|
replace
largepop = 1
if pop > 5000 & !missing(pop)
|
:
|
67 [+]
|
generate
smallpop = (pop <= 5000)
All properties
key |
content |
command |
generate |
indent |
0 |
parameters |
smallpop = (pop <= 5000) |
|
:
|
68 [+]
|
generate
largepop = (pop > 5000)
All properties
key |
content |
command |
generate |
indent |
0 |
parameters |
largepop = (pop > 5000) |
|
:
|
71 [+]
|
generate
smallpop = (pop <= 5000)
if !missing(pop)
|
:
|
72 [+]
|
generate
largepop = (pop > 5000)
if !missing(pop)
|
:
|
92 [+]
|
label
variable smallpop "States with <= 5 million pop, 1980"
|
:
|
93 [+]
|
label
variable largepop "States with > 5 million pop, 1980"
|
:
|
128 [+]
|
by region:
generate
totpop = sum(pop)
|
:
|
133 [+]
|
by region:
egen
meanpop = mean(pop)
|
:
|
140 [+]
|
bysort region popsize:
egen
meanpop2 = mean(pop)
|
ch3.01.do:
|
17 [+]
|
generate
size=irecode(pop, 1000, 4000, 8000, 20000)
-
generate size=irecode(pop, 1000, 4000, 8000, 20000)
All properties
key |
content |
command |
generate |
indent |
0 |
parameters |
size=irecode(pop, 1000, 4000, 8000, 20000) |
|
:
|
42 [+]
|
bysort size:
egen
avgpop = mean(pop)
|
:
|
43 [+]
|
generate
popratio = 100 * pop / avgpop
All properties
key |
content |
command |
generate |
indent |
0 |
parameters |
popratio = 100 * pop / avgpop |
|
-
-
Script Output
pop: 1980 Population, '000 Number of Observations
--------------------------- ------------------------------
Total Integers Nonintegers
| # Negative - - -
| # Zero - - -
| # Positive 21 - 21
| # # ----- ----- -----
| # # Total 21 - 21
| # # # # . Missing -
+---------------------- -----
511.456 17558.07 21
(21 unique values)
Variable | Obs Mean Std. Dev. Min Max
-------------+--------------------------------------------------------
pop | 21 5142.903 4675.152 511.456 17558.07
@mean 5142.903
@sd 4675.152
@min 511.456
@max 17558.072
@example0 3107.576
@histh .00013409, .0000447, .0000447, .00001117
@histw 2642.283, 6903.937, 11165.591, 15427.245
@type double
@label 1980 Population, '000
@class identifier
@N_unique 21
@N 21
|
[+]
pop
@usairquality.dta |
|
identifier
(float)
|
41
(41)
|
|
Population
|
All properties
key |
content |
N |
41 |
N_unique |
41 |
class |
identifier |
example0 |
582 |
histh |
.00119807, .00044373, .00008875, .00004437, .00004437 |
histw |
345.83334, 895.5, 1445.1666, 1994.8334, 3094.1667 |
label |
Population |
max |
3369.000 |
mean |
608.610 |
min |
71.000 |
sd |
579.113 |
type |
float |
Data Manipulations with pop
file |
# |
command |
-
-
Script Output
pop: Population Number of Observations
---------------- ------------------------------
Total Integers Nonintegers
| # Negative - - -
| # Zero - - -
| # Positive 41 41 -
| # ----- ----- -----
| # Total 41 41 -
| # # . . . Missing -
+---------------------- -----
71 3369 41
(41 unique values)
Variable | Obs Mean Std. Dev. Min Max
-------------+--------------------------------------------------------
pop | 41 608.6098 579.113 71 3369
@mean 608.610
@sd 579.113
@min 71.000
@max 3369.000
@example0 582
@histh .00119807, .00044373, .00008875, .00004437, .00004437
@histw 345.83334, 895.5, 1445.1666, 1994.8334, 3094.1667
@type float
@label Population
@class identifier
@N_unique 41
@N 41
|