]]>
Here is some code to help match the Vitamin A indicator to the final report. In order to match, you also have to use the date of the supplementation according to the vaccination card.
gen wt= v005/1000000 gen agemonths = v008 - b3 *to match vitamin A to the report, need to convert month/year from vaccination card into CMC gen month = h33m if h33m<13 & h33m>0 gen year=h33y if h33y>2004 & 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 agemonths>5 & agemonths<60 [iw=wt]
Thanks,
Lindsay