VALUELABELS Subcommand (SIMPLAN command)

The VALUELABELS subcommand specifies value labels for simulated inputs and fixed inputs. It applies only in the case of simulating data without a predictive model.

VARIABLES
A list of variables to which the value labels are applied.
VALUES
A list of pairs that consist of a value followed by the associated label.
  • Each value label must be enclosed in quotation marks. For string variables, the values themselves must also be quoted.
  • Value labels can contain any characters, including blanks.
  • To enter an apostrophe as part of a label, enclose the label in double quotation marks or enter two apostrophes (two single quotation marks).
  • Each value label can be up to 120 bytes long.
  • To continue a label from one command line to the next, specify a plus (+) sign before the continuation of the label. Each string segment of the label must be enclosed in quotation marks. To insert a blank between the strings, the blank must be included in the label specification.
  • To control line-wrapping of labels in pivot tables and charts, insert \n as part of the label wherever you want a line break. The \n is not displayed in output; it is interpreted as a line-break character.
    Note: Labels always wrap wherever \n occurs in the defined label even if there is enough space to display the label without wrapping.

Example

/VALUELABELS VARIABLES=vehicletype VALUES= 0 'economy' 1 'compact' 2 'midsize' 3 'standard' 4 'fullsize'