Next: Implicit Categories, Up: Per-Variable Category Options [Contents][Index]
To use CTABLES
to explicitly specify categories to include,
list the categories within square brackets in the desired sort order.
Use spaces or commas to separate values. Categories not covered by
the list are excluded from analysis.
Each element of the list takes one of the following forms:
A numeric or string category value, for variables that have the corresponding type.
A date or time category value, for variables that have a date or time print format.
A range of category values, where min and max each takes one of the forms above, in increasing order.
All user-missing values. (To match individual user-missing values, specify their category values.)
Any non-missing value not covered by any other element of the list (regardless of where OTHERNM is placed in the list).
A computed category name (see Computed Categories).
A subtotal (see Totals and Subtotals).
If multiple elements of the list cover a given category, the last one in the list takes precedence.
The following example syntax and output show how an explicit category can limit the displayed categories:
CTABLES /TABLE freqOfDriving. CTABLES /TABLE freqOfDriving /CATEGORIES VARIABLES=freqOfDriving [1, 2, 3].
|
Next: Implicit Categories, Up: Per-Variable Category Options [Contents][Index]