Scale Variables (CTABLES command)

Scale variables, such as age in years or population of towns, do not define multiple cells within a table. The table expression /TABLE AGE creates a table with one cell containing the mean of AGE across all cases in the data. You can use nesting and/or dimensions to display summary statistics for scale variables within categories. The nature of scale variables prevents their being arranged hierarchically. Therefore:

  • A scale variable cannot be nested under another scale variable.
  • Scale variables can be used in only one dimension.

Example

CTABLES /TABLE AGE > HAPPY BY SEX.
Figure 1. Table of means for scale variable
Table of means for scale variable