Variable List (CSORDINAL command)

The variable list specifies the dependent variable with the categories order, the factors, and the covariates in the model.

  • The dependent variable must be the first specification on CSORDINAL.
  • The dependent variable can be numeric or string.
  • The CSORDINAL procedure sorts levels of the dependent variable in ascending or descending order. (If the dependent variable is a string variable, then the order is locale-dependent.)
  • Sorting order for the values of the dependent variable may be specified in parentheses immediately following the dependent variable.

    ASCENDING. Sort dependent variable values in ascending order. This is the default setting.

    DESCENDING. Sort dependent variable values in descending order.

  • 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.