Date: Thu, 4 Oct 2007 09:57:44 -0700
Reply-To: Matthew Reeder <email@example.com>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Matthew Reeder <firstname.lastname@example.org>
Subject: Re: Exclude value from analysis
Content-Type: text/plain; charset=iso-8859-1
Can't just filter by it?
COMPUTE filter_$=(varname <> 6).
VARIABLE LABEL filter_$ 'Filter'.
VALUE LABELS filter_$ 0 'Not Selected' 1 'Selected'.
FORMAT filter_$ (f1.0).
FILTER BY filter_$.
Then when you're done...
FILTER OFF .
Rhonda Boorman <email@example.com> wrote:
This will be a simple one for you guys...I'm still a SPSS novice.
I've been given a data set for analysis with values on a rating scale of 1 to 6. However 6 value = not applicable. I thought I could include a line in my syntax that excludes cases with value 6 from my analysis (basic e.g. descriptive, ANOVA), but haven't been successful yet. Any suggestions?
Pinpoint customers who are looking for what you sell.