Date: Thu, 10 Jan 2008 17:09:47 -0500
Reply-To: Catherine Kubitschek <Catherine.A.Kubitschek.2@nd.edu>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Catherine Kubitschek <Catherine.A.Kubitschek.2@nd.edu>
Subject: Re: select cases from part of idnum variable
In-Reply-To: <47864C0A.7E13.0074.3@loyola.edu>
Content-Type: text/plain; charset="us-ascii"; format=flowed
Martin, a little more detail for the list might help.
IDNUM is a numeric not a string? What is the format - F8.0, N8?
Are all the IDNUM actually 8 digits long? Would 10101 be a possible IDNUM
or would it have to be 10101000 or 00010101? Would 10101.01 or 10101.1 be
valid?
Catherine
At 1/10/2008 04:47 PM, Martin Sherman wrote:
>Dear list: I have a large data set with a variable called IDNUM which has
>8 digits. I want to select those cases that start with 101, 102, 103,
>104, 105, 107, 114, 117, or 118. I don't care what numbers come after the
>first three. I check Raynald Levesque's site and could not find a syntax
>program for selecting cases based on the first three values of a numerical
>variable. Suggestions appreciated. thanks,
>
>
>
>Martin F. Sherman, Ph.D.
>Professor of Psychology
>Director of Masters Education: Thesis Track
>Loyola College
>Psychology Department
>222 B Beatty Hall
>4501 North Charles Street
>Baltimore, MD 21210
>
>410 617-2417 (office)
>410 617-5341 (fax)
>
>msherman@loyola.edu
>
>=====================
>To manage your subscription to SPSSX-L, send a message to
>LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the
>command. To leave the list, send the command
>SIGNOFF SPSSX-L
>For a list of commands to manage subscriptions, send the command
>INFO REFCARD
=====================
To manage your subscription to SPSSX-L, send a message to
LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
|