CSLOGISTIC Variable List (CSLOGISTIC command)

The variable list specifies the dependent variable and reference category, the factors, and the covariates in the model.

  • The dependent variable must be the first specification on CLOGISTIC.
  • The dependent variable can be numeric or string.
  • The CSLOGISTIC procedure sorts levels of the dependent variable in ascending order and defines the highest level as the last level. (If the dependent variable is a string variable, the value of the highest level is locale-dependent.) By default, the highest response category is used as the base (or reference) category.
  • A custom reference category may be specified in parentheses immediately following the dependent variable.

    LOW. The lowest category is the reference category.

    HIGH. The highest category is the reference category. This setting is the default.

    value. User-specified reference category. The category that corresponds to the specified value is the reference category. Put the value inside a pair of quotation marks if the value is formatted (such as date or time) or if the dependent variable is of string type. Note, however, that this does not work for custom currency formats.

  • If a value is specified as the reference category of the dependent variable, but the value does not exist in the data, a warning is issued and the default HIGH is used.
  • The names of the factors and covariates, if any, follow the dependent variable. Specify any factors following the keyword BY. Specify any covariates following the keyword WITH.
  • Factors can be numeric or string variables, but covariates must be numeric.
  • Each variable may be specified only once on the variable list.
  • Plan file and subpopulation variables may not be specified on the variable list.