Number of all children under age 2 [message #13465] |
Tue, 07 November 2017 01:21 |
Didace
Messages: 1 Registered: October 2017 Location: South Korea
|
Member |
|
|
Hello.
I am working with the Rwanda DHS 2014-2015 data set, and I need to get the number of all children under age 2 (as in table 11.3, last column). However, I am getting a higher number (3348) compared to the number in the table (3222). I need assistance on this.
I have used the following syntax:
DATASET ACTIVATE DataSet1.
COMPUTE WGT=V005/1000000.
EXECUTE.
WEIGHT BY WGT.
COMPUTE Age_months=V008 - B3.
EXECUTE.
USE ALL.
COMPUTE filter_$=(Age_months < 24).
VARIABLE LABELS filter_$ 'Age_months < 24 (FILTER)'.
VALUE LABELS filter_$ 0 'Not Selected' 1 'Selected'.
FORMATS filter_$ (f1.0).
FILTER BY filter_$.
EXECUTE.
FREQUENCIES VARIABLES=filter_$
/ORDER=ANALYSIS.
Thank you.
|
|
|