The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Child Health » Vitamin A supplements in last 6 months
Re: Vitamin A supplements in last 6 months [message #18924 is a reply to message #16724] Fri, 20 March 2020 10:45 Go to previous messageGo to previous message
mona
Messages: 5
Registered: January 2020
Member
Hi Govind,

I am facing the same issue. Were you able to resolve the problem? Using the following syntax I get 59.1%. It would be really great if you can get back with your experience on this.

gen age = v008 - b3


gen month = h33m if h33m<13
gen year=h33y if h33y <=2016
gen vacccmc = (year - 1900)*12 + month
gen last6 = v008 - vacccmc
gen lastva = 1 if last6<7

gen vita=0 if b5==1
replace vita=1 if h34==1
replace vita=1 if lastva==1

tab vita if age>5 & age<60 [iw=v005/1000000]
 
Read Message
Read Message
Read Message
Previous Topic: Double burden of malnutrition
Next Topic: Issues with the variable ml1 (fansidar)
Goto Forum:
  


Current Time: Fri Apr 26 23:35:19 Coordinated Universal Time 2024