The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in SPSS » Calculating cases for IYCF
Re: Calculating cases for IYCF [message #14981 is a reply to message #14971] Wed, 23 May 2018 09:24 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3203
Registered: February 2013
Senior Member
Following is a response from DHS Technical Specialist, Rukundo Benedict:

Dear User,

I suspect the issue may have to do with the age calculation. For age in the 2015-16 Malawi DHS, you should use the b19 variable as follows:

* keep only children less than 2 years -->N.B.from 2016 surveys onwards use the b19 variable for age* 
gen age=b19
keep if age<24
* keep last born children
keep if bidx==1
ta age [iw=wgt]

The above should select the correct sample and assuming your other code is correct, you will match the report.

 
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
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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Selecting one child per mother
Next Topic: Postnatal care utilization variable in 2015-2016 MDHS dataset
Goto Forum:
  


Current Time: Sun Dec 8 00:30:47 Coordinated Universal Time 2024