Date: Wed, 23 Feb 2005 11:49:40 +0100
Reply-To: Spousta Jan <JSpousta@csas.cz>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Spousta Jan <JSpousta@csas.cz>
Subject: Re: deleting single values
Content-Type: text/plain; charset="iso-8859-1"
And perhaps even better (because you avoid error messages and calls of log function) is:
recode var1 (8 = sysmis).
Jan
-----Original Message-----
From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU]On Behalf Of Hector Maletta
Sent: Wednesday, February 23, 2005 11:44 AM
To: SPSSX-L@LISTSERV.UGA.EDU
Subject: Re: deleting single values
One possibility is ordering an impossible operation for those values, such
as:
IF (VAR1=8)VAR1=LOG(-1).
As the logarithm of a negative number does not exist, the result will be
system missing.
Hector
> -----Original Message-----
> From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU]
> On Behalf Of Lorenz Dobler
> Sent: Wednesday, February 23, 2005 7:43 AM
> To: SPSSX-L@LISTSERV.UGA.EDU
> Subject: deleting single values
>
>
> Hello list,
>
>
>
> I want to delete single values from a numeric variable =>
> convert selected single values to system missing values. How
> can I do that via syntax ??
>
>
>
> Hope you can help
>
>
>
> Regards
>
>
>
> Lenz
>
>
>
> Dr. Lorenz Dobler
>
> Umweltprobenbank des Bundes - Teilbank Humanproben
>
> Domagkstrasse 11
>
> 48149 Münster
>
> Tel.: 0251/8352307
>
> FAX: 0251/55524
>
> email: <mailto:doblerl@uni-muenster.de> doblerl@uni-muenster.de
>
>
>
>
>