The HPSAMPLE Procedure

CLASS statement

  • CLASS variable <variable ... variable>;

The CLASS statement specifies one or more classification variables to be included in the sample. At least one variable is required. A variable can be character or numeric. The CLASS and VAR statements are mutually exclusive.

Note: Each variable in the TARGET statement must be specified in the CLASS statement. And the order of Target variables in the output frequency table is the same as the order of these varibles specified in CLASS statement.