CTABLES syntax help

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

CTABLES syntax help

Dmitry Berman
Hello all,
 
I have a syntax writing question. At the moment I have this syntax:
 
/VLABELS VARIABLES=Action Issue DISPLAY labels
/TABLES Action [C] BY Issue [C] [COUNT F40.0]
/CATEGORIES VARIABLES = Actions [1,2,3,4,5,6,7, OTHERNM] EMPTY=INCLUDE TOTAL=YES POSITION=AFTER
/CATEGORIES VARIABLES = Issue ORDER = A KEY = VALUE EMPTY = INCLUDE
 
What I would like to do is write another command that looks at the total counts of "issues" and if the total count is less then 3 does NOT display that particular issue. Is there a way to do that? 
Reply | Threaded
Open this post in threaded view
|

Re: CTABLES syntax help

Jon K Peck

There is no censoring feature in CTABLES, but there is an extension command, SPSSINC CENSOR TABLE that can do things like this.  You can get it from SPSS Developer Central, www.devcentral.com.  It requires at least version 17 and the Python plug-in, but no Python knowledge is required to use it.

HTH,
Jon Peck
-----------------
Sent from my BlackBerry Handheld.


  From: Dmitry Berman [[hidden email]]
  Sent: 03/06/2010 01:39 PM ZE3
  To: [hidden email]
  Subject: [SPSSX-L] CTABLES syntax help


Hello all,
 
I have a syntax writing question. At the moment I have this syntax:
 
/VLABELS VARIABLES=Action Issue DISPLAY labels
/TABLES Action [C] BY Issue [C] [COUNT F40.0]
/CATEGORIES VARIABLES = Actions [1,2,3,4,5,6,7, OTHERNM] EMPTY=INCLUDE TOTAL=YES POSITION=AFTER
/CATEGORIES VARIABLES = Issue ORDER = A KEY = VALUE EMPTY = INCLUDE
 
What I would like to do is write another command that looks at the total counts of "issues" and if the total count is less then 3 does NOT display that particular issue. Is there a way to do that?