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
Using boottest after bootstrap clustering with 1000 replication ??I am using a diff-in-diff methodology on a cross-sectional data. I am first using bootstrap cluster…
Multiple Regression analysis: Explanatory Variable as percentageIn STATA when I do a regression analysis and the y variable is expressed in a percentage, I normally…
Why F-test is missing? Could you please help!Hi, I run some regressions, but the F-test is missing. I read some previous posts related to this i…
linear splines with knotsDear Stata users, I am trying to create the following graph using Stata. In this graph, hazard rati…
conditional rowtotalHello, I am trying to sum across columns only the 1s. I have tried egen pri_sum=rowtotal(pri_q1-pri…
Subscribe to:
Post Comments (Atom)
0 Response to WHO Anthro Macro files error message in calculating anthropometric z scores
Post a Comment