Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • help with zanthro

    I am trying to calculate z scores for children over 5 years of age using the WHO growth reference 2007. I am using a Mac. I installed zanthro and used the following command:

    . egen zhawho= zanthro(height, ha, WHO), xvar(ageinmonths) gender(sex) gencode(male=1, female=0) ageunit(month)

    and keep getting the error: "file "zlhagewho.dta" not found"

    I understand that there are ancillary files that must be installed and perhaps those are missing but I did not see a separate option to download them when I search for zanthro using findit.

    Does anyone know how to avoid the above error?

    Additionally, I was trying to rewrite the WHO 2007 ado file (attached) to run on my Mac with no success either, does anyone have any suggestions? I think I need to change the paths but not sure exactly what to do.
    Attached Files

  • #2
    I think I'd recommend a reinstall of -zanthro-. When I do -findit -zanthro-, there is "click here ..." links for both the installation files and the ancillary files. Also, I see there is an older version of -zanthro-, and you'll want to make sure you get the newer one. (My apologies if you've tried these simpler fixed, but it sounds like maybe the ancillary files didn't get installed right. I just installed both sets of files and I see that the file you mention is listed in the documentation as among the ancillary files.). If those things don't solve the problem, I'd suggest you post a small set example data set with -dataex- (ssc install dataex) so that one of us can reproduce your error.

    Comment


    • #3
      working now after the reinstallation, thanks!

      Comment

      Working...
      X