The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Mortality » UNDER FIVE MORTALITY
Re: UNDER FIVE MORTALITY [message #15251 is a reply to message #15247] Tue, 19 June 2018 12:53 Go to previous messageGo to previous message
Trevor-DHS is currently offline  Trevor-DHS
Messages: 789
Registered: January 2013
Senior Member
The code I provided is a very simplistic program. The easiest way to produce results for separate subcategories is to run it separately for each individual category, selecting just the cases in the category. You could do this right after the "use" statement. Additionally, if you did not want results for 5 separate time periods, you could just run the most recent time period by changing forvalues period = 0/4 to forvalues period = 0.

The code below could also be rewritten to incorporate tabulating by background characteristics, but I don't have time to do that now, and this code was meant just to demonstrate the calculations and not really for production use.



 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: State wise childhood mortality rates by wealth quintile
Next Topic: Child Mortality Calculations
Goto Forum:
  


Current Time: Mon Apr 29 05:53:55 Coordinated Universal Time 2024