Uloading
Uloading
This commit is contained in:
20
Chililabdata/GenASFR.do
Normal file
20
Chililabdata/GenASFR.do
Normal file
@@ -0,0 +1,20 @@
|
||||
clear all
|
||||
set memory 200M
|
||||
global year =2011
|
||||
global communeid = 0
|
||||
cd e:\chililabdata
|
||||
do genWomenBirths
|
||||
cd e:\chililabdata
|
||||
do genWomenInYear
|
||||
save WomenInYear, replace
|
||||
cd e:\chililabdata\data\birth
|
||||
use d:\chililabdata\data\cross\womeninyear
|
||||
merge agegrp using womenbirthyear
|
||||
drop if _merge == 2
|
||||
drop _merge
|
||||
gen asfr = births/women
|
||||
save asfr$year, replace
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user