Announcement

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

  • Generating z-scores for child malnutrition

    Hello everyone,

    I have an issue with z-score calculation for child malnutrition. I'm using old DHS datasets (1997) and the HAZ values are not provided, so I have to calculate on my own.
    I used zscore06 command, but the prevalence results are different from the report.

    I know there is another "zanthro" command in Stata, but I'm not sure how to use it.

    Can somebody help with the code or suggest any other way to calculate z-scores?

    Thank you

  • #2
    As you'd find it you googled it, z = (X - μ)/σ, so
    su x
    g z_x=(x - r(mean))/r(sd)

    Comment

    Working...
    X