Haiti DHS 2012 Vaccine Data [message #10726] |
Tue, 06 September 2016 12:16 |
evansan4
Messages: 1 Registered: September 2016
|
Member |
|
|
Hello,
I am trying to replicate the vaccine tables for DHS 2012 Haiti. Specifically for example "Percentage of children 12-23 months who had received BCG vaccination" and "Vaccinated by 12 months". My percentages are off by 1-2% in all columns by source of reporting (mom/vaccine card etc). I am using the KR file...
I weighed the data, and I took into account children who were no longer alive, and also took into account missing or incomplete data (by omitting them).
Is there something I am misinterpreting?
I used the code below in SPSS.
Compute rweight = V005/1000000.
WEIGHT by rweight.
**************Age in months (child is alive)****************.
do if B5=0.
Compute ageinmonths =98.
end if.
EXECUTE.
do if B5=1.
Compute ageinmonths = V008 - B3.
end if.
EXECUTE.
FORMATS ageinmonths (F2.0).
Variable label ageinmonths 'Age in months (only living children)'.
Value labels ageinmonths
98 'Not applicable'.
MISSING VALUES ageinmonths (98).
EXECUTE.
**************Compute age groups 0-11, 12-23, 24-56 (child is alive)****************.
recode ageinmonths (0 thru 11=1) (12 thru 23=2) (24 thru 60=3) (98=98) into age12to23.
exe.
FORMATS age12to23 (F2.0).
Variable label age12to23 'Age in months 3 categories (child is alive)'.
Value labels age12to23
1 "Age 0 to 11"
2 "Age 12 to 23"
3 "Age 24 to 60"
98 'Not applicable'.
MISSING VALUES age12to23 (98).
EXECUTE.
CROSSTABS
/TABLES=age12to23 BY H2
/FORMAT=AVALUE TABLES
/CELLS=COUNT ROW
/COUNT ROUND CELL.
EXECUTE.
[Updated on: Sun, 11 September 2016 12:15] Report message to a moderator
|
|
|