Date: Tue, 22 Jul 2003 13:15:58 -0400
Reply-To: "Johnson, Wendy SBCCOM(N) (PKI)"
<Wendy.Kullen.Johnson@US.ARMY.MIL>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: "Johnson, Wendy SBCCOM(N) (PKI)"
<Wendy.Kullen.Johnson@US.ARMY.MIL>
Subject: Re: Select Cases
Content-Type: text/plain; charset="iso-8859-1"
Sure, you can do it at once.
If you're using the menus:
Data --> Select Cases
Choose "If condition is satisfied"
Click "IF"
In the box to the right of the variable list, type something like:
(startwrk = 1998) and (occupation = "dentist") and (married = "yes")
If you're typing the syntax:
USE ALL.
COMPUTE filter_$=((startwrk = 1998) and (occupation = "dentist") and (married = "yes")).
FILTER BY filter_$.
EXECUTE .
HTH,
~Wendy.
-----Original Message-----
From: Rob Morrow [mailto:Morrow.RO@forces.gc.ca]
Sent: Tuesday, July 22, 2003 12:41 PM
To: SPSSX-L@LISTSERV.UGA.EDU
Subject: Select Cases
When using 'Data' --> 'Select Cases', it seems that you can only select one
variable. Is there a way to simultaneously select up to three variables.
For example I want to select the people who started working in 1998, who
work in a particular occupation and who are married. Can I do it all at
once or do I have to select them one-at-a-time until I get to the cases I am
looking for? Any help would be appreciated.
Major Rob Morrow
Acting Research Coordinator - Social Policy
Directorate of Human Resources Research and Evaluation (A/DHRRE 3)
Phone: 011 613 996-0135 FAX: 011 613 995-2701
E-mail: Morrow.RO@forces.gc.ca
Website: http://hr.dwan.dnd.ca/dhrre/engraph/home_e.asp