Вы находитесь на странице: 1из 4

H9.

h F'odP
$ Gac:arch gl'abel h.rc/xo

master
+'kl:'kaK'k'k+'k'k'k+aK'kaK':e'kaK'k+aK++++aK aK aKaKl€'k+'k'kltaKlt{ g l:$tRR 'k$co"-'kR'k'kl€'k'k'k'k'k'k'k'kaK'kaK'kl: :l q$

#THIS IS MASTER DO FILE FOR ANALYSING IFLS INTER-WAVES


+created and Modified by: wisnu Harto (wisnu.harto@yahoo.com) and ian Priebe
'ka.. iK l:aK'k'hora.. 'k'k+'k'kaKuK'k'k'k+'k'k'k'kaK'k'kaKaKiK %aK aK'hakan'k ge tqC'klc oKR'kaKoU'kq£+(+'k'k'k'klCuKq:'k'kq€aK€t'ki.eaK
+++DATA DESCRIPTION+++
# Raw file:
clean file:
Every Raw IFLS from RAND
on cleanedData Folder
LO C0' h'o£tC/ SM 9rveq PK.W
+ created file: on created Data Folder
+ Analyst s fi le : on Progress
# output file : Not Yet
J"- ]e 'k ]c 'k 'k & 'k 'k 'k 'k 'k + 'k 'k 'k 'k % aK'k e aK i.. i.. i.. 'k ]{ ]t Jn i.. aK JK + lc i.{ 1{ 'k aK l{ 'ka--ana..au+ : {aK'k'k'k'k'k aul 'k+ltl e:leak!{

clear
::il'H:f.':?r ' "'
''":;;'==
+'ka.. +a.. e'k % g{ ++'k+ 1{ qt'kaK'k q€ + aK RaK + k + ++

+ main i fl s
!C'k'k'k +'k'k'k'k ++'k $e'k + +'k'k'k R +'k + + l€ JK + +

gct'kk'k+aK+'kaKoK aKk'kaR'kanoKaKaK aUaKl{


;.~«
+A. FIXED SETTINGS
+'k'kaK'k %'k + +aK +a.. + %-!e +'kaK it l€'kaK aK ItaK $e'k

/+
#A.I SETTING WISNU (DO NOT CHANGE)
C9 #g]oba] v-- -." "c:
un].w '' --Po&"'f
'L ' drr L/e
Ue 7 , . ,
global home.4iiil)--p t~arr\a lni heJ c p n
.,tn'U€ drive
« rf-- r l
global path.htfl/TNP2K/raw d41B/iFLS
.Ar"'
'l +.«rfl€9 . ''77S€:E''iub-di rectory - raw data F,t"'' cDr«;
n}0
globa l path . wi f2 /TNP2K/ana]yfifZDi:ogramm] ng/iFLS
//set do'T] ]e for c] 6an]ng
global path wlf3/TNP2K/analyst s/data/IFLg
/TNP2K/analysis/data/lrLS
//set cleaned data
gl.obal pat;h:wi f4/TNP2K/anal ys] s/prog ramml ng/i FLS/Anal ys+ s.AI I Rounds
//set di)filefor .analyses ' ' ' // (

global path wi f5/TNP2K/anal ysi s/output/IFLS/Log/ /


//set for the log files
global path.w] f6/TNP2K/anal ysl s7output/ilLS/Tail es
'l P..«'J'3
//set output for tables b« k ,r. % ntaK
global path.wi f7/TNP2K/anal ysi s/output/IFLS/Graph
//set output for graphs
$'global path w+f8 /TNp2K/anajyfi s/prbgrammi ng/i fl s/meryl ng
//set merging dos /4
-./ /
+[:'kqt'k=KIKaKaKgeaKaK t] q€'kgc$eJ..JK]e$t$f'k$c'kkk
f'B . FLEXIBLE SETTINGS
++'k'k++'k$c+'k'k+++++'k aK ]e'k%t'kl€aKR
+B. I SETwi snu (OO NOT CHANGE/OELETE)
global drive $home if '' //CHANGE
NAMELETTERTO USER (w)
global did $path.wi fl //Directory
wnere orl gl na I data set is stored
1 - ' 'B

global dii;2 $path.wi f2 //Main


Directory DO
global dir3 $path.wi f3 ''
Data
global dir4 $path. wif4 Y.o
'"'
./ //cleaned
//Analyses
DO
global dir5 $path.wi f5 .//Output Log
global dir6 $path.wi f6 '' 'output
Page l
mactpr TFI q
Table
global di r7 ''$path.wi f7' //Output
Graph
#global di r8 ''$path.wi.f8''
g7obat who/TNP2K/rnwwl ata/WHO/chul d.anth ropomet ri cs // WHO Dataset Merging oa
'k $f 'k g{ 'k 'k aK+ 'k aKiK + + aK+ + 'k iK 'k + 'k 'k'k 'k + 'k 'k +

+B.2 SET INITIAL DIRECTORY


*/

!C'k'k'k+ =H i:iUaKaKaK+a..i..-k+RiK+aKaK+++'k'k+

++++ ]AN SETTINGS ++#'+++++

+A. FIXED SETTINGS


+C+'k'k'k$c+=KaK%=U+aaa..+ e'k'kk'k'k'k'k+

SETTING Jan (00 NOT CHANGE)

+global uni

soba j c
4 2.1.==-' drive
home.
lo e 1,€r '"
rproject/Data/indonesia/IFLS
glo112}bgttsiigliil rectory - raw data J
g[ abby path.j 2/project/TNP2KZa4a] ys] s/pfpgramm] ng/] FLS
//set do rl
ao file ie ror
for cleaning\x\
cleaning(\n 'pr OD\o-e
'n obrbP ' '+'
g[ oba] path.j 3/Proj ef:t/TNp21a7ana] ys] s/data/i FLS
//set cleaned data
global. path.j{ . ./project/TNp2K/analyst s/programme ng/iris/Analyst s.AI I .Rounds
//set do file for analyses
global path j 5 /project/TNp2K/analyst s/output/IFLSTLog
//s6t foi' the log files
global path.j 6/Proj ect/TNP2K/anal ysi s/output/iFl-S(tabs es
//set output for l:ailes
global path.j7/project/TNp2K/analyst s/output/ilLS
q //set output for graphs./A4 n«a mefg+zt:7
global who --p daf u agar ' /project/oata/WHO/STATA
fglobal path.j8/project/TNP2K/analyst s/programmeng/ifl s/merging
//set merging dos
merc i r\q fe,blah J:U,d<

#B . FLEXIBLE SETTINGS

+B.] SET ]an (DO NOT CHANGE/DELETE)

drive //CHANGE NAME LEGER TO USER (w)


dirt //oi rectory where original data set is stored
d{ r2 //Main oi rectory oo
dir3 //cleaned oata
global dir4 //Analyses DO
global dir5 //Output
//oUtPUt Log
LOg
global dir6 //output Tabs e
global dir7 //output Graph
Page 2
u-
,M~,{I. --, 6' 2r, - b
.(. £ "8.''. b
d «d. 'J.k4
;:iE '
mactpr ' TFI q

g'global d'ir8 '$path.j 8


//Merging oo

,,..4 Cha K9( drm(w ''


.;,.qr-'J"
cd $drive$di r2'1.
64r Iv'€,
qto bcU. dr'e o'b ry Z
r,- clear
caoture
rantii
P r clear matrix
a Pete.6 k,a£0 c,q--ro r ''":rc-:"e
set mem 800m
Cleat'' 1.:,mb''$o.T''!-".
.,.....
b.,'-'.:q.-'."- 'WH 8'SV.X..#l$g:b
**********,,
-:.I.**M'l;a--']
+cleaning DO caller
pro qr - n r"i'i
I/cleaning/clef .ni ng.IFLSI . do . .M«&"''
tXHk-
2/cleaning/clef ni ng.IFLS2 do'
irx ( 9ub..r
3/cleaning/clef ni ng.iFLS3 . do'
4/cleaning/clef n i ng.I FLs4 . do

/+
do $drive$dl r2\East\CPSP\CI eanl ng\cpsp\cleans ng IFLSe .do
do $drive$d[ r2\east\cPSP\c] eani n6\cpsp\c]eani ng merge IFLSe.hh] nd. do
do $drive$di r2\East\cpsP\cleaning\cpsp\anacpsp . do
*/
/+ The Fifth wave (2011) and ILLS East still on Pragressw/

y'creating Files DO - caller


k $('k + + lc'k + + + + % +'k'k'k'k'k'k'k'k le'k qt'k +'l{ !e

do " $d ri verdi r2/IFLSI/created/cr.iFLSI . do


//First wave (1993)
do "$drive$di r2/IFLS2/created/cr.IFLS2 . do h.,4}.,'A ''
//second wave (1997)
do "$drjve$dl r2/irLs3/created/cr.iFLs3
//Th] rd wave (2000)
.do «1 5*'"
do "$drive$di r2/rFLS4/created/cr irLs4.do
//Fourth wave (2007)
'k+k'k+'k'k'k iKlcaK k'k'k'kaK+aKaK
gAnaly'is Files DO - caller CL , 7.,<'
do "$drjve$d] r2/irLSI/Analyst s/ana.ZFLSI.do
//First wave (1993)
do "$drive$d] r2/IFLS2/Ana]ys] s/anaIFLS2 .do
//second wave (1997) Yua51-
e r' .Ct'eq,n .'a'#©
do "$dr]ve$di
//Third
r2/IFLS3/Ana]ys]
wave (2000)
s/ana IFLS3 . do q'?.e,
do "$dr]ve$d] r2/rrLs4/Ana]ys] s/ana lrLs4.do clean .cabell}ng -' "e
//Fourth wave (2007)
Page 3
maste r.I FLS

capture log close


exit

Page 4

Вам также может понравиться