This section applies to actions in the following action sets: gam, mixed, modelMatrix, pca, phreg, pls, quantreg, regression, sandwich, and varReduce.
The class parameter names the classification variables to be used as explanatory variables in the analysis. These variables enter the analysis not through their values, but through levels to which the unique values are mapped. For more information about these mappings, see the section Levelization of Classification Variables.
If the action permits a classification variable as a response (dependent variable or target), the response does not need to be specified in the class parameter.
You can specify subparameters for one-or-more variables by specifying them in the class parameter, or as global-subparameters for all variables by specifying them in the classGlobalOpts parameter. Global-subparameters are applied to all variables that are specified in the class parameter. Subparameters specified for individual class parameters override the global-subparameters.
Table 1 summarizes the values you can use for either a subparameter or a global-subparameter. The subparameters are described in detail in the list that follows Table 1.
Table 1: Classification Variable Subparameters
| Subparameter | Description |
|---|---|
countMissing |
Treats missing values as valid levels |
descending |
Reverses the sort order |
ignoreMissing |
Honors nonmissing values even if an observation also has missing values |
levelizeRaw |
Bases levelization on unformatted values of the variable |
maxLev |
Specifies the maximum number of levels |
order |
Specifies the sort order for the levels |
param |
Specifies the parameterization of the variable |
ref |
Specifies the reference level of the variable |
split |
Splits levels of the classification variable into independent effects |
vars |
Specifies the classification variables |