The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in SPSS » Data selection in SPSS (In complex sample selected cases are not executing)
Data selection in SPSS [message #17958] Fri, 26 July 2019 13:30 Go to next message
Tanjila Taskin is currently offline  Tanjila Taskin
Messages: 1
Registered: July 2019
Hi DHS team,

I am working on multi-country samples. I am using SPSS. I would like to select "country 1" so I did data- select cases-if country =1. After this commend, my data has been selected only for the country 1. I have adjusted for weight, PSU and Strata. I would like to see the numbers across different DHS with my indicator. So I did cross tab in the complex sample. But unfortunately while doing the cross tab, only one DHS data is coming even the data selection has performed correctly. Instead of a weighted sample, if I use the unweighted samples and do the cross tab under descriptive, all the DHS years are coming. Does anyone have any idea what mistakes I am doing?

My other countries cross tab is coming perfectly across different DHS years with the weighted samples. In the same data set, I am having difficulties with country 1.

Can anyone please help with the situation?


Re: Data selection in SPSS [message #17983 is a reply to message #17958] Fri, 09 August 2019 14:31 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3066
Registered: February 2013
Senior Member

Following is a short response from Senior DHS Data Processing Specialist, Ladys Ortiz:

You should use the "filter by" or "temporary" command to select/filter cases. If this does not help, you can include your code in the next post.
Previous Topic: complex sample
Next Topic: Multilevel analysis
Goto Forum:

Current Time: Wed May 29 20:36:47 Coordinated Universal Time 2024