The WAYS statement specifies the number of ways to make unique combinations of classification variables. You can use the TYPES statement to specify additional combinations of classification variables.
-
list
-
specifies one or more integers that define the number of classification variables to combine to form all the unique combinations
of classification variables. For example, you can specify 2 for all possible pairs and 3 for all possible triples. The list can be specified in the following ways:
The range of list is from 0 to the maximum number of classification variables.
The following statements are an example of creating two-way types for the classification variables A
, B
, and C
:
class A B C ;
ways 2;
The WAYS statement in this example is equivalent to specifying A*B
, A*C
, and B*C
in the TYPES statement.
Copyright © SAS Institute Inc. All Rights Reserved.