They ought to work, but they don't have that syntax.  /KEEP and
/DROP take a list of variables, not a list of expressions or
conditions on variables.

John Darrington <[email protected]> writes:

> According to the manual, the /KEEP and /DROP subcommands to SAVE should also 
> work.
>
> So if they don't, then please report it as a bug.
>
> J'
>
> On Fri, Aug 19, 2011 at 02:36:20PM +0100, Rob Malpass wrote:
>      Sorry folks - Select cases, unselected cases are deleted did the trick.
>      
>       
>      
>      Thx
>      
>      Rob
>      
>       
>      
>      From: [email protected]
>      [mailto:[email protected]] On Behalf Of 
> Rob
>      Malpass
>      Sent: 19 August 2011 14:19
>      To: [email protected]
>      Subject: Cleaning data - remove cases
>      
>       
>      
>      Hi all
>      
>       
>      
>      Sorry if this is obvious but I have looked in the manuals and I can't 
> find
>      what I'm after.
>      
>       
>      
>      My other post referred to a huge dataset I'm playing with.   Simple data
>      cleaning led me to find around 800 cases with bad data.   I can filter 
> them
>      but I can't find a command anywhere to drop them.   It's been a few years
>      since I used SPSS but the standard procedure was to do something like:
>      
>      SAVE OUTFILE="xyz"
>      
>                  /KEEP filter_$="OK"
>      
>       
>      
>      There doesn't seem (please tell me if I'm wrong) to be a way to do this 
> in
>      PSPP.
>      
>       
>      
>      Cheers
>      
>      Rob
>      
>
>      _______________________________________________
>      Pspp-users mailing list
>      [email protected]
>      https://lists.gnu.org/mailman/listinfo/pspp-users

-- 
Ben Pfaff 
http://benpfaff.org

_______________________________________________
Pspp-users mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/pspp-users

Reply via email to