The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Nutrition and Anthropometry » producing HAZ distributions
Re: producing HAZ distributions [message #15245 is a reply to message #15196] Tue, 19 June 2018 09:46 Go to previous messageGo to previous message
Liz-DHS
Messages: 1516
Registered: February 2013
Senior Member
A response from Technical Specialist, Dr. Shireen Assaf:
Quote:

Dear Theo,

In Stata, you can show the histograms side by side using the hist command with the by option. To do this you would need to append the PR files from different years and create a year variable. The you can use the following command: hist haz, by(year)
Also, there is an alternative suggestion described in the links below. You would also need to append the PR files from different years before attempting this.
https://stats.idre.ucla.edu/stata/faq/how-can-i-overlay-two- histograms/
https://www.stata.com/new-in-stata/transparency-in-graphs/

Be sure to replace any values greater than 600 for the haz (hc70), waz (hc71), and whz (hc72) before plotting the histogram

Best,

Shireen Assaf
Technical Specialist
The DHS Program

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Mother's Nutritional Status.
Next Topic: Conindex results not matching.
Goto Forum:
  


Current Time: Sun Apr 28 18:43:23 Coordinated Universal Time 2024