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);
Related Posts with WHO Anthro Macro files error message in calculating anthropometric z scores
Comparing two groups with if statementsDear all, For an assignment I am comparing means of willingness to pay (WTP) with willingness to pa…
Generating shares from a panel dataDear Statalist, I have a panel data for educational institutions and I need to write a code for the…
duplicates report function with more details and recommended ressoures for learning STATAHi, I am learning STATA and already acquired some basic knowledge of data processing, transformatio…
Help with test for trend in proportion using survey weightHi Statalist members, I am having difficulty with testing for trends in proportion using survey wei…
Merging individual-level administrative data setsI am combining multiple administrative data sets and would be happy to receive input on a sensible a…
Subscribe to:
Post Comments (Atom)
0 Response to WHO Anthro Macro files error message in calculating anthropometric z scores
Post a Comment