Dear All,
I tried using WHO Anthro files (from https://www.who.int/childgrowth/software/en/) with STATA for calculating anthropometric z scores. It was working fine until the last command line after placing all the relevant variables. Then, I got the error message as below. I have checked that the file weianthro.dta file does exist. Yet, the error message says it cannot find weianthro.dta file. It would be of great help if you can help me. I wrote to WHO anthro team and they usually take long time to get back.
//mac
adopath + "/Volumes/NO NAME/WHO igrowup STATA"
//mac
use "/Volumes/NO NAME/WHO igrowup workdata/myownsurvey(08 FEB 2019).dta"
/* generate the first three parameters reflib, datalib & datalab*/
gen str80 reflib="/Volumes/NO NAME/WHO igrowup STATA"
lab var reflib "Directory of reference tables"
gen str80 datalib="/Volumes/NO NAME/WHO igrowup workdata"
lab var datalib "Directory for datafiles"
gen str60 datalab="mysurvey"
lab var datalab "Working file"
/* define your ageunit *//* or gen ageunit="days" */
gen str6 ageunit="months"
lab var ageunit "=months"
igrowup_standard reflib datalib datalab gender agemons ageunit weight height measure head muac tri sub oedema sw
Please wait, programme is running.............
..............................................
file /Volumes/NO NAME/WHO igrowup STATA\weianthro.dta not found
r(601);
end of do-file
r(601);
0 Response to WHO Anthro Macro files error message in calculating anthropometric z scores
Post a Comment