Hi All,
I've used "zanthro" package to compute bmi z scores numerous times and I am using Stata 13. For some reason the command is skipping some of my observations despite those observations having complete data.
Below is the code that I use and I checked some of the obeservations and they all appear to have all the necessary data for zanthro to compute z-scores.
Is it possible that zanthro is not computing z-scores because the bmi variables are either too small or too large?
For example: one of the observations had a really low BMI=11 which was equal to 0 percentile according to the CDC growth chart.
I've used "zanthro" package to compute bmi z scores numerous times and I am using Stata 13. For some reason the command is skipping some of my observations despite those observations having complete data.
Below is the code that I use and I checked some of the obeservations and they all appear to have all the necessary data for zanthro to compute z-scores.
Is it possible that zanthro is not computing z-scores because the bmi variables are either too small or too large?
For example: one of the observations had a really low BMI=11 which was equal to 0 percentile according to the CDC growth chart.
Code:
egen bmi_z_5= zanthro(bmi_5,ba,US), xvar (chd_agey_5) gender(chd_sex) gencode(m=1, f=2) ageunit(year)
Comment