Variable measurement level

You can specify the level of measurement as scale (numeric data on an interval or ratio scale), ordinal, or nominal. Nominal and ordinal data can be either string (alphanumeric) or numeric.

Note: For ordinal string variables, the alphabetic order of string values is assumed to reflect the true order of the categories. For example, for a string variable with the values of low, medium, high, the order of the categories is interpreted as high, low, medium, which is not the correct order. In general, it is more reliable to use numeric codes to represent ordinal data.

For new numeric variables created with transformations, data from external sources, and IBM® SPSS® Statistics data files created prior to version 8, default measurement level is determined by the conditions in the following table. Conditions are evaluated in the order listed in the table . The measurement level for the first condition that matches the data is applied.

Table 1. Rules for determining measurement level
Condition Measurement Level
All values of a variable are missing Nominal
Format is dollar or custom-currency Continuous
Format is date or time (excluding Month and Wkday) Continuous
Variable contains at least one non-integer value Continuous
Variable contains at least one negative value Continuous
Variable contains no valid values less than 10,000 Continuous
Variable has N or more valid, unique values* Continuous
Variable has no valid values less than 10 Continuous
Variable has less than N valid, unique values* Nominal

* N is a user-specified cut-off value. The default is 24.