Date: Wed, 23 Feb 2005 23:14:14 -0300
Reply-To: Guilherme Rabello <gcrabello@hotmail.com>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Guilherme Rabello <gcrabello@hotmail.com>
Subject: Re: help with syntax
In-Reply-To: <20050224014859.JGWL2026.tomts5-srv.bellnexxia.net@sousa>
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Hi Nancy,
I suggest a "compute" command if the variable is "numeric" defined in the
data file structure. The "old" variable holds your wrong values, the "new"
will hold the new, correct values.
********.
compute new=100+old.
execute.
********.
Guilherme.
>From: Nancy Sousa <nancy.sousa@sympatico.ca>
>Reply-To: Nancy Sousa <nancy.sousa@sympatico.ca>
>To: SPSSX-L@LISTSERV.UGA.EDU
>Subject: help with syntax
>Date: Wed, 23 Feb 2005 20:49:05 -0500
>
>Hello,
>
>
>
>I have a variable that has mistakenly been assigned values for labels of
>(1,
>2, 3, 4, 5.75); the values that should have been used are
>101,102,103,104,105.175
>
>For example, all cases that are 1 for this variable must now be changed to
>101. Would someone please help me write syntax? Also, as I am new to
>using
>syntax can anyone suggest a good book?
>
>
>
>Thanks
|