Filtering Cells with a Characteristic in SPSS

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Filtering Cells with a Characteristic in SPSS

chukks
I want to filter empty cells from a particular field (variable) while leaving filled cells intact. How do I do this?
Reply | Threaded
Open this post in threaded view
|

Re: Filtering Cells with a Characteristic in SPSS

Bruce Weaver
Administrator
One typically filters out entire cases (rows) based on the values of one or more variables (fields).*  Perhaps you could give a small example of what you want to do?


* Example:

COMPUTE f = { some condition involving one or more variables }.
USE ALL.
FILTER BY f. /* use only cases where the condition is true.

* Your analyses here.

USE ALL.
FILTER OFF. /* Turn off the filter.


chukks wrote
I want to filter empty cells from a particular field (variable) while leaving filled cells intact. How do I do this?
--
Bruce Weaver
bweaver@lakeheadu.ca
http://sites.google.com/a/lakeheadu.ca/bweaver/

"When all else fails, RTFM."

PLEASE NOTE THE FOLLOWING: 
1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above.
2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (https://listserv.uga.edu/).
Reply | Threaded
Open this post in threaded view
|

Re: Filtering Cells with a Characteristic in SPSS

Melissa Ives
In reply to this post by chukks
If you want to exclude the filled cells...
Compute filter=(sysmis(varname)).
If you want to exclude the blank cells...
  Compute filter=not (sysmis(varname)).
For either...
  Filter by filter.

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of chukks
Sent: Wednesday, July 03, 2013 12:54 AM
To: [hidden email]
Subject: [SPSSX-L] Filtering Cells with a Characteristic in SPSS

I want to filter empty cells from a particular field (variable) while leaving filled cells intact. How do I do this?



--
View this message in context: http://spssx-discussion.1045642.n5.nabble.com/Filtering-Cells-with-a-Characteristic-in-SPSS-tp5720979.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.

=====================
To manage your subscription to SPSSX-L, send a message to [hidden email] (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

PRIVILEGED AND CONFIDENTIAL INFORMATION
This transmittal and any attachments may contain PRIVILEGED AND
CONFIDENTIAL information and is intended only for the use of the
addressee. If you are not the designated recipient, or an employee
or agent authorized to deliver such transmittals to the designated
recipient, you are hereby notified that any dissemination,
copying or publication of this transmittal is strictly prohibited. If
you have received this transmittal in error, please notify us
immediately by replying to the sender and delete this copy from your
system. You may also call us at (309) 827-6026 for assistance.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (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