Vitamin A supplements in last 6 months [message #16724] |
Sun, 24 February 2019 08:33 |
govind@iips.net
Messages: 5 Registered: February 2018 Location: Mumbai
|
Member |
|
|
Dear All,
I want to estimate the per cent of children 6 to 59 months with vitamin A supplementation using India's NFHS-4 data. I tried to calculate, but the estimate is not matching with the reported figure (as given table no. 10.17 in the report). It is 59.5% in the report, however, I am getting 58.8 % using below mentioned codes
gen agemonths = v008 - b3
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
Please let me know, where I am doing the mistake.
Thanks.
Govind
|
|
|
Re: Vitamin A supplements in last 6 months [message #18924 is a reply to message #16724] |
Fri, 20 March 2020 10:45 |
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]
|
|
|
|