The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in SPSS » Prevalence of disability and associated risk factors
Re: Prevalence of disability and associated risk factors [message #10650 is a reply to message #10647] Thu, 25 August 2016 10:33 Go to previous messageGo to previous message
npolle is currently offline  npolle
Messages: 6
Registered: August 2016
Location: MOMBASA, KENYA
Member
Thank you Bridgette for your response. Yes I have been able to match the numbers in table 3.1. However I have been unable to match the numbers in table 2.14. Maybe am not doing it correctly. I am using SPSS and here is the syntax I used:
*SELECTING MEMBERS OF AGE >=5.
COMPUTE filter_$=(HV105 >= 5).
VARIABLE LABELS filter_$ 'HV105 >= 5 (FILTER)'.
VALUE LABELS filter_$ 0 'Not Selected' 1 'Selected'.
FORMATS filter_$ (f1.0).
FILTER BY filter_$.
EXECUTE.
*SELECT VALID CASES IN THE VARIABLES SH29 SH25 SH27 SH24 SH26 SH28.
COMPUTE filter_$=(NVALID(SH25) and NVALID(SH29) and NVALID(SH27) and NVALID(SH24) and NVALID(SH26) and NVALID(SH28) ).
* DISTRIBUTION OF HOUSEHOLD MEMBERS OF AGE FIVE YEARS AND OVER BY THE DEGREE OF DIFFICULTY ACCORDING TO FUNCTIONAL AREA.
FREQUENCIES VARIABLES=SH29 SH25 SH27 SH24 SH26 SH28
/ORDER=ANALYSIS.

With this analysis i got a total number of individuals of 36585 instead of 35,226 as shown in table 2.14.
I will also appreciate if am shown how to construct the stratum variable using SPSS.
Thank you.
Nicholas.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Missing data is coded?
Next Topic: Using a sub-sample for analysis
Goto Forum:
  


Current Time: Sun Nov 27 06:33:34 Coordinated Universal Time 2022