Uloading
Uloading
This commit is contained in:
21
Chililabdata/GenWomenInYear.do
Normal file
21
Chililabdata/GenWomenInYear.do
Normal file
@@ -0,0 +1,21 @@
|
||||
clear all
|
||||
set memory 200M
|
||||
global refdate = mdy(1,1,$year)
|
||||
cd e:\chililabdata\
|
||||
do genWomenBeginYear
|
||||
cd e:\chililabdata
|
||||
global refdate = mdy(12,31,$year)
|
||||
do genWomenEndYear
|
||||
|
||||
cd e:\chililabdata\data\cross
|
||||
use WomenBeginYear
|
||||
append using WomenEndYear
|
||||
sort agegrp
|
||||
collapse (mean) women, by (agegrp)
|
||||
replace women = floor(women)
|
||||
sort agegrp
|
||||
save WomenInYear, replace
|
||||
|
||||
cd e:\chililabdata
|
||||
|
||||
|
||||
Reference in New Issue
Block a user