MEANS Procedure
WAYS Statement
Specifies the number of ways to make unique combinations
of class variables.
Syntax
Required Argument
- list
-
specifies one or more
integers that define the number of class variables to combine to form
all the unique combinations of class 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:
-
-
-
-
-
m1,m2, TO
m3 <BY
increment>,
m4
Range:0 to maximum number of class variables
See:WAYS option
Example:The following code is an example of creating two-way
types for the classification variables A, B, and C. This WAYS statement
is equivalent to specifying a*b, a*c, and b*c in the TYPES statement.
class A B C ; ways 2;
Copyright © SAS Institute Inc. All rights reserved.